DNS/実装/KnotDNSresolver/query-minimization/www.toyota.jp/log.2について、ここに記述してください。
$ kdig -t a www.toyota.jp @127.0.0.3
; Warning: response timeout for 127.0.0.3@53(UDP) ; Warning: truncated reply from 127.0.0.3@53(UDP), retrying over TCP ;; ->>HEADER<<- opcode: QUERY; status: NOERROR; id: 43345 ;; Flags: qr rd ra; QUERY: 1; ANSWER: 9; AUTHORITY: 0; ADDITIONAL: 0 ;; QUESTION SECTION: ;; www.toyota.jp. IN A ;; ANSWER SECTION: www.toyota.jp. 56 IN CNAME dualstack.commercial-atidglb10-1335373542.ap-northeast-1.elb.amazonaws.com. dualstack.commercial-atidglb10-1335373542.ap-northeast-1.elb.amazonaws.com. 59 IN A 52.68.114.13 dualstack.commercial-atidglb10-1335373542.ap-northeast-1.elb.amazonaws.com. 59 IN A 52.68.160.132 dualstack.commercial-atidglb10-1335373542.ap-northeast-1.elb.amazonaws.com. 59 IN A 52.68.245.27 dualstack.commercial-atidglb10-1335373542.ap-northeast-1.elb.amazonaws.com. 59 IN A 52.69.82.147 dualstack.commercial-atidglb10-1335373542.ap-northeast-1.elb.amazonaws.com. 59 IN A 52.69.106.152 dualstack.commercial-atidglb10-1335373542.ap-northeast-1.elb.amazonaws.com. 59 IN A 52.69.113.253 dualstack.commercial-atidglb10-1335373542.ap-northeast-1.elb.amazonaws.com. 59 IN A 52.69.132.238 dualstack.commercial-atidglb10-1335373542.ap-northeast-1.elb.amazonaws.com. 59 IN A 54.178.255.214 ;; Received 321 B ;; Time 2015-10-22 09:58:39 JST ;; From 127.0.0.3@53(TCP) in 0.3 ms
> [plan] plan 'www.toyota.jp.' type 'A' [resl] => root priming query [plan] plan '.' type 'NS' [resl] => querying: '198.41.0.4' score: 10 zone cut: '.' m12n: '.' type: 'NS' [iter] <= rcode: NOERROR [resl] => querying: '192.228.79.201' score: 10 zone cut: '.' m12n: 'jp.' type: 'NS' [iter] <= referral response, follow [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: '199.7.91.13' score: 10 zone cut: '.' m12n: 'net.' type: 'NS' [iter] <= referral response, follow [resl] => querying: '192.52.178.30' score: 10 zone cut: 'net.' m12n: 'root-servers.net.' type: 'NS' [iter] <= referral response, follow [resl] => querying: '192.33.4.12' score: 10 zone cut: 'root-servers.net.' m12n: 'a.root-servers.net.' type: 'AAAA' [iter] <= rcode: NOERROR [resl] => querying: '198.41.0.4' score: 324 zone cut: '.' m12n: 'net.' type: 'NS' [iter] <= referral response, follow [resl] => querying: '192.55.83.30' score: 10 zone cut: 'net.' m12n: 'akam.net.' type: 'NS' [iter] <= referral response, follow [resl] => querying: '2.16.130.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: '23.211.61.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: '192.203.230.10' score: 10 zone cut: '.' m12n: 'com.' type: 'NS' [iter] <= referral response, follow [resl] => querying: '192.5.6.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 [iter] <= found cut, retrying with non-minimized name [ pc ] => answer cached for TTL=900 [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.42.93.30' score: 10 zone cut: 'com.' m12n: 'awsdns-06.com.' type: 'NS' [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' [plan] plan 'ns-54.awsdns-06.com.' type 'AAAA' [resl] => querying: '192.52.178.30' score: 682 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] <= referral response, follow [resl] => querying: '205.251.194.70' score: 10 zone cut: 'awsdns-06.com.' m12n: 'ns-54.awsdns-06.com.' type: 'AAAA' [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 [ pc ] => answer cached for TTL=900 [plan] plan 'ns-54.awsdns-06.com.' type 'A' [ rc ] => satisfied from cache [iter] <= rcode: NOERROR [resl] => querying: '205.251.192.54' score: 10 zone cut: 'ap-northeast-1.elb.amazonaws.com.' m12n: 'commercial-atidglb10-1335373542.ap-northeast-1.elb.amazonaws.com.' type: 'NS' [iter] <= rcode: NOERROR [resl] finished: 4, queries: 8, mempool: 65568 B [iter] <= rcode: NOERROR [iter] <= found cut, retrying with non-minimized name [ pc ] => answer cached for TTL=60 [resl] => querying: '205.251.192.54' score: 391 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: 4, mempool: 16392 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: 147480 B
- 'elb.amazonaws.com.' NS がキャッシュされているにもかかわらず、問い合せしなおしている。(修正が必要)
-- ToshinoriMaeno 2015-10-22 01:27:49
[plan] plan 'ap-northeast-1.elb.amazonaws.com.' type 'A' [resl] => querying: '156.154.64.10' 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] => querying: '156.154.65.10' score: 10 zone cut: 'amazonaws.com.' m12n: 'ap-northeast-1.elb.amazonaws.com.' type: 'A' [iter] <= referral response, follow [plan] plan 'ns-982.awsdns-58.net.' type 'AAAA' [resl] => querying: '192.26.92.30' score: 10 zone cut: 'net.' m12n: 'awsdns-58.net.' type: 'NS' [iter] <= referral response, follow [resl] => querying: '205.251.193.251' score: 10 zone cut: 'awsdns-58.net.' m12n: 'ns-982.awsdns-58.net.' type: 'AAAA' [iter] <= rcode: NOERROR [ pc ] => answer cached for TTL=900 [plan] plan 'ns-982.awsdns-58.net.' type 'A' [resl] => querying: '205.251.195.60' score: 10 zone cut: 'awsdns-58.net.' m12n: 'ns-982.awsdns-58.net.' type: 'A' [iter] <= rcode: NOERROR [resl] => querying: '205.251.195.214' score: 10 zone cut: 'ap-northeast-1.elb.amazonaws.com.' m12n: 'ap-northeast-1.elb.amazonaws.com.' type: 'A' [iter] <= rcode: NOERROR [ pc ] => answer cached for TTL=60 [resl] finished: 4, queries: 3, mempool: 16392 B