BIND9 と Unbound の digコマンド応答
目次
サーバー宛
正引き
・レコード指定なし
BIND
dig @127.0.0.2 ntp1.example.jp
; <<>> DiG 9.10.3-P4-Debian <<>> @127.0.0.1 ntp1.example.jp
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 59164
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;ntp1.example.jp. IN A;; ANSWER SECTION:
ntp1.example.jp. 86400 IN A 192.168.1.33;; 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:41:40 JST 2017
;; MSG SIZE rcvd: 98
Unbound
◯◯◯◯@sv012:/$ dig @127.0.0.2 ntp1.example.jp
; <<>> DiG 9.10.3-P4-Debian <<>> @127.0.0.2 ntp1.example.jp
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 60562
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;ntp1.example.jp. IN A;; ANSWER SECTION:
ntp1.example.jp. 86400 IN A 192.168.1.33;; Query time: 0 msec
;; SERVER: 127.0.0.2#53(127.0.0.2)
;; WHEN: Sun Nov 05 09:42:04 JST 2017
;; MSG SIZE rcvd: 64
・ANY
BIND
◯◯◯◯@sv012:/$ dig @127.0.0.1 ntp1.example.jp ANY
; <<>> DiG 9.10.3-P4-Debian <<>> @127.0.0.1 ntp1.example.jp ANY
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28563
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;ntp1.example.jp. IN ANY;; ANSWER SECTION:
ntp1.example.jp. 86400 IN A 192.168.1.33;; 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:41:49 JST 2017
;; MSG SIZE rcvd: 98
Unbound
◯◯◯◯@sv012:/$ dig @127.0.0.2 ntp1.example.jp ANY
; <<>> DiG 9.10.3-P4-Debian <<>> @127.0.0.2 ntp1.example.jp ANY
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 36283
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;ntp1.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:42:19 JST 2017
;; MSG SIZE rcvd: 105
・NS
BIND
◯◯◯◯@sv012:/$ dig @127.0.0.1 ntp1.example.jp NS
; <<>> DiG 9.10.3-P4-Debian <<>> @127.0.0.1 ntp1.example.jp NS
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16221
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;ntp1.example.jp. IN NS;; 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:41:45 JST 2017
;; MSG SIZE rcvd: 105
Unbound
◯◯◯◯@sv012:/$ dig @127.0.0.2 ntp1.example.jp NS
; <<>> DiG 9.10.3-P4-Debian <<>> @127.0.0.2 ntp1.example.jp NS
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 7584
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;ntp1.example.jp. IN NS;; AUTHORITY SECTION:
example.jp. 86400 IN SOAns1.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:42:11 JST 2017
;; MSG SIZE rcvd: 105
・SOA
BIND
◯◯◯◯@sv012:/$ dig @127.0.0.1 ntp1.example.jp SOA
; <<>> DiG 9.10.3-P4-Debian <<>> @127.0.0.1 ntp1.example.jp SOA
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23715
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;ntp1.example.jp. IN SOA;; 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:41:53 JST 2017
;; MSG SIZE rcvd: 105
Unbound
◯◯◯◯@sv012:/$ dig @127.0.0.2 ntp1.example.jp SOA
; <<>> DiG 9.10.3-P4-Debian <<>> @127.0.0.2 ntp1.example.jp SOA
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 58230
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;ntp1.example.jp. IN SOA;; 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:42:26 JST 2017
;; MSG SIZE rcvd: 105
コメント
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>