Skip to content

Net::DNS::Simple new version

Added option which allows user to specify distinct nameservers to run the name resolution. Net::DNS::Simple documentation is updated.

use Net::DNS::Simple;
my %config = ( 
    nameservers => ['', ''],
    recurse => 0,
    debug => 0
my $res = Net::DNS::Simple->new("", "A", %config);

This feature is supported in Net::DNS::Resolver by default.

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload the CAPTCHA.