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.

While there are a handful of tools that let you drop a list of domain names and return any DNS record pertaining to those domain names, I have not been able to find a tool that returns the DNS servers assigned to each domain.

Could someone recommend a tool that would accomplish this? Windows (preferably) or Linux (command line) would work.

Thanks!

PS: not sure if this Q fits here or prowebmaster... I apologize in advance if I chose the wrong stacksite.

share|improve this question
    
    
thank you david. –  Gaia Oct 26 '11 at 16:20
add comment

2 Answers

up vote 3 down vote accepted

Using the dig tool:

dig +nssearch google.com
share|improve this answer
1  
thanks, i am aware of dig, but that is not what I am looking for as I would have to script something to batch dig. –  Gaia Apr 29 '11 at 13:58
    
@Gaia: dig support multiple queries by default, but there is no real separation of what result goes with what query if you are looking at it programmatically. Try dig +nssearch google.com yahoo.com to see what I mean. If you are eyeballing it, though, it usually is fairly obvious. –  Reid Apr 29 '11 at 20:00
1  
@answered thanks! now i got what i need via a dig web interface –  Gaia Apr 29 '11 at 21:38
add comment

You could use nslookup set type=ns "domain" to query the name servers for a particular domain.

share|improve this answer
1  
thanks, i am aware of nslookup, but that is not what I am looking for as I would have to script something to batch nslookup. –  Gaia Apr 29 '11 at 13:58
add comment

Your Answer

 
discard

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.