1 |
For bind, I have the following as named.conf: |
2 |
|
3 |
acl "xfer" { none; }; |
4 |
|
5 |
acl "trusted" { 127.0.0.0/8; ::1/128; }; |
6 |
|
7 |
options { |
8 |
directory "/var/bind"; |
9 |
pid-file "/var/run/named/named.pid"; |
10 |
|
11 |
listen-on-v6 { none; }; |
12 |
listen-on port 53 { 127.0.0.1; 192.168.1.0/10; EXTERNAL_IP; }; |
13 |
}; |
14 |
|
15 |
include "/etc/bind/rndc.key"; |
16 |
controls { inet 127.0.0.1 port 953 allow { 127.0.0.1/32; ::1/128; } |
17 |
keys { "rndc-key"; }; }; |
18 |
|
19 |
zone "." in { type hint; file "/var/bind/root.cache"; }; |
20 |
|
21 |
zone "localhost" IN { type master; file "pri/localhost.zone"; notify no; }; |
22 |
|
23 |
zone "127.in-addr.arpa" IN { type master; file "pri/127.zone"; notify no; }; |
24 |
|
25 |
zone "moshbear.net" IN { type master; file |
26 |
"/var/bind/pri/moshbear.net.zone"; allow-query { any; }; |
27 |
allow-transfer { xfer; }; }; |
28 |
// end of dump |
29 |
|
30 |
The zone file does not have any errors. |
31 |
|
32 |
Any reasons as to why "dig @127.0.0.1 moshbear.net" returns SERVFAIL? |
33 |
|
34 |
-- |
35 |
001100 Andrey "m05hbear" Vul |
36 |
010010 |
37 |
100001 andrey dot vul at gmail |
38 |
110011 |