I'm using the DnsQueryConfig Win32 function to get the DNS servers used by Windows. This works fine for IPv4 addresses, but what if the DNS servers have IPv6 addresses?
A:
Which version of Windows do you mean?
At least in Windows XP, there's no support for querying DNS servers over IPv6 transport, so the question is moot.
I don't know whether that's fixed in Vista.
Alnitak
2008-10-13 13:59:03
Vista supports querying DNS servers over IPv6, but I don't believe that actually helps the OP.
Brian Knoblauch
2008-12-18 15:25:01
A:
I'm not familiar with that Win32 function. If you want an IPv6 address, you need to look for a "AAAA" DNS record vs. a "A" record. Hopefully that helps some...
Brian Knoblauch
2008-12-18 15:25:46