• Welcome to Hurricane Electric's IPv6 Tunnel Broker Forums.

[SOLVED] netsh: Including DNS in RA possible?

Started by tjeske, May 12, 2016, 01:12:09 PM

Previous topic - Next topic



for some time now I am using my Windows 10 machine to establish the tunnel. Since I am using quite a lot of Virtual Machines, I set Windows up to advertise the routed prefix to the local network of the virtual machines.

The problem seems to be that the Router Advertisements from the Windows computer don't include a DNS-server address. So I can ping IPv6 addresses just fine, but I cannot resolve domains/hostnames. I know that AAAA records are also delivered by IPv4-DNS-servers, I can also set the DNS of HE (2001:470:20::2) manually. But I'd prefer automatic.

Is there a configuration for netsh to advertise the DNS? I'd also be fine with a piece of software that does this. Only thing is I want to stick to SLAAC and not start setting up DHCPv6.


Ok, so I found out that what I want is "stateless DHCPv6". I guess this is beyond the capabilities of netsh. And I don't want to install a server OS either. What I found is "dibbler". This claims to support stateless DHCPv6. This is my dibbler server.conf:

log-level 8
log-mode full

iface "VirtualBox Host-Only Network"
option dns-server 2001:470:20::2

I just want to promote the DNS-server address. But it doesn't work. It doesn't see any requests from the linux guests, and the windows guests do "soliciting", and dibbler complains that this is a stateful request and therefor ignores it.
I am not sure and it is not very clear: is dibbler a server/client-thing? So do I need to run the dibbler-client on my guests? Why is it called DHCPv6 then? Because if it needs the client as well, it is something that just does the same, but in its own protocol.

EDIT: Aaaah, I am very sorry. I found the solution! The interface that is sending the RA has to tell the clients that "there is more", i.e. that it is not plain SLAAC, but that there is also stateless DHCPv6 (commonly referred to as the 'O'-flag). All I had to do is issue this command:

netsh interface ipv6 set interface "VirtualBox Host-Only Network" otherstateful=enabled

And then have dibbler run and the clients successfully take the DNS-address as advertised by dibbler!  8)