Hi, this is a generic question regarding a special configuration I have setup with my pihole v5, in which I disabled ipv6 router advertising using a dnsmasq.d file (/etc/dnsmasq.d/22-extra-options.conf) with the following config:
ra-param=*,0,0
This is the only change I made to dnsmasq, and I'm wondering if when I upgrade to pihole v6 will have to do something special to set up this config (pihole as ipv6 DNS but not router).
In pihole's settings click on basic and it will change to expert, then go to miscellaneous tab in all settings. Enable the option misc.etc_dnsmasq_d, and it will read config files from there as before.
The other option is to add those lines in the misc.dnsmasq_lines section in the same tab.
What's the purpose of that custom configuration?
As long as you won't tick Enable additional IPv6 support (SLAAC + RA), Pi-hole would not issue RAs anyway.
I have IPv6 enabled in my local network and my router is the one that routing traffic and my pihole just works as the local dns. I had to use that configuration, because my pihole was advertising as a router too (which is not). I noted this behavior since FTL v5.16.
Thanks, but the option in my install looks like "Enable IPv6 support (SLAAC + RA)" which I guess means if I disable it, I would not have IPv6. Or I'm missing something? btw... @Bucking_Horn I appreciate your patience...
No, disabling it means that Pi-hole won't advertise its own IPv6 as DNS server via RAs nor would it answer that to Stateless DHPCv6 requests.
That's only ever useful if your router would advertise its own IPv6 as local DNS server by default (as common), but only allows to disable RDNSS RAs altogether, instead of changing the IPv6 address to Pi-hole's.
However, you could also leave that option unticked if your router would already distribute your Pi-hole machine's IPv4 as DNS server via DHCP anyway.
Clients can requests AAAA records regardless of transport protocol.