## page was renamed from watchNS/tamapack.co.jp == watchNS/tamapack.co.jp == DNS Cookies server cookieを使うと、NSが得られないという現象がおきている。 FORMERRを返してくる。 %dnsq ns tamapack.co.jp a.dns.jp {{{ 2 tamapack.co.jp: 102 bytes, 1+0+2+1 records, response, noerror query: 2 tamapack.co.jp authority: tamapack.co.jp 86400 NS ns-tk012.ocn.ad.jp authority: tamapack.co.jp 86400 NS akishima1.tamapack.co.jp additional: akishima1.tamapack.co.jp 86400 A 210.160.154.162 }}} %dnsq ns tamapack.co.jp ns-tk012.ocn.ad.jp {{{ 2 tamapack.co.jp: 86 bytes, 1+2+0+0 records, response, authoritative, noerror query: 2 tamapack.co.jp answer: tamapack.co.jp 3600 NS akishima1.tamapack.co.jp answer: tamapack.co.jp 3600 NS ns-tk012.ocn.ad.jp }}} %dnsq ns tamapack.co.jp akishima1.tamapack.co.jp {{{ 2 tamapack.co.jp: 102 bytes, 1+2+0+1 records, response, authoritative, weird ra, noerror query: 2 tamapack.co.jp answer: tamapack.co.jp 3600 NS akishima1.tamapack.co.jp answer: tamapack.co.jp 3600 NS ns-tk012.ocn.ad.jp additional: akishima1.tamapack.co.jp 3600 A 210.160.154.162 }}} == dig (cookies) == NSが取り出せない。 $ dig @akishima1.tamapack.co.jp -t ns tamapack.co.jp {{{ ; <<>> DiG 9.11.0-P3 <<>> @akishima1.tamapack.co.jp -t ns tamapack.co.jp ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: FORMERR, id: 8387 ;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1 ;; WARNING: recursion requested but not available ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ; COOKIE: 9eb4b4f3a5bd410a (echoed) ;; QUESTION SECTION: ;tamapack.co.jp. IN NS ;; Query time: 23 msec ;; SERVER: 210.160.154.162#53(210.160.154.162) ;; WHEN: Tue Apr 11 14:54:39 JST 2017 ;; MSG SIZE rcvd: 55 }}} == nocookie == $ dig +nocookie @akishima1.tamapack.co.jp -t ns tamapack.co.jp {{{ ; <<>> DiG 9.11.0-P3 <<>> +nocookie @akishima1.tamapack.co.jp -t ns tamapack.co.jp ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 3166 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 2 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 1280 ;; QUESTION SECTION: ;tamapack.co.jp. IN NS ;; ANSWER SECTION: tamapack.co.jp. 3600 IN NS ns-tk012.ocn.ad.jp. tamapack.co.jp. 3600 IN NS akishima1.tamapack.co.jp. ;; ADDITIONAL SECTION: akishima1.tamapack.co.jp. 3600 IN A 210.160.154.162 ;; Query time: 13 msec ;; SERVER: 210.160.154.162#53(210.160.154.162) ;; WHEN: Tue Apr 11 14:55:31 JST 2017 ;; MSG SIZE rcvd: 113 }}} == +sit (BIND9.10) == %dig +sit @akishima1.tamapack.co.jp -t ns tamapack.co.jp ~ {{{ ; <<>> DiG 9.10.4-P6 <<>> +sit @akishima1.tamapack.co.jp -t ns tamapack.co.jp ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: FORMERR, id: 65426 ;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1 ;; WARNING: recursion requested but not available ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ; COOKIE: 34913e088fce5f2f (good) ;; QUESTION SECTION: ;tamapack.co.jp. IN NS ;; Query time: 15 msec ;; SERVER: 210.160.154.162#53(210.160.154.162) ;; WHEN: Tue Apr 11 14:57:25 JST 2017 ;; MSG SIZE rcvd: 55 }}}