LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Which zone bind dns work either in forward zone are reverse zone (https://www.linuxquestions.org/questions/linux-server-73/which-zone-bind-dns-work-either-in-forward-zone-are-reverse-zone-948410/)

sanjay87 06-04-2012 06:08 AM

Which zone bind dns work either in forward zone are reverse zone
 
Hi all

Can anyone help me which zone file actually dns works .When we hits a domain google.com which actually perform the function either forward zone are else reverse zone .

kamran.ayub 06-04-2012 08:36 AM

Dear Friend,

Any domains A (internet) record is returned by DNS forward zone file.

Thanks

maccas17 06-05-2012 05:21 AM

If you are querying DNS with a FQDN (system hostname or alias) then you are requesting the IP address of that system. This would be recorded as an A resource record in the forward lookup zone for the Authoritative DNS server for this system. The forward lookup zone provides this conversion from the meaningful name we use to an IP address (which is what really matters).

Code:

dig google.com
The reverse lookup zone mainly contains PTR (Pointer Records) and allows you to query the DNS server with an IP address to determine the system hostname. Not all IP addresses will have a PTR - some people will definitely not want you to be able to reverse lookup an IP address!

Code:

dig -x <IP address>


All times are GMT -5. The time now is 07:01 AM.