Bind SERVFAIL status
Hey guys,Well, here's my problem. I've installed bind, and it's running properly. I have successfully been able to set it as my DNS server for the Linux box and it works and goes into the outside world to find data about unknown zones. Goody. But that's where the good news ends.
Now, I am trying to add a new zone to the DNS server. I am trying my own domain that I currently have registered and hosted at Largenets: nokhrin.com. This is only experimental and will not affect anyone, only the Linux box. So: here's the issue:
Code:
lastochka root # dig @192.168.123.187 nokhrin.com ; <<>> DiG 9.2.2 <<>> @192.168.123.187 nokhrin.com ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 8196 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;nokhrin.com. IN A ;; Query time: 0 msec ;; SERVER: 192.168.123.187#53(192.168.123.187) ;; WHEN: Thu Jun 24 01:15:41 2004 ;; MSG SIZE rcvd: 29
named.conf
Code:
options { directory "/var/bind"; // uncomment the following lines to turn on DNS forwarding, // and change the forwarding ip address(es) : //forward first; //forwarders { // 123.123.123.123; // 123.123.123.123; //}; listen-on-v6 { none; }; listen-on { 127.0.0.1; 192.168.123.187; }; // to allow only specific hosts to use the DNS server: //allow-query { // 127.0.0.1; //}; // if you have problems and are behind a firewall: //query-source address * port 53; pid-file "/var/run/named/named.pid"; }; zone "." IN { type hint; file "named.ca"; }; zone "localhost" IN { type master; file "pri/localhost.zone"; allow-update { none; }; notify no; }; zone "0.0.127.in-addr.arpa" IN { type master; file "pri/127.zone"; allow-update { none; }; notify no; }; zone "123.168.192.in-addr.arpa" IN { type master; file "pri/192.168.123.zone"; allow-update { none; }; notify no; }; // zones zone "nokhrin.com" IN { type master; file "pri/nokhrin.com.zone"; allow-update { none; }; notify no; };
pri/nokhrin.com.zone
Code:
$TTL 12h @ IN SOA ns.nokhrin.com. admin ( 2004062413 ; serial 3h ; refresh 3h ; update 1d ; expire 3h ; minimum ) IN NS ns ns IN A 192.168.123.187 nokhrin.com. IN A 192.168.123.187 ; IN NS ns1.nokhrin.com. ; IN NS ns2.nokhrin.com. ;ns1 IN A 192.168.123.187 ;ns2 IN A 192.168.123.187 ;www IN A 192.168.123.187
Any suggestions?
Thanks a lot! I've tried searching the net for this, but of course, no help was found, yet.
Thanks,
Max