HowTo: Site-Local DNS Servers for Microsoft Clients
Shadow Hawkins on Monday, 29 June 2009 10:24:25
I finally set up a dual-stack DNS forwarder and resolver on my subnet. The forwarder is my primary DNS server and forwards to SixXS's resolvers while the other one recurses directly over IPv4 or IPv6. I had an idea about getting the Microsoft site-local preconfigured DNS addresses to work without much hassle.
I simply added one of the site-local addresses on each of my resolvers, and then on my IPv6 router--in my case a Linux PC running aiccu--I added routes to them.
Snippet of interfaces file from my recursive resolver box (afterwards I made sure my resolver was bound to the new address):
iface eth0 inet6 static
address 2001:4978:192::XXX
netmask 64
post-up /sbin/ip -6 addr add fec0:0:0:ffff::2/128 dev $IFACE || true
Snippet of my aiccu PC interfaces file:
iface eth0 inet6 static
address 2001:4978:192::XXX
netmask 64
post-up /sbin/ip -6 route add fec0:0:0:ffff::2/128 dev $IFACE || true
Since the router is the default route for the subnet, all clients on the network can reach fec0:0:0:ffff::2 with no further configuration. Note that the router doesn't even need an fec0:0:0:ffff::/64 address as it can find its neighbor over its link local address.
My forwarding resolver ( fec0:0:0:ffff::1 ) is in an OpenVZ VE on the aiccu PC, and it's IP and route are added by OpenVZ.
After ping-testing the new addresses I took my IPv4 DNS servers out of my Vista configuration and disabled/enabled the connection. ipconfig /all showed that my only DNS servers were fec0:0:0:ffff::1%1, fec0:0:0:ffff::2%1 and fec0:0:0:ffff::3%1. I tried pinging various places by name and found that name resolution works perfectly! Just to be sure, I shut down the OpenVZ forwarder ( fec0:0:0:ffff::1 ) and tried some more pings to different host names, and it still worked off the recursive resolver ( fec0:0:0:ffff::2 ).
So now a Microsoft IPv6 client can now use stateless autoconfiguration on my network and find the DNS servers without help.
HowTo: Site-Local DNS Servers for Microsoft Clients
Jeroen Massar on Monday, 29 June 2009 10:42:42
Can you use wireshark to check if DNS queries actually go over IPv6.
Vista&Windows 7 do have an IPv6 transport capable DNS server (thus that should work).
XP does not have an IPv6 transport capable DNS server.
All three can do DNS queries over IPv4 though.
HowTo: Site-Local DNS Servers for Microsoft Clients
Shadow Hawkins on Monday, 29 June 2009 14:36:03
All true. I probably should have said at first that there is no realized benefit from this, and in fact since Site Local Addressing is deprecated it's not the way to go, anyway. It would have continued to work just as well with having my local forwarder and resolver accessed via v4 locally. It's just the warm fuzzy feeling of knowing a Google request happened entirely over IPv6 transport.
HowTo: Site-Local DNS Servers for Microsoft Clients
Shadow Hawkins on Saturday, 18 July 2009 20:10:02
I have been running my Vista box with only the site-local DNS resolvers configured (no IPv4 resolvers) for about two and a half weeks. I ran into my first problem last night. I installed Second Life, and it quit with an error message that it could not start a DNS resolver. So I had to configure Vista with an IPv4 resolver for it two work. Nothing else has had that problem so far.
Posting is only allowed when you are logged in. |