1. watchNS/saitoshika-west.com
fc2.com DNSの問題点が見えたのは幸運だった。-- ToshinoriMaeno 2018-02-23 01:32:38
1.1. saitoshika_west
https://twitter.com/saitoshika_west/status/962995223096737792
WordPres専門のサーバー移転サービス「サイト引越し屋さん」にブログ移転を依頼。 FC2からWordPressへのスムーズな移転が実現!|Re-urbanization -再都市化-
https://saitoshika-west.com/blog-entry-4788.html
- 1・17には移転したはずなのだが、...
-- ToshinoriMaeno 2018-02-12 15:36:38
一番時間がかかったのはWordPressのデーマを決める事。
1.2. whois
Daily visitors: 2 403 Daily pageviews: 4 807 Alexa Rank: 1073424 Created: 2013-05-18 Expires: 2018-05-18 Owner: PROTECT WHOIS (FC2,INC) Hosting company: FC2 INC Registrar: ENOM, INC. IPs: 104.244.98.64 DNS: mdns1.fc2.com mdns2.fc2.com
1.3. 移転前
問題のあるzone設定
$ dig -t ns saitoshika-west.com @mdns1.fc2.com
; <<>> DiG 9.11.2 <<>> -t ns saitoshika-west.com @mdns1.fc2.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 37396 ;; flags: qr aa rd ad; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 4 ;; WARNING: recursion requested but not available ;; QUESTION SECTION: ;saitoshika-west.com. IN NS ;; ANSWER SECTION: saitoshika-west.com. 86400 IN CNAME saitoshika.blog.fc2.com. ;; AUTHORITY SECTION: fc2.com. 86400 IN NS mdns1.fc2.com. fc2.com. 86400 IN NS mdns2.fc2.com. fc2.com. 86400 IN NS mdns3.fc2.com. ;; ADDITIONAL SECTION: saitoshika.blog.fc2.com. 86400 IN CNAME blog-cach-ElasticL-HJNP94VKMIH2-1363093325.ap-northeast-1.elb.amazonaws.com. mdns1.fc2.com. 86400 IN A 208.71.107.72 mdns2.fc2.com. 86400 IN A 208.71.107.73 mdns3.fc2.com. 86400 IN A 208.71.107.74 ;; Query time: 155 msec ;; SERVER: 54.218.49.223#53(54.218.49.223) ;; WHEN: Fri Jan 19 23:58:58 JST 2018 ;; MSG SIZE rcvd: 265
1.4. 移転後
Domain Name: SAITOSHIKA-WEST.COM Registry Domain ID: 1802142118_DOMAIN_COM-VRSN Registrar WHOIS Server: whois.enom.com Registrar URL: http://www.enom.com Updated Date: 2018-01-17T05:43:07Z Creation Date: 2013-05-18T08:34:15Z Registry Expiry Date: 2018-05-18T08:34:15Z Registrar: eNom, Inc. Registrar IANA ID: 48 Registrar Abuse Contact Email: Registrar Abuse Contact Phone: Domain Status: clientTransferProhibited https://icann.org/epp#clientTransferProhibited Name Server: NS1.XSERVER.JP Name Server: NS2.XSERVER.JP Name Server: NS3.XSERVER.JP Name Server: NS4.XSERVER.JP Name Server: NS5.XSERVER.JP DNSSEC: unsigned
$ dnsq a saitoshika-west.com a.gtld-servers.net 1 saitoshika-west.com: 137 bytes, 1+0+5+0 records, response, noerror query: 1 saitoshika-west.com authority: saitoshika-west.com 172800 NS ns1.xserver.jp authority: saitoshika-west.com 172800 NS ns2.xserver.jp authority: saitoshika-west.com 172800 NS ns3.xserver.jp authority: saitoshika-west.com 172800 NS ns4.xserver.jp authority: saitoshika-west.com 172800 NS ns5.xserver.jp tmaeno@u16:~$ dnsq a saitoshika-west.com ns1.xserver.jp 1 saitoshika-west.com: 53 bytes, 1+1+0+0 records, response, authoritative, noerror query: 1 saitoshika-west.com answer: saitoshika-west.com 86400 A 183.181.98.15
1.5. ???
面白い返事をするのだが、どういう意味だろう。
NSが存在しないだけでなく、CNAMEになっている。設定がダメなのだから、返事もダメなのは当然だ。-- ToshinoriMaeno 2018-02-12 15:40:10
$ dnsq ns saitoshika-west.com mdns1.fc2.com 2 saitoshika-west.com: 94 bytes, 1+0+1+0 records, response, authoritative, nxdomain query: 2 saitoshika-west.com authority: saitoshika-west.com 86400 SOA mdns1.fc2.com hostmaster.saitoshika-west.com 5 28800 7200 604480 86400
$ dnsq any saitoshika-west.com mdns1.fc2.com 255 saitoshika-west.com: 94 bytes, 1+1+0+0 records, response, authoritative, noerror query: 255 saitoshika-west.com answer: saitoshika-west.com 86400 SOA mdns1.fc2.com hostmaster.saitoshika-west.com 5 28800 7200 604480 86400
SOAレコードだけが残っているということのようだ。
-- ToshinoriMaeno 2018-01-21 23:09:48
1.6. 残りカスの返事
このNXDOMAIN返答はおかしい。
$ dig -t a saitoshika-west.com @mdns1.fc2.com ; <<>> DiG 9.12.0 <<>> -t a saitoshika-west.com @mdns1.fc2.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 2088 ;; flags: qr aa rd ad; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; WARNING: recursion requested but not available ;; QUESTION SECTION: ;saitoshika-west.com. IN A ;; AUTHORITY SECTION: saitoshika-west.com. 86400 IN SOA mdns1.fc2.com. hostmaster.saitoshika-west.com. 5 28800 7200 604480 86400 ;; Query time: 125 msec ;; SERVER: 54.218.49.223#53(54.218.49.223) ;; WHEN: Tue Feb 13 00:43:24 JST 2018 ;; MSG SIZE rcvd: 94
$ dig -t a www.saitoshika-west.com @mdns1.fc2.com ; <<>> DiG 9.12.0 <<>> -t a www.saitoshika-west.com @mdns1.fc2.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 37180 ;; flags: qr aa rd ad; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; WARNING: recursion requested but not available ;; QUESTION SECTION: ;www.saitoshika-west.com. IN A ;; AUTHORITY SECTION: saitoshika-west.com. 86400 IN SOA mdns1.fc2.com. hostmaster.saitoshika-west.com. 5 28800 7200 604480 86400 ;; Query time: 140 msec ;; SERVER: 54.218.49.223#53(54.218.49.223) ;; WHEN: Tue Feb 13 00:41:47 JST 2018 ;; MSG SIZE rcvd: 98