5. Add below entry in /etc/resolv.conf file
search localdomain home.com
nameserver 192.168.216.131
6. service network restart
7. yum install bind* (you need yum server configured to work this command)
8. change below entries in /etc/named.conf
listen-on port 53 { 192.168.216.131; };
# listen-on-v6 port 53 { ::1; }; (make this entry hashed)
allow-query { any; };
include “/etc/named.rfc1912.zones”;
9. Change below entries in “/etc/named.rfc1912.zones”;
zone “home.com” IN {
type master;
file “forward.zone”;
allow-update { none; };
};
& also below entry for reverse lookup (Note: make sure that the IP is in reverse order )
zone “216.168.192.in-addr.arpa” IN {
type master;
file “reverse.zone”;
allow-update { none; };
};
Leave a Reply