soa queryに対する SERVFAIL 返答は正しいのかも。-- ToshinoriMaeno 2022-10-25 23:08:22
lameであることを棚上げすれば、権威サーバーとしての動作は正しいかも。(ゾーンがないのは問題か。)
1. whois
[Domain Name] LOHASFESTA.JP [Registrant] yoshihisa osako [Name Server] ns1.sixcore.ne.jp [Name Server] ns2.sixcore.ne.jp [Name Server] ns3.sixcore.ne.jp [Signing Key] [Created on] 2008/03/25 [Expires on] 2023/03/31 [Status] Active [Last Updated] 2022/04/01 01:05:09 (JST)
2. history
SOAを問い合わせているのに、SERVFAILとは。
- 返答の内容は矛盾に満ちている。
$ dig -t soa lohasfesta.jp @ns3.sixcore.ne.jp ; <<>> DiG 9.11.3-1ubuntu1.17-Ubuntu <<>> -t soa lohasfesta.jp @ns3.sixcore.ne.jp ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 60515 ;; flags: qr rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 ;; WARNING: recursion requested but not available ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 2800 ; NSID: 6e 73 33 2e 73 69 78 63 6f 72 65 2e 6e 65 2e 6a 70 ("ns3.sixcore.ne.jp") ;; QUESTION SECTION: ;lohasfesta.jp. IN SOA ;; ANSWER SECTION: lohasfesta.jp. 3600 IN CNAME lohasfesta-24807479.ap-northeast-1.elb.amazonaws.com. ;; Query time: 26 msec ;; SERVER: 210.188.201.248#53(210.188.201.248) ;; WHEN: Sat Apr 09 23:46:22 JST 2022 ;; MSG SIZE rcvd: 129
3. 8.8.8.8
NS queryに対して、NS, CNAME がそれぞれ返る。(複数の振る舞い)
- 1.1.1.1 も類似。
$ dig -t ns lohasfesta\.jp @8.8.8.8 ; <<>> DiG 9.18.1-1ubuntu1.2-Ubuntu <<>> -t ns lohasfesta.jp @8.8.8.8 ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 8888 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 512 ; NSID: 67 70 64 6e 73 2d 6e 72 74 ("gpdns-nrt") ;; QUESTION SECTION: ;lohasfesta.jp. IN NS ;; ANSWER SECTION: lohasfesta.jp. 2763 IN CNAME lohasfesta-24807479.ap-northeast-1.elb.amazonaws.com. ;; AUTHORITY SECTION: ap-northeast-1.elb.amazonaws.com. 60 IN SOA ns-1683.awsdns-18.co.uk. awsdns-hostmaster.amazon.com. 1 7200 900 1209600 60 ;; Query time: 8 msec ;; SERVER: 8.8.8.8#53(8.8.8.8) (UDP) ;; WHEN: Fri Oct 28 09:07:17 JST 2022 ;; MSG SIZE rcvd: 205
$ dig -t ns lohasfesta.jp @8.8.8.8 ; <<>> DiG 9.18.1-1ubuntu1.2-Ubuntu <<>> -t ns lohasfesta.jp @8.8.8.8 ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 43867 ;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 512 ;; QUESTION SECTION: ;lohasfesta.jp. IN NS ;; ANSWER SECTION: lohasfesta.jp. 3600 IN NS ns3.sixcore.ne.jp. lohasfesta.jp. 3600 IN NS ns1.sixcore.ne.jp. lohasfesta.jp. 3600 IN NS ns2.sixcore.ne.jp. ;; Query time: 15 msec ;; SERVER: 8.8.8.8#53(8.8.8.8) (UDP) ;; WHEN: Tue Nov 01 15:53:56 JST 2022 ;; MSG SIZE rcvd: 107
$ dig -t ns lohasfesta.jp @8.8.8.8 ; <<>> DiG 9.18.1-1ubuntu1.2-Ubuntu <<>> -t ns lohasfesta.jp @8.8.8.8 ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 12807 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 512 ;; QUESTION SECTION: ;lohasfesta.jp. IN NS ;; ANSWER SECTION: lohasfesta.jp. 3250 IN CNAME lohasfesta-24807479.ap-northeast-1.elb.amazonaws.com. ;; AUTHORITY SECTION: ap-northeast-1.elb.amazonaws.com. 60 IN SOA ns-1683.awsdns-18.co.uk. awsdns-hostmaster.amazon.com. 1 7200 900 1209600 60 ;; Query time: 7 msec ;; SERVER: 8.8.8.8#53(8.8.8.8) (UDP) ;; WHEN: Tue Nov 01 15:54:55 JST 2022 ;; MSG SIZE rcvd: 192
4. 9.9.9.9
$ dig -t ns lohasfesta.jp @9.9.9.9 ; <<>> DiG 9.18.1-1ubuntu1.2-Ubuntu <<>> -t ns lohasfesta.jp @9.9.9.9 ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 20646 ;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 512 ;; QUESTION SECTION: ;lohasfesta.jp. IN NS ;; ANSWER SECTION: lohasfesta.jp. 3599 IN NS ns2.sixcore.ne.jp. lohasfesta.jp. 3599 IN NS ns3.sixcore.ne.jp. lohasfesta.jp. 3599 IN NS ns1.sixcore.ne.jp. ;; Query time: 3 msec ;; SERVER: 9.9.9.9#53(9.9.9.9) (UDP) ;; WHEN: Tue Nov 01 15:57:41 JST 2022 ;; MSG SIZE rcvd: 107