dig reveser lookups failing everywhere

enrique at podernet.com.mx enrique at podernet.com.mx
Fri Jan 24 17:20:06 UTC 2003


On 24 Jan 2003, G. Brown wrote:

=>
=>Havn't done a reverse name lookup using dig for a while so not sure if
=>this is me but dig seems to be failing everywhere I try on all reverse
=>lookups.
=>
=>dig hotmail.com give amongst others 64.4.53.7
=>nslookup 64.4.53.7 provides an answer
=>dig 64.4.53.7 ANY gives nothing
It is because you should use either the -x flag or search the proper record on 
the proper domain thus:

dig -x 64.4.53.7
or 
dig 7.53.4.64.in-addr.arpa ptr

Remember reverse resolution is based on domain in-addr.arpa and the records 
are of type PTR.

; <<>> DiG 9.2.1 <<>> -x 64.4.53.7
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42493
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 4

;; QUESTION SECTION:
;7.53.4.64.in-addr.arpa.                IN      PTR

;; ANSWER SECTION:
7.53.4.64.in-addr.arpa. 1757    IN      PTR     lc2.law5.hotmail.com.

;; AUTHORITY SECTION:
53.4.64.in-addr.arpa.   23494   IN      NS      NS1.hotmail.com.
53.4.64.in-addr.arpa.   23494   IN      NS      NS2.hotmail.com.
53.4.64.in-addr.arpa.   23494   IN      NS      NS3.hotmail.com.
53.4.64.in-addr.arpa.   23494   IN      NS      NS4.hotmail.com.

;; ADDITIONAL SECTION:
NS1.hotmail.com.        65317   IN      A       216.200.206.140
NS2.hotmail.com.        98117   IN      A       216.200.206.139
NS3.hotmail.com.        104009  IN      A       209.185.130.68
NS4.hotmail.com.        103877  IN      A       64.4.29.24

;; Query time: 258 msec
;; SERVER: 207.248.224.71#53(207.248.224.71)
;; WHEN: Fri Jan 24 11:18:46 2003
;; MSG SIZE  rcvd: 210

; <<>> DiG 9.2.1 <<>> 7.53.4.64.in-addr.arpa ptr
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 22876
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 4

;; QUESTION SECTION:
;7.53.4.64.in-addr.arpa.                IN      PTR

;; ANSWER SECTION:
7.53.4.64.in-addr.arpa. 1693    IN      PTR     lc2.law5.hotmail.com.

;; AUTHORITY SECTION:
53.4.64.in-addr.arpa.   23430   IN      NS      NS1.hotmail.com.
53.4.64.in-addr.arpa.   23430   IN      NS      NS2.hotmail.com.
53.4.64.in-addr.arpa.   23430   IN      NS      NS3.hotmail.com.
53.4.64.in-addr.arpa.   23430   IN      NS      NS4.hotmail.com.

;; ADDITIONAL SECTION:
NS1.hotmail.com.        65253   IN      A       216.200.206.140
NS2.hotmail.com.        98053   IN      A       216.200.206.139
NS3.hotmail.com.        103945  IN      A       209.185.130.68
NS4.hotmail.com.        103813  IN      A       64.4.29.24

;; Query time: 903 msec
;; SERVER: 207.248.224.71#53(207.248.224.71)
;; WHEN: Fri Jan 24 11:19:51 2003
;; MSG SIZE  rcvd: 210


=>
=>Tried this on 4 different syatems in 2 different countries.
=>
=>Redhat 7.3,7.2 and 6.0 and BSD
=>
=>Is this me or has the world gone mad? 
=>
=>The world still seems ok from my window so it must be me.
=>
=>Can anyone enlighten me?
=>
=>

-- 

-- 'You tread upon my patience' -- William Shakespeare, "Henry IV"

The river is within us, the sea is all about us.
===============================================================================
José Enrique Díaz Jolly				e-mail: enrique at podernet.com.mx
===============================================================================
@(#) $Id: signature.podernet,v 1.1 2003/01/21 23:45:50 ediaz Exp $



More information about the bind-users mailing list