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.

link|improve this question

70% accept rate
See also stackoverflow.com/questions/3870090/… – David Freitas Oct 25 '11 at 14:59
thank you david. – Gaia Oct 26 '11 at 16:20
feedback

2 Answers

up vote 2 down vote accepted

Using the dig tool:

dig +nssearch google.com
link|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
feedback

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

link|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
feedback

Your Answer

 
or
required, but never shown

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