drieux wrote:
> On Dec 4, 2003, at 8:18 AM, Bob Showalter wrote:
> > Thomas Browner wrote:
> > > Is there away to find all of the hostname on a lan with
> use of perl?
> [..]
> > 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.
> 
> first forgive the brief prefatory rant:
> 
>       <rant>
>       Bad BOB! Not Nice Bob! No Cookie!
>       </rant>

Oy vey!

> 
> since what Bob has done with that 'host -l mydomain.com'
> is oblige us to go back and REALLY work out what in
> the DNS is a 'host' and what is the bloat in the
> DNS that is not actually a Host, not in the sense
> that most folks would think of.

$ host -ltA mydomain.com (:~)

[snip...]

> So a part of the unpleasantry, is what exactly
> is 'finding hosts on a Lan' really a question about...

No argument there.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to