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

I've lot of * domains requests in my OpenDNS account. I know this should be normal and it's about reverse DNS.

I've been reading here and there but still I can't really get how it works and why I get so much requests (higher number than'd just need someone that, like Einstein suggested, could explain to me what this reverse DNS is used for like he would explain it to his grandmother.

share|improve this question
up vote 17 down vote accepted

Reverse DNS is a mapping from an IP address to a DNS name. So it's like DNS, but backwards. If you are assigned IP addresses you have to setup reverse DNS to tell the world what the addresses are used for.

In practice, if you want to know what system is at you design what is called a reverse lookup by reverting the ip address and adding to it. So it looks like this: A PTR record should then tell you what system it is. The dig tool automates this with the -x switch.

pehrs$ dig -x

; <<>> DiG 9.6.0-APPLE-P2 <<>> -x
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49177
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 4

;    IN  PTR


;; AUTHORITY SECTION: 86400  IN  NS 86400  IN  NS 86400  IN  NS 86400  IN  NS

;; ADDITIONAL SECTION:     205358  IN  A     205358  IN  A     205358  IN  A     205358  IN  A

;; Query time: 63 msec
;; SERVER: x#53(x)
;; WHEN: Tue Jan  4 13:35:14 2011
;; MSG SIZE  rcvd: 204

Notice the PTR record. It tells us that is in fact

share|improve this answer

The short version is that reverse DNS is used to get a domain name from an IP address, while normal DNS is used to get an IP address from a domain name.

The way it actually works is that there's a dummy top-level domain called, and to find the domain name for IP address A.B.C.D, the DNS client does a lookup on There are various complicated rules for delegation of sub-domains of to ensure that those requests go to the correct place. The Wikipedia article is OK, although perhaps a little terse:

What it means to you is that if you own a block of IP addresses, and you want to be able to create reverse DNS records for those addresses so that their domain names can be looked up, you need to make sure that whoever you got the block from has set up an appropriate delegation so that you manage a sub-domain of and can thus create the appropriate DNS PTR records.

share|improve this answer
+1 for mentioning the dummy TLD .arpa, which is what confuses most people when talking about reverse DNS. – Massimo Jan 4 '11 at 12:45
Actually, there is nothing dummy about .arpa. It's a normal TLD, only that registration in .arpa is very limited. – pehrs Jan 4 '11 at 13:07
I know this thread is old, but could somebody clarify what it means to "own" a block of IP addresses? Is the owner considered to be the person who uses IP space (who could then manage the reverse lookup zones and PTR records in the same place that their name servers are configured for DNS host records) -- or is the owner considered to be the ISP who leases a block of IPs to a company/individual to be used for public endpoints (such as web servers, email servers, VPN endpoints, etc). To clarify my Q: does it matter WHERE public PTR records are managed? – SturdyErde May 12 '14 at 15:23
@SturdyErde It doesn't matter to whoever looks the name up. It could matter to you if you use the address space and want to make changes to the reverse zone. As for who owns the address space, I would say that whoever got the addresses assigned to them from the RIR (ARIN/RIPE/APNIC/...) owns them but they may of course still delegate further in DNS (e.g. to a customer of theirs) if they so desire. – Håkan Lindqvist Jul 16 '14 at 21:59
Thanks, @HåkanLindqvist. So if my organization gets a block of public IPs from an ISP, they own the IPs, but we are the delegate who can manage them where we see fit. My follow-up question is, can we as the delegate specify name servers and manage the reverse zone wherever we wish, or are we limited to making changes through the owner of the IPs? (Curious because an Exchange consultant made comments that made me question my understanding of where reverse zones can be managed.) – SturdyErde Jul 18 '14 at 14:42

Since you asked for use of reverse DNS, consider the following.

Someone wants to deliver an email to your mail server. It claims to be the server You can than use a reverse lookup to check whether his IP actually belongs to the address If not, you know that there is probably something wrong. If you can not even find a reverse entry, it is even more suspicious. (At least in the last situation the mail will probably be spam and be treated as such by many providers.)

The same holds for other connections as well. In fact, sshd will mark a connection attempt as POSSIBLE BREAK-IN ATTEMPT! if the reverse and forward entry do not match. The default behavior is to ignore it though.

share|improve this answer

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.