lallous said:
I found a website that provides reverse lookup.
Ping
www.google.com , i get an IP address; I can type this address in the
address bar and surf to google.
Now I type that IP address in the reverse name lookup and it doesn't show
google! Why?
Mark already answered this question. Are you not satisfied?
There are no rules which REQUIRE a PTR record in DNS. In
fact, in some cases it's quite impossible to configure.
Let me provide a concrete example: I have a "fixed" IP
address assigned by my cable operator. While I can create
and serve A records, my cable operator controls the
authoritative nameservers for the IP domain (the reverse
lookup). They are unwilling to create PTR entries in their
control files to point back to my named domain records.
And they're under no obligation to do so!
Please obtain some documentation on how DNS works (O'Reilly's
"DNS and BIND in a Nutshell", ISBN 1-56592-010-4 is a good
choice) and you'll soon be answering questions like this
for yourself.
ps. Try working backwards, i.e. if
www.google.com resolves
to 216.239.39.99 then do this:
$ nslookup -type=SOA 99.39.239.216.in-addr.arpa.
$ nslookup -type=SOA 39.239.216.in-addr.arpa
(first one will fail, second [less specific] will succeed)
At least know you know who owns the address range!