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

Just as the title reads: How do I discover what nameserver is the authoritative nameserver for PTR records for a specific IP?

share|improve this question
up vote 4 down vote accepted

Or another way using nslookup on an address in the subnet:

set type=ns

Which will give you a list of name-servers for that reverse-lookup domain.

share|improve this answer
Thanks, might need that someday. – CarpeNoctem Nov 29 '10 at 6:44
@sysadmin1138 That is extremely helpful. Do you know how to perform the same on the top half of, say, a /25 that is reassigned to another party? To elaborate, the command you have here will give you the name servers for the bottom /25, but getting the name servers for the top /25 is eluding me. We tried doing it like NSLOOKUP -type=NS but didn't have any luck. – Beems May 27 '15 at 22:22

Sorry it's kind of obvious, it's late give me a break.

dig will reply with the SOA if one has been assigned.

share|improve this answer is a great place - their free tool will show this - as well as some other information for who is responsible for the IP Space - in case you need abuse contact details.

Don't worry - we all know how those late nights go...

share|improve this answer

IF you are using Linux, try 'dig -x '.

share|improve this answer
Please read the question again if you could. I don't want to perform a reverse lookup. I want to know who the authoritative nameserver is given a specific delegation of IP space. – CarpeNoctem Nov 29 '10 at 6:37
dig -x would show you that, might not be the best solution but as far as I know it gives you the NS handling the address.<br>dig -x tells ns1 and dig SOA -x will show same information as a dig – 3molo Nov 29 '10 at 17:34

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.