Is there a built-in command line tool that will do reverse DNS look-ups in Windows? I.e., something like
I've tried:
nslookup
: seems to be forward look-up only.host
: doesn't existdig
: also doesn't exist.
I found "What's the reverse DNS command line utility?" via a search, but this is specifically looking for a *nix utility, not a Windows one.
Answer
ping -a w.x.y.z
Should resolve the name from the IP address if the reverse lookup zone has been set up properly. If the reverse lookup zone does not have an entry for the record, the -a
will just ping without a name.
No comments:
Post a Comment