You are on page 1of 13

Chapter V: DNS Server

Lecturer: Mr. Kao Sereyrath (MsCIT, India) ICT Manager, Samic Microfinance General Manager iCONNECT www.iconnectcambodia.com gm@iconnectcambodia.com 012 75 12 75 / 066 800 900 Email: H/P:

Domain Name System


Distributed Naming System to identify computers on network You can use hosts file but need to manually register and update Naming the computer on network conforms to below tree

Domain Name System (Cont.)


Root holds all the information on all the top-level domains A top-level domain is anything that does not have a dot (a period) after it. For example, .com and .org are both top-level domains centosbook is a subdomain of the .com top-level domain. All public domains are managed by ICANN (Internet Corporation for Assigned Names and Numbers) Most of domains can be queried in www.whois.com

Step 1: Installing DNS Server packages


rpm -ihv bind-9.8.2-0.17.rc1.el6.i686.rpm rpm -ihv bind-chroot-9.8.2-0.17.rc1.el6.i686.rpm rpm -ihv bind-dyndb-ldap-2.3-2.el6.i686.rpm

Step 2: Configure named.conf


vi /etc/named.conf

Step 2: Configure named.conf (Cont.)

Step 3: Create forward zone file


vi /var/named/fwd.bb.com.kh

Step 4: Create Reverse zone file


vi /var/named/rev.bb.com.kh

Step 5: Starting named service


service named start chkconfig named on

Step 6: Configure at Client side


Client will require to seek for DNS servers assistant for domain name translation. vi /etc/resolv.conf

Step 7: Testing DNS configuration

Step 7: Testing DNS configuration


You also can use: ping www.bb.com.kh host www
www.bb.com.kh has address 192.168.1.42

host masterdns
masterdns.bb.com.kh has address 192.168.1.42 nslookup www

THANK YOU

You might also like