Glam Prestige Journal

Bright entertainment trends with youth appeal.

I am trying to use nslookup to query google.com with 2001:4860:4860::8888, which is google IPv6 DNS. But I get no response, eg connection. always times out.

When I try same procedure just as DNS put 8.8.8.8, which is IPv4 DNS, everything works fine.

What I am missing here?

PS. I am using mac

EDIT:

nslookup google.com 8.8.8.8

gives output

Non-authoritative answer:
Name: google.com
Address: 216.58.212.46

but

nslookup google.com 2001:4860:4860::8844

gives output

;; connection timed out; no servers could be reached
9

1 Answer

Ok I managed to solve this. It was due to lack of understanding how IPv4 and IPv6 networks function.

I was connected to IPv4 wifi. Trying to nslookup with 8.8.8.8 would obviously work. But trying to access IPv6 DNS from IPv4 network does not work.

If I switch to IPv6 wifi, nslookup with 2001:4860:4860::8844 DNS will yield correct results. Also if I try nslookup with 8.8.8.8 it will also work, since I can access IPv4 DNS from IPv6 network.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy