Re: querying DNS

2002-03-05 Thread Oliver Andrich
> 1. loop over an array of hostnames and resolve them each with a call > gethostbyname gethostbyaddr is what you want. sorry. > 2. use Net::DNS and do a named xfer for the domain all the servers are in > and afterwards grep through the results for the hosts you actually need. > >Perform

Re: querying DNS

2002-03-05 Thread Oliver Andrich
Hi, you have several options: 1. loop over an array of hostnames and resolve them each with a call gethostbyname 2. use Net::DNS and do a named xfer for the domain all the servers are in and afterwards grep through the results for the hosts you actually need. Perform a zone transfer a