DNS/実装/KnotDNSresolver/query-minimization/www.toyota.jpについて、ここに記述してください。 [[watchWWW/toyota.jp]] はawsを使っているのだが、DNS返答がいろいろ問題を教えてくれる。 -- ToshinoriMaeno <> [[/log.2]] == NXDOMAIN == {{{ [plan] plan 'www.toyota.jp.' type 'A' [resl] => querying: '203.119.1.1' score: 10 zone cut: 'jp.' m12n: 'TOyOta.Jp.' type: 'NS' [iter] <= referral response, follow [plan] plan 'a1-81.akam.net.' type 'AAAA' [plan] plan 'a.root-servers.net.' type 'AAAA' [resl] => querying: '193.0.14.129' score: 10 zone cut: '.' m12n: 'NET.' type: 'NS' [iter] <= referral response, follow [resl] => querying: '192.54.112.30' score: 10 zone cut: 'net.' m12n: 'root-sERVErs.net.' type: 'NS' [iter] <= referral response, follow [resl] => querying: '193.0.14.129' score: 49 zone cut: 'root-servers.net.' m12n: 'a.rOot-SErvErs.neT.' type: 'AAAA' [iter] <= rcode: NOERROR [resl] => querying: '198.41.0.4' score: 10 zone cut: '.' m12n: 'neT.' type: 'NS' [iter] <= referral response, follow [resl] => querying: '192.5.6.30' score: 10 zone cut: 'net.' m12n: 'aKAm.nET.' type: 'NS' [iter] <= referral response, follow [resl] => querying: '184.26.160.67' score: 10 zone cut: 'akam.net.' m12n: 'A1-81.AKAM.Net.' type: 'AAAA' [iter] <= rcode: NOERROR [plan] plan 'a1-81.akam.net.' type 'A' [resl] => querying: '193.108.91.67' score: 10 zone cut: 'akam.net.' m12n: 'a1-81.akaM.nEt.' type: 'A' [iter] <= rcode: NOERROR [resl] => querying: '193.108.91.81' score: 10 zone cut: 'toyota.jp.' m12n: 'Www.TOYOTA.jp.' type: 'A' [iter] <= rcode: NOERROR [iter] <= cname chain, following [plan] plan 'dualstack.commercial-atidglb10-1335373542.ap-northeast-1.elb.amazonaws.com.' type 'A' [resl] => querying: '193.0.14.129' score: 66 zone cut: '.' m12n: 'Com.' type: 'NS' [iter] <= referral response, follow [resl] => querying: '192.33.14.30' score: 10 zone cut: 'com.' m12n: 'AmAzoNaWs.coM.' type: 'NS' [iter] <= referral response, follow [resl] => querying: '205.251.192.27' score: 10 zone cut: 'amazonaws.com.' m12n: 'elb.aMaZonaWS.coM.' type: 'NS' [iter] <= rcode: NXDOMAIN (このNXDOMAIN返答が問題) [iter] <= found cut, retrying with non-minimized name [resl] => querying: '205.251.195.199' score: 10 zone cut: 'amazonaws.com.' m12n: 'dUAlsTaCK.commeRcIaL-aTidglb10-1335373542.aP-nORtheasT-1.ELb.AmAzonaws.cOm.' type: 'A' [iter] <= referral response, follow [plan] plan 'ns-54.awsdns-06.com.' type 'AAAA' [resl] => querying: '192.26.92.30' score: 10 zone cut: 'com.' m12n: 'aWsdNS-06.cOm.' type: 'NS' [iter] <= referral response, follow [resl] => querying: '205.251.192.7' score: 10 zone cut: 'awsdns-06.com.' m12n: 'Ns-54.AWsdNs-06.cOm.' type: 'AAAA' [iter] <= rcode: NOERROR [ pc ] => answer cached for TTL=900 [plan] plan 'ns-54.awsdns-06.com.' type 'A' [resl] => querying: '205.251.194.70' score: 10 zone cut: 'awsdns-06.com.' m12n: 'nS-54.aWsDnS-06.cOM.' type: 'A' [iter] <= rcode: NOERROR [resl] => querying: '205.251.192.54' score: 10 zone cut: 'ap-northeast-1.elb.amazonaws.com.' m12n: 'duALsTACk.cOmmeRCIAL-aTIDgLb10-1335373542.aP-NOrtHeAST-1.eLB.AmAZOnAws.COM.' type: 'A' [iter] <= rcode: NOERROR [resl] finished: 4, queries: 7, mempool: 65568 B [plan] plan 'www.toyota.jp.' type 'A' [ rc ] => satisfied from cache [iter] <= rcode: NOERROR [iter] <= cname chain, following [plan] plan 'dualstack.commercial-atidglb10-1335373542.ap-northeast-1.elb.amazonaws.com.' type 'A' [ rc ] => satisfied from cache [iter] <= rcode: NOERROR [resl] finished: 4, queries: 2, mempool: 196656 B }}} == NODATA も返す == $ dnsq ns elb.amazonaws.com 156.154.64.10 {{{ 2 elb.amazonaws.com: 107 bytes, 1+0+1+0 records, response, authoritative, noerror query: 2 elb.amazonaws.com authority: amazonaws.com 5 SOA pdns1.ultradns.net hostmaster.amazon.com 2014060237 180 60 2592000 5 }}} $ dnsq ns elb.amazonaws.com 156.154.65.10 {{{ 2 elb.amazonaws.com: 107 bytes, 1+0+1+0 records, response, authoritative, noerror query: 2 elb.amazonaws.com authority: amazonaws.com 5 SOA pdns1.ultradns.net hostmaster.amazon.com 2014060237 180 60 2592000 5 }}} だが、上にある205.251.192.27などはNXDOMAINを返す。 $ dnsq ns elb.amazonaws.com 205.251.192.27 {{{ 2 elb.amazonaws.com: 109 bytes, 1+0+1+0 records, response, authoritative, nxdomain query: 2 elb.amazonaws.com authority: amazonaws.com 7200 SOA dns-external-master.amazon.com hostmaster.amazon.com 2012091400 180 60 2592000 5 }}} $ dnsq ns elb.amazonaws.com 205.251.195.199 {{{ 2 elb.amazonaws.com: 109 bytes, 1+0+1+0 records, response, authoritative, nxdomain query: 2 elb.amazonaws.com authority: amazonaws.com 7200 SOA dns-external-master.amazon.com hostmaster.amazon.com 2012091400 180 60 2592000 5 }}}