On Wed February 18 2004 3:32 pm, Daniel Thivierge wrote:
Hi all, I am been trying to match IP address to name and alias from a DNS server. I try nslookup, host and dig to gather the information. Unfortunately, without any luck and was wondering if one of you might already know how to do it.
This is what I want:
IP Name Alias1 Alias2.... 123.456.789.123 server.host.com Alias1.host.com Alias2.host.com
from DNS at dns.host.com
Thanks.
Try adding A records for the alias(s) to the forward zone (cname would also work, but may create other problems) make sure there is a NS record for dns.host.com dns.host.com. 86400 IN A 123.456.789.123 server.host.com 86400 IN A 123.456.789.123 alias1.host.com 86400 IN A 123.456.789.123 www.host.com 86400 IN A 123.456.789.123 -- Linux 2.6.1 #1 Fri Jan 16 09:28:12 EST 2004 i686 4:32pm up 17 days 23:44, 1 user, load average: 0.02, 0.15, 0.09