LinuxForum.Fans
Тема

Bind DNS query refused

Автор: fletch 3 сообщений 8848 просмотров
#53190

Доброго времени суток.
Bind ни в какую не хочет резолвить имена по запросу из локалки. Если осуществлять nslookup или dig в консоли самого сервера - все ок. При попытке с любой другой машины в сети это сделать - query refused.
Конфиг:

text

// 
// /etc/named.conf
//

options { directory "/var/named"; pid-file "/var/run/named/named.pid"; auth-nxdomain yes; datasize default; listen-on { 127.0.0.1; 192.168.7.167; }; allow-query { localhost; 127.0.0.1/8; 192.168.7.167; }; allow-recursion { localhost; 127.0.0.1/8; 192.168.7.167; }; // Uncomment these to enable IPv6 connections support // IPv4 will still work // listen-on { none; }; // listen-on-v6 { any; }; forwarders { 193.200.32.5; 195.182.194.3; }; query-source address * port 53; };

zone "localhost" IN { type master; file "localhost.zone"; allow-update { none; }; allow-transfer { any; }; };

zone "0.0.127.in-addr.arpa" IN { type master; file "127.0.0.zone"; allow-update { none; }; allow-transfer { any; }; };

zone "." IN { type hint; file "root.hint"; };

//zone "example.org" IN { // type slave; // file "example.zone"; // masters { // 192.168.1.100; // }; // allow-query { any; }; // allow-transfer { any; }; //};

logging { channel xfer-log { file "/var/log/named.log"; severity info; print-category yes; print-severity yes; print-time yes; }; category notify { xfer-log; }; category xfer-out { xfer-log; }; category xfer-in { xfer-log; }; };

zone "pp.eximtextil" { type slave; masters {192.168.7.6;}; file "/var/named/pp.eximtextil.hosts"; };

// Windows 2003 servers' zone files for active directory

zone "_msdcs.pp.eximtextil" { type slave; check-names ignore; file "/var/named/_msdcs.pp.eximtextil.hosts"; masters { 192.168.7.6; }; };

zone "_sites.pp.eximtextil" { type slave; check-names ignore; file "/var/named/_sites.pp.eximtextil.hosts"; masters { 192.168.7.6; }; };

zone "_tcp.pp.eximtextil" { type slave; check-names ignore; file "/var/named/_tcp.pp.eximtextil.hosts"; masters { 192.168.7.6; }; };

zone "_udp.pp.eximtextil" { type slave; check-names ignore; file "/var/named/_udp.pp.eximtextil.hosts"; masters { 192.168.7.6; }; };

zone "DomainDnsZones.pp.eximtextil" { type slave; check-names ignore; file "/var/named/DomainDnsZones.pp.eximtextil.hosts"; masters {192.168.7.6;}; };

zone "ForestDnsZones.pp.eximtextil" { type slave; check-names ignore; file "/var/named/ForestDnsZones.pp.eximtextil.hosts"; masters {192.168.7.6;}; };

zone "eximtextil.com.ua" IN { type master; file "/var/named/eximtextil.com.ua.zone"; allow-update {none;}; notify no; };

#53195

решилось вот этимим строками:

text

allow-recursion { any; };
allow-query { any; };
allow-query-cache { any; };
#249415

+1 Мне тоже помогли .
вот эти строки
allow-recursion { any; };
allow-query-cache { any; };

Войдите или зарегистрируйтесь, чтобы ответить.