Tuesday, July 9, 2013

Domain Name server Configuration

Today I learned on how to ping host name in our domain

First We downloaded bind9 and edited files such as named.conf.local , db.192.168.2, and db bitwoel.com and also resolve.conf from the etc folder to specify the DNS server to use by the resolver




To check if my parameters are correct I used the command named-checkconf -z to check if my files created had any errors






and used named-checkzone bitwoel.com db.bitwoel.com
named-checkzone bitwoel.com db.192.168.2

from the etc/bind/ to check the validity of the zone file




We tested the dns server using the dig command to check the validity of the DNS server


And finally after everything check and done I pinged the other host names


Parts of the zone file:
The first line which depicts $TTL 86400 shows the default expiration time of all resource records without their own TTL value
Next the part "@ IN SOA"
The @ is a special notation that means origin
since the `domain' column for this file says 2.168.192.in-addr.arpa the first line really means "2.168.192.in-addr.arpa. IN SOA ... "
 The SOA describes where the zone comes from, which is responsible for it's contents and also the version of the zone file


- reference:
Domain Names - Implementation and Specification, P. Mockapetris, (November 1987)
http://www.tldp.org/HOWTO/DNS-HOWTO-5.html July 9, 2013

No comments:

Post a Comment