Hi, I have a BIND master server(10.1.10.110) and slave server(Recursive, 10.1.10.120) and also a global forwarding to another server for non managed domains. Forwarding server(10.1.10.25) also a slave for example1.com and example2.com, which will get zone transfers from BIND slave server.
Below is my named.conf configuration, in the config, for secure zone transfers I am using "server statement" with a TSIG communication key. With this configuration when named is loaded in the BIND slave server, I can only resolve exmple1.com and example2.com on BIND slave server (10.1.10.120), for other non managed domains I see *SERVFAIL errors*. Can anyone tell me why I am getting* tsig errors and SERVFAIL errors* for non managed zones? Why named using the "server statement" TSIG key in forwarding queries instead of using this TSIG only for ixfr/axfr? *BIND AUTH Master IP: 10.1.10.110BIND AUTH Slave IP: 10.1.10.120Forwarder IP: 10.1.10.25* *named.conf:* #------------------------- # ACLs #------------------------- *acl "transfer-core-dns" { 10.1.10.25};* #------------------------- # Key Definition #------------------------- key "RNDC-KEY" { algorithm HMAC-SHA512; secret "ykLMNmAECOp4fcBMqIddG17Ubo4sTvm1zb5YSh7HvEjP8F2f+XU9uavOx4hoVBKANDY0tJIRlNOI8U8LaJunDg=="; }; #------------------------- # Controls Definition #------------------------- acl "RNDC-USERS" { 127.0.0.1; localhost; }; controls { inet 127.0.0.1 port 953 allow { RNDC-USERS; } keys { "RNDC-KEY";}; }; #------------------------- # Logging Definition #------------------------- logging { channel named { file "/var/named/log/named.log" versions 10 size 100M; severity dynamic; print-category yes; print-severity yes; print-time yes; }; category default { named; }; }; #------------------------- # Global Options #------------------------- options { directory "/"; allow-query {any;}; allow-transfer {none;}; blackhole {none;}; dnssec-enable yes; dnssec-validation no; listen-on-v6 {none;}; check-srv-cname ignore; check-mx-cname ignore; check-mx ignore; check-names master ignore; check-names response ignore; dump-file "/var/named/log/named_dump.db"; lame-ttl 600; max-ncache-ttl 10800; minimal-responses yes; pid-file "/var/run/named/named.pid"; recursion yes; session-keyfile "/var/run/named/session.key"; statistics-file "/var/named/log/named.stats"; tcp-clients 1000; zone-statistics yes; empty-zones-enable no; rrset-order { order cyclic; }; transfers-in 50; transfers-out 30; transfers-per-ns 30; no-case-compress {any; }; allow-recursion {any;}; recursive-clients 10000; * forward only; forwarders {10.1.10.25;};* flush-zones-on-shutdown yes; }; #------------------------- # Statistics Section #------------------------- statistics-channels { inet 127.0.0.1 port 8080 allow { 127.0.0.1; }; }; #------------------------- # Server Definition #------------------------- key "COMMUNICATION-KEY" { algorithm HMAC-SHA512; secret "1HVF90bx+6ywx5Ovr1SOCcL2inTDc0gYRoG6BK/TU+g8tAr3j0ptJsZ6OjfNxEYcMGDRt5m5z/it1gPe7+jJqA=="; }; *server 10.1.10.25 { keys "COMMUNICATION-KEY"; provide-ixfr yes; request-ixfr yes;};* #------------------------- # Zone Section #------------------------- zone "." IN { type hint; file "/var/named/zones/masters/db.cache"; }; zone "example1.com" IN { type slave; file "/var/named/zones/slaves/db.example1.com"; * allow-transfer {transfer-core-dns;};* allow-notify {10.1.10.110;}; notify yes; masters { 10.1.10.110; }; check-names ignore; zone-statistics yes; forwarders {}; }; zone "example2.com" IN { type slave; file "/var/named/zones/slaves/db.example2.com"; allow-transfer {transfer-core-dns;}; allow-notify {10.1.10.110;}; notify yes; masters { 10.1.10.110; }; check-names ignore; zone-statistics yes; forwarders {}; }; *named.log:* client: error: query (google.com/NS): query_find: *unexpected error after resuming: tsig indicates error* query-errors: info: (google.com): *query failed (SERVFAIL) *for google.com/IN/NS at query.c:8678 client: error: query (google.com/MX): query_find: unexpected error after resuming: tsig indicates error query-errors: info: (google.com): query failed (SERVFAIL) for google.com/IN/MX at query.c:8678 query-errors: info: (google.com): query failed (SERVFAIL) for google.com/IN/A at query.c:7118 query-errors: info: (google.com): query failed (SERVFAIL) for google.com/IN/A at query.c:7118 query-errors: info: (google.com): query failed (SERVFAIL) for google.com/IN/NS at query.c:7118 query-errors: info: (google.com): query failed (SERVFAIL) for google.com/IN/MX at query.c:7118
_______________________________________________ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information. bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users