Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 12-10-2010, 05:22 AM   #1
Registered: Nov 2010
Posts: 93

Rep: Reputation: 0
Question what is need of reverse zone in dns?

hi everybody,
i am a newbie and i have successfully configured dns and its working well.Now i have removed reverse zone file and its entry in named.conf file.still everything is working fine.I want to know what is purpose of reverse zone file?
Old 12-10-2010, 05:33 AM   #2
Senior Member
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
A Google search yields this simple explanation:

Reverse lookup

In most DNS lookups, clients typically perform a forward lookup, which is a search based on the DNS name of another computer as stored in an address (A) resource record. This type of query expects an IP address as the resource data for the answered response.

DNS also provides a reverse lookup process, enabling clients to use a known IP address during a name query and look up a computer name based on its address. A reverse lookup takes the form of a question, such as "Can you tell me the DNS name of the computer that uses the IP address"

DNS was not originally designed to support this type of query. One problem for supporting the reverse query process is the difference in how the DNS namespace organizes and indexes names and how IP addresses are assigned. If the only method to answer the previous question was to search in all domains in the DNS namespace, a reverse query would take too long and require too much processing to be useful.

To solve this problem, a special domain, the domain, was defined in the DNS standards and reserved in the Internet DNS namespace to provide a practical and reliable way to perform reverse queries. To create the reverse namespace, subdomains within the domain are formed using the reverse ordering of the numbers in the dotted-decimal notation of IP addresses.

This reversed ordering of the domains for each octet value is needed because, unlike DNS names, when IP addresses are read from left to right, they are interpreted in the opposite manner. When an IP address is read from left to right, it is viewed from its most generalized information (an IP network address) in the first part of the address to the more specific information (an IP host address) contained in the last octets.

For this reason, the order of IP address octets must be reversed when building the domain tree. The IP addresses of the DNS tree can be delegated to companies as they are assigned a specific or limited set of IP addresses within the Internet-defined address classes.

Finally, the domain tree, as built into DNS, requires that an additional resource record (RR) type the pointer (PTR) RR be defined. This RR is used to create a mapping in the reverse lookup zone that typically corresponds to a host (A) named RR for the DNS computer name of a host in its forward lookup zone.
Old 12-10-2010, 08:30 AM   #3
Registered: Jan 2003
Location: Kingston, Jamaica
Posts: 444

Rep: Reputation: 41
The forward lookup zone resolves (translates) computer names to i.p. addresses.

The reverse lookup zone resolves i.p. addresses to computer names.

Reverse lookup zones are needed for some applications.

If you send email over the internet, you will need a reverse lookup record for your mail server. In order to detect spam, many mail servers will check to see if the i.p. address from which mail is being sent, corresponds to the email address from which the mail is being sent.

If you send mail from, these mail servers will want to verify that the i.p. address on the email resolves to

If the i.p. address does not match the domain name, or if it cannot be verified, they will reject the mail.

There may be other applications that need to do reverse lookups.

If you are running on a local area network, a reverse lookup zone may not be necessary. For example, Windows DNS does not create a reverse lookup zone by default.

Why do you want to delete the reverse lookup zone? It doesn't hurt to have it.

Last edited by jamrock; 12-10-2010 at 08:34 AM.
Old 12-10-2010, 08:53 AM   #4
Registered: Nov 2010
Posts: 93

Original Poster
Rep: Reputation: 0
thank you both of you.Now its very much clear for me.
can you tell me how to know hostname of a pc in lan whose ip address is known?
is there any command for it?
No' it wasn't hurting me, i was just doing experiment by deleting reverse lookup zone.
Old 12-10-2010, 09:44 AM   #5
Registered: Jan 2003
Location: Kingston, Jamaica
Posts: 444

Rep: Reputation: 41
If you want to resolve to a hostname


If you want to resolve a computer named payroll to an i.p. address

nslookup payroll
Old 12-11-2010, 12:17 AM   #6
Registered: Nov 2010
Posts: 93

Original Poster
Rep: Reputation: 0
thank you very much sir
this website is best for a newbie like me
thnx alot


dns, dnsserver, reverse, zones

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Reverse DNS zone problem with opensuse 11.1 mpeg2server Linux - Networking 2 09-21-2010 06:02 AM
Reverse Zone is Not Working in Ubuntu 10.04 DNS Linux - Newbie 4 09-15-2010 02:11 AM
DNS/Bind reverse zone file confusion sjphares Linux - Networking 1 12-22-2009 03:29 PM
URGENT: reverse zone problem in dns anbumanikandan Linux - Software 2 01-22-2007 12:06 PM
problem with one dns reverse zone record rsmccain Linux - Networking 2 10-07-2006 09:17 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:32 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration