BIND9 と Unbound の digコマンド応答
目次
ドメイン宛
正引き
・レコード指定なし
BIND
◯◯◯◯@sv012:/$ dig @127.0.0.1 example.jp
; <<>> DiG 9.10.3-P4-Debian <<>> @127.0.0.1 example.jp
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5794
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;example.jp. IN A;; AUTHORITY SECTION:
example.jp. 86400 IN SOA ns1.example.jp. hostmaster. sv012.example.jp. 2017031802 86400 7200 604800 86400;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Sun Nov 05 09:42:43 JST 2017
;; MSG SIZE rcvd: 100
Unbound
◯◯◯◯@sv012:/$ dig @127.0.0.2 example.jp
; <<>> DiG 9.10.3-P4-Debian <<>> @127.0.0.2 example.jp
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 38075
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;example.jp. IN A;; AUTHORITY SECTION:
example.jp. 86400 IN SOA ns1.example.jp. hostmaster.sv012.example.jp. 2017110401 86400 7200 604800 86400;; Query time: 0 msec
;; SERVER: 127.0.0.2#53(127.0.0.2)
;; WHEN: Sun Nov 05 09:43:02 JST 2017
;; MSG SIZE rcvd: 100
・ANY
BIND
◯◯◯◯@sv012:/$ dig @127.0.0.1 example.jp ANY
; <<>> DiG 9.10.3-P4-Debian <<>> @127.0.0.1 example.jp ANY
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 60313
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 2;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;example.jp. IN ANY;; ANSWER SECTION:
example.jp. 86400 IN SOA ns1.example.jp. hostmaster.sv012.example.jp. 2017031802 86400 7200 604800 86400
example.jp. 86400 IN NS ns1.example.jp.;; ADDITIONAL SECTION:
ns1.example.jp. 86400 IN A 192.168.1.81;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Sun Nov 05 09:42:49 JST 2017
;; MSG SIZE rcvd: 130
Unbound
◯◯◯◯@sv012:/$ dig @127.0.0.2 example.jp ANY
; <<>> DiG 9.10.3-P4-Debian <<>> @127.0.0.2 example.jp ANY
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 56395
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;example.jp. IN ANY;; AUTHORITY SECTION:
example.jp. 86400 IN SOA ns1.example.jp. hostmaster.sv012.example.jp. 2017110401 86400 7200 604800 86400;; Query time: 0 msec
;; SERVER: 127.0.0.2#53(127.0.0.2)
;; WHEN: Sun Nov 05 09:43:07 JST 2017
;; MSG SIZE rcvd: 100
・NS
BIND
◯◯◯◯@sv012:/$ dig @127.0.0.1 example.jp NS
; <<>> DiG 9.10.3-P4-Debian <<>> @127.0.0.1 example.jp NS
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1557
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 2;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;example.jp. IN NS;; ANSWER SECTION:
example.jp. 86400 IN NS ns1.example.jp.;; ADDITIONAL SECTION:
ns1.example.jp. 86400 IN A 192.168.1.81;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Sun Nov 05 09:42:52 JST 2017
;; MSG SIZE rcvd: 77
Unbound
◯◯◯◯@sv012:/$ dig @127.0.0.2 example.jp NS
; <<>> DiG 9.10.3-P4-Debian <<>> @127.0.0.2 example.jp NS
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35969
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;example.jp. IN NS;; ANSWER SECTION:
example.jp. 86400 IN NS ns1.example.jp.;; Query time: 0 msec
;; SERVER: 127.0.0.2#53(127.0.0.2)
;; WHEN: Sun Nov 05 09:43:16 JST 2017
;; MSG SIZE rcvd: 61
・SOA
BIND
◯◯◯◯@sv012:/$ dig @127.0.0.1 example.jp SOA
; <<>> DiG 9.10.3-P4-Debian <<>> @127.0.0.1 example.jp SOA
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 46675
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;example.jp. IN SOA;; ANSWER SECTION:
example.jp. 86400 IN SOA ns1.example.jp. hostmaster.sv012.example.jp. 2017031802 86400 7200 604800 86400;; AUTHORITY SECTION:
example.jp. 86400 IN NS ns1.example.jp.;; ADDITIONAL SECTION:
ns1.example.jp. 86400 IN A 192.168.1.81;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Sun Nov 05 09:42:55 JST 2017
;; MSG SIZE rcvd: 130
Unbound
◯◯◯◯@sv012:/$ dig @127.0.0.2 example.jp SOA
; <<>> DiG 9.10.3-P4-Debian <<>> @127.0.0.2 example.jp SOA
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53620
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;example.jp. IN SOA;; ANSWER SECTION:
example.jp. 86400 IN SOA ns1.example.jp. hostmaster.sv012.example.jp. 2017110401 86400 7200 604800 86400;; Query time: 0 msec
;; SERVER: 127.0.0.2#53(127.0.0.2)
;; WHEN: Sun Nov 05 09:43:22 JST 2017
;; MSG SIZE rcvd: 100
コメント
BIND9 と Unbound の digコマンド応答 — コメントはまだありません
HTML tags allowed in your comment: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>