in reply to Retrieving all hostnames for an IP address...

If you parse the output of the following command-line, you can obtain a list of all domain records.

You will need to provide 2 pieces of info - the domain name, and the name or address of the DNS server :

echo ls -d YourDomainName.com | nslookup - Your.dns.server

     "A closed mouth gathers no feet." --Unknown

Replies are listed 'Best First'.
Re^2: Retrieving all hostnames for an IP address...
by RMaxwell (Novice) on Dec 13, 2006 at 19:21 UTC
    Thanks, this solution seems to be working the best. It's dirty and not much in perl, but HPOV NNM will be happy now with a hosts file and noiplookup, instead of having issues with Windows DNS.

    Thanks,
    RMaxwell