<div dir="ltr"><div dir="ltr"><div>Just as a follow up of my own question, I was able to pinpoint the problem to an inconsistent usage of tags in my config. After fixing the tags as below everything worked as expected:</div><div><br></div><div><div>dhcp-option=lan6,option6:dns-server,[fe80::5054:ff:fe7c:5c4a]<br>dhcp-option=lan6,option6:domain-search,lan</div><div>dhcp-range=lan6,::1,constructor:brlan,ra-names,12h</div><div><br></div><div>Cheers,</div><div>j.<br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jul 13, 2019 at 5:33 PM jeduardo <<a href="mailto:j.eduardo@gmail.com">j.eduardo@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><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>
</blockquote></div><br></div>