MoinQ:

DNS/実装/KnotDNSresolver/query-minimization/badCDNについて、ここに記述してください。

調査のまとめ

us-west-2.elb.amazonaws.com.    60 SOA

$ kdig my-loadbalancer-1234567890.us-west-2.elb.amazonaws.com @127.0.0.3

;; ->>HEADER<<- opcode: QUERY; status: NXDOMAIN; id: 8917
;; Flags: qr rd ra; QUERY: 1; ANSWER: 0; AUTHORITY: 1; ADDITIONAL: 0

;; QUESTION SECTION:
;; my-loadbalancer-1234567890.us-west-2.elb.amazonaws.com.      IN      A

;; AUTHORITY SECTION:
us-west-2.elb.amazonaws.com.    60      IN      SOA     ns-332.awsdns-41.com. awsdns-hostmaster.amazon.com. 1 7200 900 1209600 60

;; Received 150 B
;; Time 2016-03-18 11:51:06 JST
;; From 127.0.0.3@53(UDP) in 1177.0 ms

> cachectl.clear()
true

> [plan] plan 'my-loadbalancer-1234567890.us-west-2.elb.amazonaws.com.' type 'A'
[resl]   => using root hints
[resl]   => querying: '202.12.27.33' score: 10 zone cut: '.' m12n: 'cOm.' type: 'NS'
[resl]      optional: '199.7.83.42' score: 10 zone cut: '.' m12n: 'cOm.' type: 'NS'
[resl]      optional: '193.0.14.129' score: 10 zone cut: '.' m12n: 'cOm.' type: 'NS'
[resl]      optional: '192.58.128.30' score: 10 zone cut: '.' m12n: 'cOm.' type: 'NS'
[iter]   <= referral response, follow
[resl]   <= server: '202.12.27.33' rtt: 6 ms
[resl]   => querying: '192.55.83.30' score: 10 zone cut: 'com.' m12n: 'aMazOnAws.coM.' type: 'NS'
[resl]      optional: '192.41.162.30' score: 10 zone cut: 'com.' m12n: 'aMazOnAws.coM.' type: 'NS'
[resl]      optional: '192.52.178.30' score: 10 zone cut: 'com.' m12n: 'aMazOnAws.coM.' type: 'NS'
[resl]      optional: '192.48.79.30' score: 10 zone cut: 'com.' m12n: 'aMazOnAws.coM.' type: 'NS'
[iter]   <= referral response, follow
[resl]   <= server: '192.55.83.30' rtt: 73 ms
[resl]   => querying: '156.154.65.10' score: 10 zone cut: 'amazonaws.com.' m12n: 'ElB.amaZonaws.cOM.' type: 'NS'
[resl]      optional: '156.154.64.10' score: 10 zone cut: 'amazonaws.com.' m12n: 'ElB.amaZonaws.cOM.' type: 'NS'
[resl]      optional: '205.251.195.199' score: 10 zone cut: 'amazonaws.com.' m12n: 'ElB.amaZonaws.cOM.' type: 'NS'
[resl]      optional: '205.251.192.27' score: 10 zone cut: 'amazonaws.com.' m12n: 'ElB.amaZonaws.cOM.' type: 'NS'
[iter]   <= rcode: NOERROR
[iter]   <= found cut, retrying with non-minimized name
[ pc ]   => answer cached for TTL=5
[resl]   <= server: '156.154.65.10' rtt: 10 ms
[resl]   => querying: '156.154.64.10' score: 10 zone cut: 'amazonaws.com.' m12n: 'MY-lOaDbAlAnCeR-1234567890.Us-WEST-2.eLb.aMaZoNAWS.COm.' type: 'A'
[resl]      optional: '205.251.195.199' score: 10 zone cut: 'amazonaws.com.' m12n: 'MY-lOaDbAlAnCeR-1234567890.Us-WEST-2.eLb.aMaZoNAWS.COm.' type: 'A'
[resl]      optional: '205.251.192.27' score: 10 zone cut: 'amazonaws.com.' m12n: 'MY-lOaDbAlAnCeR-1234567890.Us-WEST-2.eLb.aMaZoNAWS.COm.' type: 'A'
[iter]   <= referral response, follow
[resl]   <= server: '156.154.64.10' rtt: 9 ms

[plan]   plan 'ns-1769.awsdns-29.co.uk.' type 'AAAA'
[resl]     => using root hints
[resl]     => querying: '199.7.83.42' score: 10 zone cut: '.' m12n: 'uk.' type: 'NS'
[resl]        optional: '193.0.14.129' score: 10 zone cut: '.' m12n: 'uk.' type: 'NS'
[resl]        optional: '192.58.128.30' score: 10 zone cut: '.' m12n: 'uk.' type: 'NS'
[resl]        optional: '192.36.148.17' score: 10 zone cut: '.' m12n: 'uk.' type: 'NS'
[iter]     <= referral response, follow
[resl]     <= server: '193.0.14.129' rtt: 306 ms
[resl]     => querying: '43.230.48.1' score: 10 zone cut: 'uk.' m12n: 'co.uK.' type: 'NS'
[resl]        optional: '213.248.220.1' score: 10 zone cut: 'uk.' m12n: 'co.uK.' type: 'NS'
[resl]        optional: '103.49.80.1' score: 10 zone cut: 'uk.' m12n: 'co.uK.' type: 'NS'
[resl]        optional: '213.248.216.1' score: 10 zone cut: 'uk.' m12n: 'co.uK.' type: 'NS'
[iter]     <= rcode: NOERROR
[iter]     <= found cut, retrying with non-minimized name
[resl]     <= server: '43.230.48.1' rtt: 251 ms
[resl]     => querying: '213.248.220.1' score: 10 zone cut: 'uk.' m12n: 'Ns-1769.aWsdNs-29.CO.Uk.' type: 'AAAA'
[resl]        optional: '103.49.80.1' score: 10 zone cut: 'uk.' m12n: 'Ns-1769.aWsdNs-29.CO.Uk.' type: 'AAAA'
[resl]        optional: '213.248.216.1' score: 10 zone cut: 'uk.' m12n: 'Ns-1769.aWsdNs-29.CO.Uk.' type: 'AAAA'
[resl]        optional: '156.154.103.3' score: 10 zone cut: 'uk.' m12n: 'Ns-1769.aWsdNs-29.CO.Uk.' type: 'AAAA'
[iter]     <= referral response, follow
[resl]     <= server: '213.248.220.1' rtt: 252 ms
[resl]     => querying: '205.251.199.33' score: 10 zone cut: 'awsdns-29.co.uk.' m12n: 'ns-1769.aWSDNS-29.cO.uk.' type: 'AAAA'
[resl]        optional: '205.251.197.224' score: 10 zone cut: 'awsdns-29.co.uk.' m12n: 'ns-1769.aWSDNS-29.cO.uk.' type: 'AAAA'
[resl]        optional: '205.251.195.157' score: 10 zone cut: 'awsdns-29.co.uk.' m12n: 'ns-1769.aWSDNS-29.cO.uk.' type: 'AAAA'
[resl]        optional: '205.251.193.93' score: 10 zone cut: 'awsdns-29.co.uk.' m12n: 'ns-1769.aWSDNS-29.cO.uk.' type: 'AAAA'
[iter]     <= rcode: NOERROR
[ pc ]     => answer cached for TTL=900
[resl]     <= server: '205.251.199.33' rtt: 123 ms

[plan]   plan 'ns-1769.awsdns-29.co.uk.' type 'A'
[resl]     => querying: '205.251.197.224' score: 10 zone cut: 'awsdns-29.co.uk.' m12n: 'NS-1769.aWsdns-29.CO.Uk.' type: 'A'
[resl]        optional: '205.251.195.157' score: 10 zone cut: 'awsdns-29.co.uk.' m12n: 'NS-1769.aWsdns-29.CO.Uk.' type: 'A'
[resl]        optional: '205.251.193.93' score: 10 zone cut: 'awsdns-29.co.uk.' m12n: 'NS-1769.aWsdns-29.CO.Uk.' type: 'A'
[iter]     <= rcode: NOERROR
[resl]     <= server: '205.251.197.224' rtt: 17 ms
[resl]   => querying: '205.251.198.233' score: 10 zone cut: 'us-west-2.elb.amazonaws.com.' m12n: 'mY-loAdbALAnCER-1234567890.US-wesT-2.Elb.AMaZONAws.COM.' type: 'A'
[iter]   <= rcode: NXDOMAIN
[ pc ]   => answer cached for TTL=60
[resl]   <= server: '205.251.198.233' rtt: 122 ms
[resl] finished: 4, queries: 3, mempool: 32800 B