m> What tools do the pros use instead of nslookup?
It's not just "the pros" that discard "nslookup" in favour of far better
tools.
One set of tools for DNS diagnosis that will run on Microsoft Windows NT
XP/2000/4 are the tools that come with the Win32 port of ISC's BIND: "dig",
"host", and "dnsquery". (One doesn't have to install and run the DNS server
proper in order to use the accompanying toolset.)
<URL:ftp://ftp.isc.org./isc/bind/contrib/ntbind-9.2.2/>
m> If I read you correctly, can I assume that no one would lookup
m> a web site by IP normally anyway, so the ptr records created
m> (in exactly the manner you specify) are useless?
"Looking up a web site by IP" is unrelated to "PTR" resource records. A URL
that uses a human-readable IP address, such as <URL:
http://0.0.0.0/>, doesn't
involve DNS lookups at all, since the web browser already has the IP address
that it is to contact.
"PTR" resource records are used in reverse lookups, address->name mappings.
They are used by softwares that have an IP address and, for whatever reason,
want to map that to a domain name. (Some softwares do this in order to
present their network logs to humans. Others do it for Half-Baked "security"
reasons.)
m> When IS a reverse lookup necessary?
Herb's answer to this question pretty much covers it.
I only add that SMTP Relay servers that perform address->name mappings do so
in the name of "security", but this measure is in fact another Half-Baked Idea
from the Half-Baked Ideas Brigade. It doesn't actually increase security at
all. (An attacker who has enough access to create a TCP connection with a
forged source IP address has more than enough access to foil this Half-Baked
Idea.) If any of _your_ SMTP Relay servers perform such address->name
mappings in the name of security, you are better off disabling it (to reduce
the concomitant DNS load - which can be quite significant) and writing
whatever ACLs your SMTP Relay server has in terms of IP addresses, not domain
names.