Quantcast
Viewing all articles
Browse latest Browse all 60861

Re: Assigning IPv6 DNS servers to clients via DHCPv6?

Wow, I'm shocked that it still doesn't work. When I configured DNSMasq, my clients received their DNS servers as quickly as they received their IPv6 addresses. And I used different servers from my prior RDNSS setting to make sure it was DNSMasq pushing them out. Was radvd still configured and running? Can you post the resulting config?

 

DNSMasq is running anyways... it's the default DNS forwarder in EdgeOS.

 

The 'use-dnsmasq' option doesn't apply to IPv6. Enabling it will cause IPv4 DHCP to use DNSMasq instead of the ISC DHCP server.

 

 


sjjenkins wrote:

"dns forwarding" now looks like this:

 

forwarding {
            cache-size 1000
            listen-on eth0
            options enable-ra
            options dhcp-range=::,constructor:eth0,ra-stateless
            options dhcp-range=::,constructor:eth0.102,ra-statelss
            options dhcp-range=::,constructor:eth2,ra-stateless
            options dhcp-option=option6:dns-server,[2001:4860:4860::8888],[2001:4860:4860::8844]
        }

and all the previously-mentioned settings were removed, as suggested.

 

Rebooted router for good measure.

 

 

IPv6 working fine on all clients... but DNSv6 servers still don't show up in any of the clients.

 

Functionality seems identical to the "service dhcpv6-stateless" configuration tested just prior. This approach is fewer lines in the config file, but requires dnsmasq to be running.


Then I noticed that I have dnsmasq disabled for dhcp-server. Could that be affecting things? It didn't like it when I enabled it in the config file. No route to server for anything on the clients (IPv4 and IPv6).

 

Back to running the previously mentioned settings (service dhcpv6-stateless).


 


Viewing all articles
Browse latest Browse all 60861

Trending Articles