View Single Post
Old 21st May 2008, 01:30
dayknight dayknight is offline
Junior Member
Join Date: May 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Traditional DNS easy question


First of all, I found "Traditional DNS" Howto be excellent tutorial. I had been looking to learn DNS and found several sites to be going through a lot of technical stuff which for beginners could be quite challenging to understand. This tutorial walks you through basic DNS and is very easy to implement. However, I still have few questions

1) The tutorial specifies db.root and db.local as well as bind folder which I didn't find in Centos5 however I solved by creating bind folder and by creating symbolic link db.root and db.local to named.root and named.local respectively using the following commands (for those who want to know).

mkdir /var/named/chroot/etc/bind
chown root:named /var/named/chroot/etc/bind
cd /var/named/chroot/etc/bind
ln -s ../../var/named/named.root db.root
ln -s ../../var/named/named.local named.local

(question 1) even though the DNS works fine, for clarity and security sake, did I set the right group for bind directory? and also is it ok to sym linking to files in named directory?)

2)I checked the DNS configuration using DNS online tools and found that the secondary nameserver doesn't have the PTR (reverse record and points to the local machine) which I couldnot set as the tutorial instructs to create a named file with type slave which I think is meant to be created on a seperate machine for redundant DNS hence I didn't make use of the security feature outlined on page 8 of the tutorial --- allow-transfer {; };.

(question 2) How would I set the second name server to have a reverse record so it passes the DNS check. Would there be any problems with current setup that I have?

Thank you for your help
Reply With Quote
Sponsored Links