Solved

Reverse DNS Question

Posted on 2001-07-17
4
211 Views
Last Modified: 2012-05-04
Is it necessary to setup a reverse DNS zone for localhost on a slave DNS server? I'm running BIND 8.X

Regards,
Rod
reason100
0
Comment
Question by:reason100
  • 2
4 Comments
 
LVL 17

Expert Comment

by:psimation
ID: 6291069
hmm, not 100% sure, I didn't setup my boxes myself, but I see I do have a local.rev file in the zone files directory, but it's essentially the same file as the one on my primary, but then again, it would be there if it's listed in named.conf ( BIND will copy them all over anyway...)
On my primar box in the /etc/named.conf file, I have a

zone "0.0.127.in-addr.arpa" {
type master;
file "local.rev";
};

The local.rev file is in my /var/named folder on the primary box as well as on my secondary box... So, I guess it means, YES, do do have to have one, but like I already said, BIND is *supposed* to copy all zone files to the secondary box for you, after all that's what BIND is there for...
If it's not doing that, then I've found that 9out of 10 times it's because there is something wrong in your /etc/named.conf file. Try the nslint utility ( search for nslint on google), it will analyze your named.conf file and report any possible hickups, mostly it's just a : instead of a ; or a ) instead of a }.

0
 
LVL 17

Expert Comment

by:psimation
ID: 6291080
Whoops, Whoa!
It seems that I am wrong after all...
BIND will NOT copy that local.rev file to the secondary box as that zone extract I just gave you does not include the
allow-transfer {your.sec.box. ; }; line

So, I think after all, it does NOT have to be on the sec box...
0
 
LVL 40

Accepted Solution

by:
jlevie earned 50 total points
ID: 6291615
Each and every Bind server (primary and secondary) must have a local definition for localhost if you want ordinary Unix/Linux applications that use localhost to operate properly. And this is because the normal definition of localhost places it at 127.0.0.1 which is a network that has been specifically excluded from all namespaces. So it is the responsibility of each nameserver to define the forward and reverse data for localhost.

For Bind 8 you need both a forward (A records) and a reverse (PTR records) zone file as well as the corresponding definitions in named.conf.
0
 
LVL 1

Author Comment

by:reason100
ID: 6298444
Thanks everyone!
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Centos Rescue and NFS Share 4 66
connect an Odroid to Windows PC via ethernet cable? 14 328
SIP Trunk provider 20 128
is my large folder zipped corrupted 4 66
I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question