Results 1 to 4 of 4
Hello,
I'm starting up with named and I've ran into trouble while getting it to work. I've setup the forwarders correctly on /etc/named.conf and can now use the server (IP ...
- 01-22-2006 #1Just Joined!
- Join Date
- Jul 2005
- Posts
- 6
named issue
Hello,
I'm starting up with named and I've ran into trouble while getting it to work. I've setup the forwarders correctly on /etc/named.conf and can now use the server (IP is 192.168.2.200) to perform queries on sites on the . zone, as resolv.conf only contains my name server:
Then I set up a local zone on named.conf, on which I wanted to register the machines on my network:Code:nslookup www.yahoo.com Server: 192.168.2.200 Address: 192.168.2.200#53 Non-authoritative answer: www.yahoo.com canonical name = www.yahoo.akadns.net. Name: www.yahoo.akadns.net Address: 216.109.118.73
The /var/named/home.brr file looks like this:Code:zone "home.brr" IN { type master; file "home.brr"; allow-query{ any; }; };However, nslookup returns me an error each time I try to query any host on my network:Code:@ IN SOA ns.home.brr. nsadmin.home.brr. ( 20060122 ; serial 28800 ; refresh 14400 ; retry 3600000 ; expire 86400 ; minimum ) IN NS ns.home.brr. ns IN NS 192.168.2.200 ns IN HINFO Server (P3 800MHz, 384MB, 60GB) serv IN CNAME ns
The same thing happens for nslookup serv.home.brr; am I doing something wrong on the configuration?Code:nslookup ns.home.brr Server: 192.168.2.200 Address: 192.168.2.200#53 ** server can't find ns.home.brr: SERVFAIL
Thanks in advance
- 01-22-2006 #2
You have no A records in your zone.
Try adding a line that looks like this:
Code:ns IN A 192.168.2.200
Linux user #126863 - see http://linuxcounter.net/
- 01-22-2006 #3Just Joined!
- Join Date
- Jul 2005
- Posts
- 6
True, that was one of the problems; the other two were related to the file's location (moved from /var/named to /var/named/chroot/var/named/. The other was that the HINFO record didn't obey to the RFC1010 format (http://www.rfc-archive.org/getrfc.php?rfc=1010). Solved, thanks for the help
- 01-24-2006 #4Just Joined!
- Join Date
- Aug 2005
- Location
- India
- Posts
- 12
try this command
tail -f /var/log/messages
u might figure out what the problem is.
dont forget to restart named service after making changes in ny of the files


Reply With Quote