cannot reverse lookup from ip

adrianmak

Verified User
Joined
Jan 30, 2010
Messages
49
I added a pointer record for the server main domain thru directadmin
for example
mydomain.com. A 192.168.103.10
10.103.168.192.in-addr.arpa PTR mydomain.com.


Then ssh to server console,
I executed nslookup to ensure reverse lookup is work properly
#nslookup 192.168.103.10 localhost

But It returned
Server: localhost
Address: 127.0.0.1#53

** server can't find 144.174.64.58.in-addr.arpa: NXDOMAIN


Anything I did wrong ?
 
Your upstream provider would have needed to delegate the reverse to you. Otherwise they have to handle the reverse dns.
 
I think you messed up a little your copy-paste... you query for a local address (and your config should work) but the reply is for the pointer of 58.64.174.144, as if you typed "nslookup 58.64.174.144 localhost".

EDIT: also, I can see you used "10.103.168.192.in-addr.arpa" and not "10.103.168.192.in-addr.arpa.", which suggests to me that you are putting that within the mydomain.com zone, which is wrong. You have to create a 168.192.in-addr.arpa zone and use "10.103 PTR ...".
 
Last edited:
In fact if you'd give us your domain name and your IP# (sorry, but the examples above are very hard to understand) then one of us could quickly do the research and tell you exactly where the problem lies.

Jeff
 
Back
Top