Re: IPV6 DNS query
On Thu, Mar 3, 2011 at 7:26 AM, Nate Bargmann <firstname.lastname@example.org> wrote:
> * On 2011 02 Mar 23:40 -0600, Tom H wrote:
>> On Wed, Mar 2, 2011 at 11:47 PM, elbbit <email@example.com> wrote:
>> > On 03/03/11 03:18, T o n g wrote:
>> >> So, how to do IPV6 DNS query?
>> > host -6 <hostname>
>> "host -6" (and "dig -6") use ipv6 to make the query but don't run an
>> ipv6 query (unless they do an aaaa query by default along the a query,
>> but not sure about this).
> I'm running DNSmasq as an IPv4 caching DNS on my OpenWRT router for my
> LAN and the -6 switch fails. Meanwhile, not using the -6 switch does
> resolve IPv6 host names. I guess I need to figure out how to teach
> DNSmasq to be an IPv6 DNS cache for my LAN as well.
I think that you've misunderstood what I said.
The "-6" is to force the query to use ipv6 networking so, if your
network isn't ipv6-enabled, the query will fail.
You can use ipv4 networking to query a server for an ipv6 address.