Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: (2) Resolve list of DNS names (reverse lookup, CPAN modules)

by ybiC (Prior)
on Jul 12, 2001 at 03:40 UTC ( #95888=note: print w/ replies, xml ) Need Help??


in reply to Re: Resolve list of DNS names
in thread (code) Resolve list of DNS names

Thanks for the thread-link, mikeB.   8^)

However, my infile sanity-check isn't intended to parse or untaint IP addresses.   If I ever do add support for IP address input (reverse-lookups), I'll likely look to CPAN for a module.   A quick search turned up these candidates: Net::IPAddr-Find, Net::IPv4Addr, Net::IP, and NetAddr::IP.
    cheers,
    Don
    striving toward Perl Adept
    (it's pronounced "why-bick")


Comment on Re: (2) Resolve list of DNS names (reverse lookup, CPAN modules)
Re^2: (2) Resolve list of DNS names (reverse lookup, CPAN modules)
by Anonymous Monk on Jun 20, 2009 at 18:54 UTC
    Get the following error. What should i do? print (...) interpreted as function at ./resolve.pl line 112. syntax error at ./resolve.pl line 120, near "sub UNLINK " Can't use global @_ in "my" at ./resolve.pl line 121, near "= $_" syntax error at ./resolve.pl line 128, near "}" Execution of ./resolve.pl aborted due to compilation errors.
      Yes. The program runs now but now I get the following error. Error reading input file "resolve.in": No such file or directory. I created the file resolve.in in the home folder with resolve.pl and put a list of domains in it ie: google.com yahoo.com aol.com But still get the same error. My System Mac OSX 10.4.11 Net::DNS 0.65 Spreadsheet::WriteExcel 2.25 Perl 5.008006 Local OS darwin
      The new error it created after I put the resolve.in file was: Error reading input file "resolve.in":
      Whew! Finally got it to work. Now is there a way to make this multi-threaded? I'm a newbee so I have no idea how to accomplish this.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://95888]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2015-07-02 22:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (46 votes), past polls