Traditional DNS easy question

Discussion in 'HOWTO-Related Questions' started by dayknight, May 21, 2008.

  1. dayknight

    dayknight New Member

    Hi,

    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 http://www.howtoforge.com/traditional_dns_howto 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 { 70.253.158.45; };.

    (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
     
  2. falko

    falko Super Moderator Howtoforge Staff

    The tutorial is based on Debian, so paths might differ.

    That seems to be ok.

    If you don't use allow-transfer, then you can fill in the zone manually on the slave.
     
  3. dayknight

    dayknight New Member

    Thankyou Falko,

    Is there any such thing as "traditional postfix" :) on how to forge ?
     
  4. falko

    falko Super Moderator Howtoforge Staff

    No. There are a lots of Postfix tutorials here, but none that goes that deep into the basics...
     

Share This Page