Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

I'm having a problem with my machine. A site that I used to be able to access is no longer being found. After running nslookup, I notice that about 9 times out of 10 it returns a specific IP which times out if I ping it, but about 1 in 10 times it returns a different IP which works when I ping it.

I've even tried adding an option parameter into nslookup to hit different DNS servers (such as Google's public DNS) and am getting the same result.

Any idea what would cause the IP returned by DNS lookup to change back and forth like that?

share|improve this question

migrated from Mar 15 '11 at 22:39

This question came from our site for professional and enthusiast programmers.

Is it a server running something popular? Could this be DNS-based load balancing (gone terribly wrong)? – Matti Virkkunen Mar 14 '11 at 23:45

The DNS server sending you the result might be advertising different IPs for a bunch of reasons, e.g load balancing.

Turns out you don't have access to the one it sends for you.

use dig command and whois command on unix for more info on the DNS behavior of the target.

share|improve this answer

It is very likely configuration DNS. You can circumvent this on your end, however, by creating an entry in your hosts file for the domain in question.

Here is how to do that on windows:

On Mac OS X:

And on linux:

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .