Net-DNS

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

    on Test::Simple 0.71 seemed overkill.



*** 0.61, 1 August 2007

Fix rt.cpan.org #28106, 28198, and 28590
    Modification of $_ in various places.  

Fix
    t/11-inet6 assumed lowercase domain names.

*** 0.60 20 June 2007

Fix spelling mistakes in change log using interactive spell checker (aspell).

Fix
    Two redundant calls of $self->rdatastr() in Net::DNS::RR::string().

Fix rt.cpan.org #27285 bis
    Unreleased 0.59_1 dn_expand_PP() has security flaw allowing access to

Changes  view on Meta::CPAN

    available nameserver. tcp_timeout() is the parameter that
    determines how long to wait during a reconnect.

Fix rt.cpan.org 18268

     Added reference to RFC in croak message for label length > 63 in
     dn_comp().

Fix rt.cpan.org  18113

    The inet6 tests contained another bug when online-tests were disabled.
    Klaus Heinz discovered and provided a patch.

*** 0.57 February 24, 2006

Fix rt.cpan.org 17783

    The inet6 tests do not skip enough tests when ipv6 is not available.
    I did not catch this in my setup since IPv6 is available on all my
    machines. 

    Since this breaks automatic CPAN installs a new release is
    reasonable.


*** 0.56 February 20, 2006

Fix rt.cpan.org 17694

lib/Net/DNS/Resolver.pm  view on Meta::CPAN

	export LOCALDOMAIN

	# C Shell
	setenv LOCALDOMAIN example.com

The default domain.

=head2 RES_OPTIONS

	# Bourne Shell
	RES_OPTIONS="retrans:3 retry:2 inet6"
	export RES_OPTIONS

	# C Shell
	setenv RES_OPTIONS "retrans:3 retry:2 inet6"

A space-separated list of resolver options to set.  Options that
take values are specified as C<option:value>.


=head1 IPv4 TRANSPORT

The C<force_v4()>, C<force_v6()>, C<prefer_v4()>, and C<prefer_v6()> methods
with non-zero argument may be used to configure transport selection.

lib/Net/DNS/Resolver/Base.pm  view on Meta::CPAN

				if $ref && ( $ref ne 'ARRAY' );
		$self->$attr( $ref ? @$value : $value );
	}

	return $self;
}


my %resolv_conf = (			## map traditional resolv.conf option names
	attempts => 'retry',
	inet6	 => 'prefer_v6',
	timeout	 => 'retrans',
	);

my %res_option = (			## any resolver attribute plus those listed above
	%public_attr,
	%resolv_conf,
	);

sub _option {
	my ( $self, $name, @value ) = @_;

t/custom.txt  view on Meta::CPAN

# $Id: custom.txt 1573 2017-06-12 11:03:59Z willem $
domain alt.net-dns.org
search alt.net-dns.org ext.net-dns.org
nameserver 10.0.1.128 10.0.2.128
options attempts:2 inet6 bogus



( run in 0.337 second using v1.01-cache-2.11-cpan-87723dcf8b7 )