Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Bind giving me SERVFAIL status!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
mno
Guru
Guru


Joined: 29 Dec 2003
Posts: 454
Location: Toronto, Canada

PostPosted: Tue Jun 22, 2004 5:07 am    Post subject: Bind giving me SERVFAIL status! Reply with quote

Hi all,

I've searched this forum, but all the other topics on bind and SERVFAIL didn't help. So, here are my files:

bind.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 {
                any;
        };

        // 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 "127.in-addr.arpa" IN {
        type master;
        file "pri/127.zone";
        allow-update { none; };
        notify no;
};

zone "nokhrin.com" IN {
        type master;
        file "pri/nokhrin.com.zone";
        allow-update { none; };
        notify no;
};


nokhrin.com.zone
Code:


$TTL 1d
nokhrin.com.    IN      SOA     ns.localhost. admin.nokhrin.com. (
        2004062109
        1h
        15m
        1d
        15m
)
@               IN      NS      ns
nokhrin.com.    IN      A       192.168.123.187
;nokhrin.com.   IN      NS      ns.nokhrin.com.
;ns.nokhrin.com.        IN      A       192.168.123.187


Then, checks:
Code:
lastochka root # named-checkzone nokhrin.com /etc/bind/pri/nokhrin.com.zone
zone nokhrin.com/IN: loaded serial 2004062109
OK


The zone files have been reloaded and all... serials have been changed and updated. However:

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: 53109
;; 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: Tue Jun 22 00:07:22 2004
;; MSG SIZE  rcvd: 29


Status is SERVFAIL.

Any suggestions?

Thanks a lot,
Max
_________________
"Hello and goodbye. As always." | You can't use &nbsp; here?? | Unanswered
Back to top
View user's profile Send private message
mno
Guru
Guru


Joined: 29 Dec 2003
Posts: 454
Location: Toronto, Canada

PostPosted: Tue Jun 22, 2004 8:04 pm    Post subject: Reply with quote

Any suggestions?

Thanks,
Max
_________________
"Hello and goodbye. As always." | You can't use &nbsp; here?? | Unanswered
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum