BIND9 と Unbound の digコマンド応答
目次
逆引き [ “local-data-ptr: ” ] (BIND9は、zoneファイル指定)
・レコード指定なし
BIND
◯◯◯◯@sv012:/$ dig @127.0.0.1 -x 192.168.1.81
; <<>> DiG 9.10.3-P4-Debian <<>> @127.0.0.1 -x 192.168.1.81
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45393
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;81.64.168.192.in-addr.arpa. IN PTR;; ANSWER SECTION:
81.64.168.192.in-addr.arpa. 86400 IN PTR ns1.example.jp.;; AUTHORITY SECTION:
64.168.192.in-addr.arpa. 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:43:34 JST 2017
;; MSG SIZE rcvd: 117
Unbound
◯◯◯◯@sv012:/$ dig @127.0.0.2 -x 192.168.1.81
; <<>> DiG 9.10.3-P4-Debian <<>> @127.0.0.2 -x 192.168.1.81
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45225
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;81.64.168.192.in-addr.arpa. IN PTR;; ANSWER SECTION:
81.64.168.192.in-addr.arpa. 86400 IN PTR ns1.example.jp.;; Query time: 0 msec
;; SERVER: 127.0.0.2#53(127.0.0.2)
;; WHEN: Sun Nov 05 09:43:54 JST 2017
;; MSG SIZE rcvd: 87
・ANY
BIND
◯◯◯◯@sv012:/$ dig @127.0.0.1 -x 192.168.1.81 ANY
; <<>> DiG 9.10.3-P4-Debian <<>> @127.0.0.1 -x 192.168.1.81 ANY
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 64307
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;81.64.168.192.in-addr.arpa. IN ANY;; ANSWER SECTION:
81.64.168.192.in-addr.arpa. 86400 IN PTR ns1.example.jp.;; AUTHORITY SECTION:
64.168.192.in-addr.arpa. 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:43:41 JST 2017
;; MSG SIZE rcvd: 117
Unbound
◯◯◯◯@sv012:/$ dig @127.0.0.2 -x 192.168.1.81 ANY
; <<>> DiG 9.10.3-P4-Debian <<>> @127.0.0.2 -x 192.168.1.81 ANY
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 58157
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;81.64.168.192.in-addr.arpa. IN ANY;; AUTHORITY SECTION:
168.192.in-addr.arpa. 10800 IN SOA localhost. nobody.invalid. 1 3600 1200 604800 10800;; Query time: 0 msec
;; SERVER: 127.0.0.2#53(127.0.0.2)
;; WHEN: Sun Nov 05 09:44:00 JST 2017
;; MSG SIZE rcvd: 114
・NS
BIND
◯◯◯◯@sv012:/$ dig @127.0.0.1 -x 192.168.1.81 NS
; <<>> DiG 9.10.3-P4-Debian <<>> @127.0.0.1 -x 192.168.1.81 NS
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 46725
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;81.64.168.192.in-addr.arpa. IN NS;; AUTHORITY SECTION:
64.168.192.in-addr.arpa. 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:43:45 JST 2017
;; MSG SIZE rcvd: 126
Unbound
◯◯◯◯@sv012:/$ dig @127.0.0.2 -x 192.168.1.81 NS
; <<>> DiG 9.10.3-P4-Debian <<>> @127.0.0.2 -x 192.168.1.81 NS
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48173
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;81.64.168.192.in-addr.arpa. IN NS;; AUTHORITY SECTION:
168.192.in-addr.arpa. 10800 IN SOA localhost. nobody.invalid. 1 3600 1200 604800 10800;; Query time: 0 msec
;; SERVER: 127.0.0.2#53(127.0.0.2)
;; WHEN: Sun Nov 05 09:44:16 JST 2017
;; MSG SIZE rcvd: 114
・SOA
BIND
◯◯◯◯@sv012:/$ dig @127.0.0.1 -x 192.168.1.81 SOA
; <<>> DiG 9.10.3-P4-Debian <<>> @127.0.0.1 -x 192.168.1.81 SOA
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 18000
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;81.64.168.192.in-addr.arpa. IN SOA;; AUTHORITY SECTION:
64.168.192.in-addr.arpa. 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:43:48 JST 2017
;; MSG SIZE rcvd: 126
Unbound
◯◯◯◯@sv012:/$ dig @127.0.0.2 -x 192.168.1.81 SOA
; <<>> DiG 9.10.3-P4-Debian <<>> @127.0.0.2 -x 192.168.1.81 SOA
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 33001
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;81.64.168.192.in-addr.arpa. IN SOA;; AUTHORITY SECTION:
168.192.in-addr.arpa. 10800 IN SOA localhost. nobody.invalid. 1 3600 1200 604800 10800;; Query time: 0 msec
;; SERVER: 127.0.0.2#53(127.0.0.2)
;; WHEN: Sun Nov 05 09:44:28 JST 2017
;; MSG SIZE rcvd: 114
コメント
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>