Dear All I want to configure DNS in redhat linux. i am following these steps but when i restart the services it is showing status failed. Please any body can help me on urgent basis.
#service named restart
Stopping named: [FAILED]
Starting named: [FAILED]
---------Edited in named.conf file---------------------
options {
listen-on port 53 { nms.example.com; 10.13.74.162; 127.0.0.1; };
directory "/var/named";
query-source port 53;
allow-query { nms.example.com; 10.13.0.0/24; };
forwarders { 10.11.8.14; };
forward only;
};
zone "example.com" IN {
type master; file "example.com.zone";
allow-update { none; };
forwarders { 10.11.8.14; };
};
zone"74.13.10.in-addr.arpa" IN {
type master; file "10.13.74.zone";
allow-update { none; };
forwarders { };
};
---After that----
#cd /var/named/chroot/var/named
#vi example.com.zone
-------------configuration of 10.13.74.162.zone file--------------------
#vi 10.13.74.162.zone
[quote]
$TTL 86400 @ IN SOA nms.example.com. root.nms.example.com. ( 4 10800 3600 604800 86400 )
IN NS nms.example.com.
162.74.13.10.in-addr.arpa.
IN PTR nms.example.com.
After configuring i restart the service. as i have see the log messages looking like this.
#cd /var/log/ #vi messages
PLease help me..... Thanks in Advance tapan