Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: how to resolve IP's in an HTTPd that doesn't resolve them?

by VinsWorldcom (Prior)
on Jun 14, 2018 at 11:28 UTC ( [id://1216620] : note . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    } else {
        print "$0: getaddrinfo() failed - error = $err\n";
    }
    
  2. or download this
    C:\> test.pl  www.google.com
    getaddrinfo()/getnameinfo() Address = 172.217.15.100
     |_>   getnameinfo()           Name = iad30s21-in-f4.1e100.net