トップ «前の日記(2015-01-01) 最新 次の日記(2015-08-30)» 編集

"yasunori's tedious diary"

2005|09|10|11|12|
2006|01|02|03|04|05|06|07|08|09|10|11|12|
2007|01|02|03|04|05|06|07|08|09|10|11|12|
2008|01|02|03|04|05|06|07|08|09|10|11|12|
2009|01|02|03|04|05|06|07|08|09|10|11|12|
2010|01|02|03|04|05|06|08|09|10|11|
2011|01|03|04|05|06|07|08|09|10|11|12|
2012|01|03|04|05|08|09|10|
2013|01|02|08|09|10|11|12|
2014|01|03|04|07|08|09|10|
2015|01|07|08|09|10|12|
2016|01|02|03|04|
2017|11|
2026|08|

2015-07-17

_ [コンピュータ] DNS format error

以前から気になっていた我が家の bind で出る下記のエラーですが、上位 DNS がトラブっているようで、自前で forwarders の切り替えついでにいろいろ調べてみました。

17-Jul-2015 23:24:46.302 resolver: DNS format error from 203.141.128.34#53 
resolving star.c10r.facebook.com/AAAA 
for client 127.0.0.1#49449: non-improving referral

原因はどうやら、契約しているプロバイダの DNS が AAAA レコードを返さない(ANSWER section がない)のが原因で、エラーになっているようです。

#プロバイダの DNS での結果
% dig @203.141.128.34 www.google.com aaaa

; <<>> DiG 9.8.4-P2 <<>> @203.141.128.34 www.google.com aaaa ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 55503 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 4, ADDITIONAL: 4
;; QUESTION SECTION: ;www.google.com. IN AAAA
;; AUTHORITY SECTION: google.com. 40365 IN NS ns1.google.com. google.com. 40365 IN NS ns3.google.com. google.com. 40365 IN NS ns4.google.com. google.com. 40365 IN NS ns2.google.com.
;; ADDITIONAL SECTION: ns1.google.com. 213209 IN A 216.239.32.10 ns2.google.com. 213209 IN A 216.239.34.10 ns3.google.com. 213209 IN A 216.239.36.10 ns4.google.com. 213209 IN A 216.239.38.10
;; Query time: 5 msec ;; SERVER: 203.141.128.34#53(203.141.128.34) ;; WHEN: Fri Jul 17 23:36:02 2015 ;; MSG SIZE rcvd: 168
#google DNS での結果
% dig @8.8.8.8 www.google.com aaaa

; <<>> DiG 9.8.4-P2 <<>> @8.8.8.8 www.google.com aaaa ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 55435 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION: ;www.google.com. IN AAAA
;; ANSWER SECTION: www.google.com. 49 IN AAAA 2404:6800:4004:812::2004
;; Query time: 39 msec ;; SERVER: 8.8.8.8#53(8.8.8.8) ;; WHEN: Fri Jul 17 23:36:08 2015 ;; MSG SIZE rcvd: 60

結局いかんともしがたいので、named.conf にログ抑制を入れて対処かな。

logging {
    channel default-log {
        file "/var/log/named/named.log" versions 5 size 1m;
        severity info;
        print-time yes;
        print-category yes;
    };
    category lame-servers { null; };
    category resolver { null; }; # <- これ追加
    category default { default-log; };
};

トップ «前の日記(2015-01-01) 最新 次の日記(2015-08-30)» 編集