[root@fedora ~]# dig fedorasrv.com ← Linuxサーバーの正引きテスト
; <<>> DiG 9.2.3 <<>> fedorasrv.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 59712
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;fedorasrv.com. IN A
;; ANSWER SECTION:
fedorasrv.com. 86400 IN A 192.168.1.2 ← IPアドレスが返ってきた
;; AUTHORITY SECTION:
fedorasrv.com. 86400 IN NS fedorasrv.com.
;; Query time: 8 msec
;; SERVER: 192.168.1.2#53(192.168.1.2)
;; WHEN: Mon Oct 4 17:39:31 2004
;; MSG SIZE rcvd: 63
[root@fedora ~]# dig -x 192.168.1.2 ← Linuxサーバーの逆引きテスト
; <<>> DiG 9.2.3 <<>> -x 192.168.1.2
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 14938
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
;; QUESTION SECTION:
;1.1.168.192.in-addr.arpa. IN PTR
;; ANSWER SECTION:
1.1.168.192.in-addr.arpa. 86400 IN PTR fedorasrv.com. ← ドメイン名が返ってきた
;; AUTHORITY SECTION:
1.168.192.in-addr.arpa. 86400 IN NS fedorasrv.com.
;; ADDITIONAL SECTION:
fedorasrv.com. 86400 IN A 192.168.1.2
;; Query time: 8 msec
;; SERVER: 192.168.1.2#53(192.168.1.2)
;; WHEN: Mon Oct 4 17:39:39 2004
;; MSG SIZE rcvd: 101
[root@fedora ~]# dig www.isc.org ← 外部ドメインの正引きテスト
; <<>> DiG 9.7.2-P2-RedHat-9.7.2-2.P2.fc14 <<>> www.isc.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32477
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 6
;; QUESTION SECTION:
;www.isc.org. IN A
;; ANSWER SECTION:
www.isc.org. 600 IN A 149.20.64.42 ← IPアドレスが返ってきた
;; AUTHORITY SECTION:
isc.org. 42570 IN NS ns.isc.afilias-nst.info.
isc.org. 42570 IN NS sfba.sns-pb.isc.org.
isc.org. 42570 IN NS ams.sns-pb.isc.org.
isc.org. 42570 IN NS ord.sns-pb.isc.org.
;; ADDITIONAL SECTION:
ams.sns-pb.isc.org. 42570 IN A 199.6.1.30
ams.sns-pb.isc.org. 42570 IN AAAA 2001:500:60::30
ord.sns-pb.isc.org. 42570 IN A 199.6.0.30
ord.sns-pb.isc.org. 42570 IN AAAA 2001:500:71::30
sfba.sns-pb.isc.org. 42570 IN A 149.20.64.3
sfba.sns-pb.isc.org. 42570 IN AAAA 2001:4f8:0:2::19
;; Query time: 181 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Mon Nov 8 17:47:58 2010
;; MSG SIZE rcvd: 276
[root@fedora ~]# dig -x 149.20.64.42 ← 外部ドメインの逆引きテスト
; <<>> DiG 9.7.2-P2-RedHat-9.7.2-2.P2.fc14 <<>> -x 149.20.64.42
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 20611
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 6
;; QUESTION SECTION:
;42.64.20.149.in-addr.arpa. IN PTR
;; ANSWER SECTION:
42.64.20.149.in-addr.arpa. 3537 IN PTR external.isc.org. ← ホスト名が返ってきた
;; AUTHORITY SECTION:
64.20.149.in-addr.arpa. 3526 IN NS sfba.sns-pb.isc.org.
64.20.149.in-addr.arpa. 3526 IN NS ord.sns-pb.isc.org.
64.20.149.in-addr.arpa. 3526 IN NS ams.sns-pb.isc.org.
;; ADDITIONAL SECTION:
ams.sns-pb.isc.org. 42519 IN A 199.6.1.30
ams.sns-pb.isc.org. 42519 IN AAAA 2001:500:60::30
ord.sns-pb.isc.org. 42519 IN A 199.6.0.30
ord.sns-pb.isc.org. 42519 IN AAAA 2001:500:71::30
sfba.sns-pb.isc.org. 42519 IN A 149.20.64.3
sfba.sns-pb.isc.org. 42519 IN AAAA 2001:4f8:0:2::19
;; Query time: 3 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Mon Nov 8 17:48:49 2010
;; MSG SIZE rcvd: 267
|
|