Thursday, September 13, 2012

How to configure DNS in RHEL 5

1) yum install -y bind* caching-nameserver 2) check the ip address 3) cd /var/named/chroot/etc     ls ---> localtime named.caching-nameserver.conf named.rfc1912.zones rndc.key 4) cp named.caching-nameserver.conf named.conf 5) vim named.conf    listen-on port 53 (192.168.1.11;};     # not required listen-on-v6 port 53 comment it    allow-query { any; }; match-clients { any; }; match-destinations { 192.168.1.11; }; 6) vim named.rfc1912.zones zone "mydomain.com" IN { type master; file "forward.zone"; allow-update{ none; }; }; zone "1.168.192.in-addr.orpa" IN { type master; file "reverse.zone"; allow-update { none; }; }; 7) chgrp named named.conf 8) cd /var/named/chroot/var/named     ls---> data localhost.zone named.ca named.local slaves localdomain.zone named.broadcast named.ip6.local named.zero 9) cp localdomain.zone forward.zone 10) cp named.local reverse.zone 11) vim forward.zone @ IN SOA server.mydomain.com. root.server.mydomain.com....
Related Posts Plugin for WordPress, Blogger...
 

Thinking Redefined Copyright © Arumugam S 2017