Hello! All,
I wish you a Happy & Prosperous New Year 2008
Can any one help me how to configure DNS in RHEL 5, When I am istalling it shows a message after nslookup query for DNS
Server : Unknown
Name : 192.0.1.4(#53)
configure make-
1) change the file caching-nameserver.conf file to named.conf
edit)- listen-on port 53 { 127.0.0.1; 192.0.1.4; };
allow query { localhost; 192.0.1.0/16; };
2) #vi named.rfc1912.conf
edit)- (localhost) to example.com
(localhost.zone) to example.zone
& (0.127-arp-back) to 1.0.192-arp-back
(localhost.local) to example.local
3) create example.zone & example.local within the directory /var/named/chroot/var/named/ with copy localhost.zone & localhost.local file
4) edit example.zone file
SOA station1.example.com. root.station1.example.com.
NS station1.example.com.
example.com. IN A station1.example.com.
station1 IN A station1.example.com.
5) edit example.local file
SOA station1.example.com. root.station1.example.com.
NS station1.example.com.
4 PTR 192.0.1.4
6) change the hostname to station1.example.com
7) make sure SElinux is disabled & iptables is blank.
AFTER CONFIGURE THIS THE DNS QUERY FROM MY OWN SYSTEM IS OK & FINE WITH DIG & NSLOOKUP BUT FROM ANOTHER SYSTEM IT SHOWS THE MESSAGE-
Server : Unknown
Name : 192.0.1.4
PLZ HELP ME WITH BEST ADVICE