Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

1 Answer 1

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 mydomain.com
    This will report the NS records that your local nameserver gets when it tries to resolve mydomain.com.

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.