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
Quote:
$TTL 86400 @ IN SOA nms.example.com. root.nms.example.com. (
2001101100 ; serial (d. adams)
28800 ; refresh
14400 ; retry
3600000 ; expiry
0 ) ; minimum
IN NS nms.example.com.
IN A 10.13.74.162 example.com.
IN A 10.13.74.162 nms.example.com.
IN A 10.13.74.162
www IN A 10.13.74.162
www1 IN CNAME nms.example.com.
www2 IN CNAME nms.example.com.
www3 IN CNAME nms.example.com.
@ IN MX 10 nms.example.com.
nms IN MX 10 nms.example.com.
-------------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
Quote:
Aug 25 21:08:47 nms named[4959]: loading configuration from '/etc/named.conf'
Aug 25 21:08:47 nms named[4959]: /etc/named.conf:15: undefined ACL 'nms.example.com' \
Aug 25 21:08:47 nms named[4959]: not listening on any interfaces
Aug 25 21:08:47 nms named[4959]: /etc/named.conf:19: undefined ACL 'nms.example.com'
Aug 25 21:08:47 nms named[4959]: loading configuration: not found
Aug 25 21:08:47 nms named[4959]: exiting (due to fatal error)
PLease help me..... Thanks in Advance tapan