- 论坛徽章:
- 0
|
1 dig 如何做iquery查询?
我使用dig -x 或者使用dig -t ptr,发现 opcode 都是 QUERY,而不是IQUERY。如下:
$dig -x 220.181.13.178
; <<>> DiG 9.7.3-P1 <<>> -x 220.181.13.178
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40412
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
$dig -t ptr 178.13.181.220.in-addr.arpa.
; <<>> DiG 9.7.3-P1 <<>> -t ptr 178.13.181.220.in-addr.arpa.
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 36720
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
2 dig中的status 应该表示 rcode,什么时候rcode才会返回NXRRSet? |
|