Хотите сделать посильный вклад в развитие Ubuntu и русскоязычного сообщества? Помогите нам с документацией!
0 Пользователей и 1 Гость просматривают эту тему.
Сочувствую.
.local - зарезервированный суффикс.А ваше описание проблемы вообще повергло меня в ступор.Чего хотели то?…
Раскомментировать и заполнить глобальный форвардерс…А что, есть варианты?…
options { directory "/var/cache/bind"; // If there is a firewall between you and nameservers you want // to talk to, you may need to fix the firewall to allow multiple // ports to talk. See http://www.kb.cert.org/vuls/id/800113 // If your ISP provided one or more IP addresses for stable // nameservers, you probably want to use them as forwarders. // Uncomment the following block, and insert the addresses replacing // the all-0's placeholder. forwarders { 192.168.32.10; 192.168.32.11; }; //======================================================================== // If BIND logs error messages about the root key being expired, // you will need to update your keys. See https://www.isc.org/bind-keys //======================================================================== dnssec-validation auto; auth-nxdomain no; # conform to RFC1035 listen-on-v6 { any; };};
//// Do any local configuration here//// Consider adding the 1918 zones here, if they are not used in your// organization//include "/etc/bind/zones.rfc1918";zone "example.local" { type master; file "/etc/bind/db.example.local";};
;; BIND data file for local loopback interface;$TTL 300@ IN SOA example.local. root.example.local. ( 2016042808 ; Serial 604800 ; Refresh 86400 ; Retry 2419200 ; Expire 86400 ) ; Negative Cache TTL@ IN NS nsns IN A 127.0.0.1* IN A 192.168.34.98* IN A 192.168.34.126
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTENnameserver 127.0.0.1search domain.corp
[main]plugins=ifupdown,keyfile,ofono#dns=dnsmasq[ifupdown]managed=false
# The "order" line is only used by old versions of the C library.order bind,hostsmulti on
127.0.0.1 localhost127.0.1.1 ribez# The following lines are desirable for IPv6 capable hosts::1 ip6-localhost ip6-loopbackfe00::0 ip6-localnetff00::0 ip6-mcastprefixff02::1 ip6-allnodesff02::2 ip6-allrouters
Server: 127.0.0.1Address: 127.0.0.1#53Name: *.example.localAddress: 192.168.34.98Name: *.example.localAddress: 192.168.34.126
Server: 127.0.0.1Address: 127.0.0.1#53Non-authoritative answer:Name: ya.ruAddress: 213.180.204.3Name: ya.ruAddress: 93.158.134.3Name: ya.ruAddress: 213.180.193.3
Server: 127.0.0.1Address: 127.0.0.1#53** server can't find server.domain.corp: NXDOMAIN
Server: 192.168.32.10Address: 192.168.32.10#53Name: server.domain.corpAddress: 192.168.33.141
sudo netstat -ulpn | grep ":53"
Ну а логи где?
logging { channel bind_update_debug { file "/var/log/bind_update_debug.log" versions 3 size 100k; severity debug; print-severity yes; print-time yes; }; channel bind_security_info { file "/var/log/bind_security_info.log" versions 1 size 100k; severity info; print-severity yes; print-time yes; }; channel bind_log { file "/var/log/bind.log" versions 3 size 1m; severity info; print-category yes; print-severity yes; print-time yes; }; category default { bind_log; }; category lame-servers { null; }; category update { bind_update_debug; }; category update-security { bind_update_debug; }; category security { bind_security_info; };};
udp 0 0 0.0.0.0:5353 0.0.0.0:* 3214/chrome udp 0 0 0.0.0.0:5353 0.0.0.0:* 740/avahi-daemon: rudp 0 0 192.168.33.201:53 0.0.0.0:* 886/named udp 0 0 172.17.0.1:53 0.0.0.0:* 886/named udp 0 0 127.0.0.1:53 0.0.0.0:* 886/named udp6 0 0 :::5353 :::* 740/avahi-daemon: rudp6 0 0 :::53 :::* 886/named
channel "querylog" { file "/var/log/named/query.log" versions 2 size 50m; severity info; print-time yes; print-severity yes; }; category queries { querylog; };
Переведите "они не работают"…
И добавьте
Или уже берите tcpdump и смотрите под микросокопом, кто куда чего.
named.conf.options
named.conf.log
Страница сгенерирована за 0.055 секунд. Запросов: 26.