This has been discussed in previous topics, but hoping I can get some clarifying information.
I originally had my network as IPv4 only. I have recently enabled IPv6, and I have reconfigured Pi-hole to include IPv6. In some previous posts it was mentioned that in the unbound configuration for do-ip6, you can either have this set to 'yes' or 'no'. From what I understand you can leave this to 'no' if you want ipv6 queries to be handled by IPv4? I currently have it set to 'no' and from what I can see it looks to be working.
Also, from some old posts on Reddit for the DNS settings in Pi-hole, you don't necessarily have to have a DNS set for IPv6 when using Unbound. I tried to add ::1#5335 to the IPv6 DNS, but get an invalid IP error.
When I do a dig request: dig AAAA ipv6.google.com @127.0.0.1 -p 5335
; <<>> DiG 9.11.5-P4-5.1+deb10u1-Raspbian <<>> AAAA ipv6.google.com @127.0.0.1 -p 5335
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51783
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1472
;; QUESTION SECTION:
;ipv6.google.com. IN AAAA
;; ANSWER SECTION:
ipv6.google.com. 27289 IN CNAME ipv6.l.google.com.
ipv6.l.google.com. 300 IN AAAA 2607:f8b0:4002:808::200e
;; Query time: 79 msec
;; SERVER: 127.0.0.1#5335(127.0.0.1)
;; WHEN: Thu Jul 30 12:36:50 EDT 2020
;; MSG SIZE rcvd: 93
With all of this being said, I'm assuming everything is working as expected, but I'm not savvy in a lot of this. Most of my knowledge is just from trying to read through other posts and user setups.