Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] SERVFAIL with bind; problems in named.conf?
Date: Wed, 05 Oct 2011 13:29:09
Message-Id: 20111005152749.5e5d90fc@rohan.example.com
In Reply to: [gentoo-user] SERVFAIL with bind; problems in named.conf? by Andrey Moshbear
1 On Wed, 5 Oct 2011 05:06:27 -0400
2 Andrey Moshbear <andrey.vul@×××××.com> wrote:
3
4 > For bind, I have the following as named.conf:
5 >
6 > acl "xfer" { none; };
7 >
8 > acl "trusted" { 127.0.0.0/8; ::1/128; };
9 >
10 > options {
11 > directory "/var/bind";
12 > pid-file "/var/run/named/named.pid";
13 >
14 > listen-on-v6 { none; };
15 > listen-on port 53 { 127.0.0.1; 192.168.1.0/10; EXTERNAL_IP; };
16 > };
17 >
18 > include "/etc/bind/rndc.key";
19 > controls { inet 127.0.0.1 port 953 allow { 127.0.0.1/32; ::1/128; }
20 > keys { "rndc-key"; }; };
21 >
22 > zone "." in { type hint; file "/var/bind/root.cache"; };
23 >
24 > zone "localhost" IN { type master; file "pri/localhost.zone"; notify
25 > no; };
26 >
27 > zone "127.in-addr.arpa" IN { type master; file "pri/127.zone"; notify
28 > no; };
29 >
30 > zone "moshbear.net" IN { type master; file
31 > "/var/bind/pri/moshbear.net.zone"; allow-query { any; };
32 > allow-transfer { xfer; }; };
33 > // end of dump
34 >
35 > The zone file does not have any errors.
36 >
37 > Any reasons as to why "dig @127.0.0.1 moshbear.net" returns SERVFAIL?
38
39 What result does bind write to log files when it loads that zone?
40
41 SERVFAIL usually indicates something wrong with the zone and bind
42 refuses to load it.
43
44
45
46
47 >
48 > --
49 > 001100 Andrey "m05hbear" Vul
50 > 010010
51 > 100001 andrey dot vul at gmail
52 > 110011
53 >
54
55
56
57 --
58 Alan McKinnnon
59 alan.mckinnon@×××××.com

Replies

Subject Author
[gentoo-user] Re: SERVFAIL with bind; problems in named.conf? Andrey Moshbear <andrey.vul@×××××.com>