Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

the command:


doesn't work quite well. somtimes it returns an correct ipv6 address, sometimes it returns an ipv4 address. How can this happen?

[im using OpenDNS]

much thanks for help.

share|improve this question
can you add a copy/paste of the results you are seeing? – MattB May 7 '10 at 13:43
sorry MattB, it now returns correct ipv6 addresses. I only encountered this problem in some days earlier and i didn't save the result. – deo May 10 '10 at 2:15
up vote 2 down vote accepted

You might try forcing a AAAA query:

nslookup -type=aaaa

Also keep in mind that nslookup isn't very good at what it's supposed to do.

share|improve this answer
many thanks.So bad that nslookup is a flaw-ful tool – deo May 10 '10 at 2:14

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.