Help for this page

Select Code to Download


  1. or download this
       use Net::DNS;
       $res = new Net::DNS::Resolver;
    ...
       else {
           print "query failed: ", $res->errorstring, "\n";
       }
    
  2. or download this
       $res->nameservers("192.168.1.1", "192.168.2.2", "192.168.3.3");