Results 1 to 3 of 3
Hi plz help me regarding bind it will be very appreciable
while checking conf file its shows error like this
[root@localhost ~]# named-checkconf /var/named/chroot/etc/named.conf
/var/named/chroot/etc/named.conf:59: open: /etc/named.root.hints: file not found
...
- 03-02-2009 #1Just Joined!
- Join Date
- Feb 2009
- Location
- Kathmandu
- Posts
- 4
Bind rhel 5
Hi plz help me regarding bind it will be very appreciable
while checking conf file its shows error like this
[root@localhost ~]# named-checkconf /var/named/chroot/etc/named.conf
/var/named/chroot/etc/named.conf:59: open: /etc/named.root.hints: file not found
and status result is like below
[root@localhost ~]# service named status
number of zones: 11
debug level: 0
xfers running: 0
xfers deferred: 0
soa queries in progress: 0
query logging is OFF
recursive clients: 0/1000
tcp clients: 0/100
server is up and running
[root@localhost ~]#
my zone files is like this
[root@localhost ~]# cat /var/named/chroot/var/named/nepse10.com.zone
$TTL 86400
@ IN SOA ns1.nepse10.com. root.nepse10.com. (
20090212
3600
3600
3600
3600)
IN NS ns1.nepse10.com.
ns1 IN A 192.168.2.101
www IN A 192.168.2.101
nepse10.com IN A 192.168.2.101
;private clients
report IN A 192.168.2.107
microtik1 IN A 192.168.2.10
ftp IN A 192.168.2.10
[root@localhost ~]#
while using dig it shows msg like this
[root@localhost ~]# dig nepse10.com
; <<>> DiG 9.3.3rc2 <<>> nepse10.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 19621
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;nepse10.com. IN A
;; AUTHORITY SECTION:
com. 900 IN SOA a.gtld-servers.net. nstld.verisign-grs.com. 1235974068 1800 900 604800 900
;; Query time: 790 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Mon Mar 2 17:36:10 2009
;; MSG SIZE rcvd: 102
[root@localhost ~]#
- 03-03-2009 #2
This just means that you have no root.hints file or you do and it is not where bind thinks it should be. There are a couple of way to fix this.
1. You could move your root.hints to /etc
2. You can change your configuration to point to where you have the hints file.
If you don't have a hints file then you should set one up.
This is a simple thing to do. run the following:
Code:dig +bufsize=1200 +norec NS . @a.root-servers.net > /ect/named.root.hints
- 03-04-2009 #3Just Joined!
- Join Date
- Feb 2009
- Location
- Kathmandu
- Posts
- 4
thanx for the solution


Reply With Quote
