Thomas Browner wrote:
> Is there away to find all of the hostname on a lan with use of perl?

Getting a list of host names involves querying some kind of nameserver or
directory service. What kind of LAN? What kind of hosts?

You can query DNS to get the hosts in a domain using nslookup, dig, host, or
similar. For example:

   host -l mydomain.com

If you want to talk to the resolver directly from Perl, you can use the
Net::DNS module.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to