<div dir="ltr">Hey all,<div class="gmail_quote"><div dir="ltr"><div><br></div><div>I've setup a pihole on a different machine and am trying to make its link-local IPv6 address to be sent out as the RDNSS address in the RAs sent out by dnsmasq.</div><div><br></div><div>I currently receive an IPv6 prefix for my provider which I assign to the brlan interface and then use it in dnsmasq to send RAs to my local network.<br></div><div><br></div><div>I have this on my dnsmasq.conf file:</div><div><br>dhcp-option=lan,option6:dns-server,[fe80::5054:ff:fe7c:5c4a]<br>dhcp-option=lan,option6:domain-search,lan</div><div>dhcp-range=tag:brlan,::1,constructor:brlan,ra-names,12h</div><div><br></div><div>As I understood from the documentation, if I configure the DNS server and the domain search for DHCPv6 and enable RAs for my subnet I am supposed to receive as RDNSS whichever DNS server I have configured for DHCPv6 in the RA, however these are the RAs I get (captured through radvdump):</div><div><br></div><div>#<br># radvd configuration generated by radvdump 2.17<br># based on Router Advertisement from fe80::20d:b9ff:fe4c:ed41<br># received by interface wlp2s0<br>#<br><br>interface wlp2s0<br>{<br> AdvSendAdvert on;<br> # Note: {Min,Max}RtrAdvInterval cannot be obtained with radvdump<br> AdvManagedFlag off;<br> AdvOtherConfigFlag off;<br> AdvReachableTime 0;<br> AdvRetransTimer 0;<br> AdvCurHopLimit 64;<br> AdvDefaultLifetime 1800;<br> AdvHomeAgentFlag off;<br> AdvDefaultPreference medium;<br> AdvLinkMTU 1500;<br> AdvSourceLLAddress on;<br><br> prefix 2a04:4540:680d:6601::/64<br> {<br> AdvValidLifetime 43200;<br> AdvPreferredLifetime 43200;<br> AdvOnLink on;<br> AdvAutonomous on;<br> AdvRouterAddr off;<br> }; # End of prefix definition<br><br><br> RDNSS fe80::20d:b9ff:fe4c:ed41<br> {<br> AdvRDNSSLifetime 43200;<br> }; # End of RDNSS definition<br><br>}; # End of interface definition<br></div><div><br></div><div>I was expecting the RDNSS value to be fe80::5054:ff:fe7c:5c4a, however I only receive the default value, which is the gateway address.</div><div><br></div><div>Any idea of what I might be missing there? I'm using dnsmasq 2.76 on Debian Stretch.<br></div><div><br></div><div>Thanks!</div><div><br></div><div>-- <br></div><div>j.<br></div></div>
</div></div>