vcl-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fapee...@apache.org
Subject svn commit: r751697 - /incubator/vcl/trunk/managementnode/lib/VCL/healthcheck.pm
Date Mon, 09 Mar 2009 14:55:46 GMT
Author: fapeeler
Date: Mon Mar  9 14:55:43 2009
New Revision: 751697

URL: http://svn.apache.org/viewvc?rev=751697&view=rev
Log:
VCL-104 

removed dns server array as an option to pass to resolver.
Letting it use the systems default resolve.conf file


 

Modified:
    incubator/vcl/trunk/managementnode/lib/VCL/healthcheck.pm

Modified: incubator/vcl/trunk/managementnode/lib/VCL/healthcheck.pm
URL: http://svn.apache.org/viewvc/incubator/vcl/trunk/managementnode/lib/VCL/healthcheck.pm?rev=751697&r1=751696&r2=751697&view=diff
==============================================================================
--- incubator/vcl/trunk/managementnode/lib/VCL/healthcheck.pm (original)
+++ incubator/vcl/trunk/managementnode/lib/VCL/healthcheck.pm Mon Mar  9 14:55:43 2009
@@ -465,11 +465,8 @@
 
 sub _valid_host {
 	my ($node) = @_;
-	my @ns     = qw(152.1.1.22 152.1.2.22 152.1.1.161);
-	my $rns    = \@ns;
-	my $res = Net::DNS::Resolver->new(nameservers => $rns,
-												 tcp_timeout => 5,
-												 retry       => 2);
+	my $res = Net::DNS::Resolver->new( tcp_timeout => 5, 
+					   retry       => 2);
 	my $q = $res->search($node);
 	if ($q) {
 		foreach my $rr ($q->answer) {



Mime
View raw message