Server Fault is a question and answer site for system and network administrators. 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 switched nameservers last night, but I don't know if it has fully made the switch yet.

I want to ping my domain name and see what nameservers it is set as...

share|improve this question

closed as not a real question by Wesley, Ward, rnxrx, Michael Hampton, John Gardeniers Oct 10 '12 at 11:12

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

There are two primary ways to do this, neither of which involves the ping tool.:

  1. Look at the whois data.
    This will typically include a section titled something like "Domains servers in listed order", which lists your nameservers.

  2. dig -t NS
    This will report the NS records that your local nameserver gets when it tries to resolve

Ideally these two lists should match exactly. If you recently switched name servers it may take some time before dig results agree with the whois data (however long it takes the NS records to expire from the caches along the way).

share|improve this answer

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