Operating System - HP-UX
1844254 Members
2818 Online
110230 Solutions
New Discussion

How to reverse DNS lookup for all related domain name and alias?

 
yyghp
Super Advisor

How to reverse DNS lookup for all related domain name and alias?

I am looking for a Unix/Linux command or a script to reverse DNS lookup for all related domain name and its alias for an IP address.

For example, domain name: "www.hp.com" points to IP: 10.10.100.100, and "www" has several alias pointing to the same IP address, like "aaa.hp.com", "bbb.hp.com" and even "ccc.hhpp.com".
If all these alias are in one DNS database, how can I find out ALL these domain names from the single IP address.
That is, from "10.10.100.100" to all:
www.hp.com
aaa.hp.com
bbb.hp.com
ccc.hhpp.com

Can "dig" do this?

Thanks a lot!
1 REPLY 1
yyghp
Super Advisor

Re: How to reverse DNS lookup for all related domain name and alias?

this is a duplicate one, please remove... thanks!