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

my friend says this, but it doesn't work as it says "dig command not found"

dig ns <domain>
share|improve this question
up vote 1 down vote accepted

you can also try to use

host -t ns <domain>


nslookup -type=ns <domain>

maybe one of these commands is already installed on your system

share|improve this answer

You need to install bind-utils

yum install bind-utils
share|improve this answer
. . . and if he's running Windows? (All the world is not a Linux box) – voretaq7 Jun 14 '10 at 21:47
The tags identify Linux, albeit not the distribution. – Warner Jun 15 '10 at 2:46
And do all distributions (out of the box) support yum? There's also a unix tag, which again kills the notion of yum as a valid answer. – John Gardeniers Jun 15 '10 at 18:07

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.