[Slim-Checkins] r12189 - /branches/6.5/server/Slim/Networking/Async.pm

andy at svn.slimdevices.com andy at svn.slimdevices.com
Fri Jun 1 10:23:30 PDT 2007


Author: andy
Date: Fri Jun  1 10:23:30 2007
New Revision: 12189

URL: http://svn.slimdevices.com?rev=12189&view=rev
Log:
Check [a-m].root-servers.net instead of google for initial DNS lookup

Modified:
    branches/6.5/server/Slim/Networking/Async.pm

Modified: branches/6.5/server/Slim/Networking/Async.pm
URL: http://svn.slimdevices.com/branches/6.5/server/Slim/Networking/Async.pm?rev=12189&r1=12188&r2=12189&view=diff
==============================================================================
--- branches/6.5/server/Slim/Networking/Async.pm (original)
+++ branches/6.5/server/Slim/Networking/Async.pm Fri Jun  1 10:23:30 2007
@@ -43,7 +43,7 @@
 	my @ns = $res->nameservers();
 	
 	# domain to check
-	my $domain = 'www.google.com';
+	my $domain = ('a'..'m')[ int(rand(13)) ] . '.root-servers.net';
 	
 	for my $ns ( @ns ) {
 		$::d_http_async && msg("Async: Verifying if we can use nameserver $ns...\n");



More information about the checkins mailing list