On Tue, 3 Sep 2002, Michael Petuschak wrote:
Привет!
Не в курсе ли кто, почему BIND9 в кач-ве secondary ведет себя совсем не так, как принято и чем это чревато? А именно:
Тут несколько более сложная зависимость. Хотя по опыту работы и с тем, и с другим, никаких проблем это не дает. [raven@apricot - 12:47:48 Tue Sep 3 ~] $ rpm -q bind bind-9.2.1-1.7x.2 [raven@apricot - 12:47:52 Tue Sep 3 ~] $ dig @localhost. adamant.net. any ; <<>> DiG 9.2.1 <<>> @localhost. adamant.net. any ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35595 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 10, AUTHORITY: 0, ADDITIONAL: 10 ;; QUESTION SECTION: ;adamant.net. IN ANY ;; ANSWER SECTION: adamant.net. 86400 IN SOA ns.adamant.net. hostmaster.adama nt.net. 2002082204 10800 3600 864000 86400 adamant.net. 86400 IN NS ns.adamant.net. adamant.net. 86400 IN NS ns2.lucky.net. adamant.net. 86400 IN NS ns2.adamant.net. adamant.net. 86400 IN NS ns3.adamant.net. adamant.net. 86400 IN NS ns5.adamant.net. adamant.net. 86400 IN NS ns.ukr.net. adamant.net. 86400 IN NS ns.webber.net.ua. adamant.net. 86400 IN MX 10 relay1.adamant.net. adamant.net. 86400 IN MX 20 relay2.adamant.net. ;; ADDITIONAL SECTION: ns.ukr.net. 10085 IN A 212.42.64.7 ns.webber.net.ua. 10084 IN A 193.227.208.41 ns.adamant.net. 86400 IN A 212.26.128.2 ns2.adamant.net. 86400 IN A 212.26.128.3 ns3.adamant.net. 86400 IN A 212.26.128.9 ns5.adamant.net. 86400 IN A 212.26.130.240 relay1.adamant.net. 86400 IN A 212.26.128.10 relay2.adamant.net. 86400 IN A 212.26.128.4 relay2.adamant.net. 86400 IN A 212.26.128.2 relay2.adamant.net. 86400 IN A 212.26.128.3 ;; Query time: 4 msec ;; SERVER: 127.0.0.1#53(localhost.) ;; WHEN: Tue Sep 3 12:46:05 2002 ;; MSG SIZE rcvd: 428 [raven@king - 12:50:33 Tue Sep 3 /tmp] $ rpm -q bind bind-8.3.3-1 [raven@king - 12:50:35 Tue Sep 3 /tmp] $ dig @localhost. adamant.net. any ; <<>> DiG 8.3 <<>> @localhost. adamant.net. any ; (1 server found) ;; res options: init recurs defnam dnsrch ;; got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 10, AUTHORITY: 7, ADDITIONAL: 9 ;; QUERY SECTION: ;; adamant.net, type = ANY, class = IN ;; ANSWER SECTION: adamant.net. 1D IN MX 10 relay1.adamant.net. adamant.net. 1D IN MX 20 relay2.adamant.net. adamant.net. 1D IN NS ns.adamant.net. adamant.net. 1D IN NS ns2.adamant.net. adamant.net. 1D IN NS ns3.adamant.net. adamant.net. 1D IN NS ns5.adamant.net. adamant.net. 1D IN NS ns2.lucky.net. adamant.net. 1D IN NS ns.ukr.net. adamant.net. 1D IN NS ns.webber.net.ua. adamant.net. 1D IN SOA ns.adamant.net. hostmaster.adamant.net. ( 2002082204 ; serial 3H ; refresh 1H ; retry 1w3d ; expiry 1D ) ; minimum ;; AUTHORITY SECTION: adamant.net. 1D IN NS ns.adamant.net. adamant.net. 1D IN NS ns2.adamant.net. adamant.net. 1D IN NS ns3.adamant.net. adamant.net. 1D IN NS ns5.adamant.net. adamant.net. 1D IN NS ns2.lucky.net. adamant.net. 1D IN NS ns.ukr.net. adamant.net. 1D IN NS ns.webber.net.ua. ;; ADDITIONAL SECTION: relay1.adamant.net. 1D IN A 212.26.128.10 relay2.adamant.net. 1D IN A 212.26.128.3 relay2.adamant.net. 1D IN A 212.26.128.4 relay2.adamant.net. 1D IN A 212.26.128.2 ns.adamant.net. 1D IN A 212.26.128.2 ns2.adamant.net. 1D IN A 212.26.128.3 ns3.adamant.net. 1D IN A 212.26.128.9 ns5.adamant.net. 1D IN A 212.26.130.240 ns2.lucky.net. 22h53m15s IN A 193.193.193.115 ;; Total query time: 1 msec ;; FROM: king.ukrnet.net to SERVER: localhost. 127.0.0.1 ;; WHEN: Tue Sep 3 12:49:16 2002 ;; MSG SIZE sent: 29 rcvd: 510 [...skip...]
В общем, отсутствие ANSWER SECTION пугает использующих команду host:
host -t ns web.com.ua ns.ua.net. web.com.ua NS record currently not present at ns.ua.net
Влияет ли это на что-то еще? Меняется ли конфигом? Thanks :)
P.S. Я совсем не уверен, что на ns.ua.net BIND9, это так, безосновательное предположение :) Зато точно такое же поведение 9 по сравнению с 8 желающие могут увидеть на 81.in-addr.arpa (ns.ripe.net. - 8, ns3.nic.fr. - 9), запросив любую delegated zone'у. Например 64.81.in-addr.arpa.
-- Vladimir A. Podgorny Adamant ltd. deputy director (technical) phone/fax: +380(44)5667722 =================================================================== uanog mailing list. To Unsubscribe: send mail to majordomo@uanog.kiev.ua with "unsubscribe uanog" in the body of the message