Diff

net/dns.lua @ 1809:36b82873b9cb

net.dns: Accidentally committed a hard-coded 4.2.2.1 nameserver
author Matthew Wild <mwild1@gmail.com>
date Mon, 21 Sep 2009 14:42:01 +0100
parent 1805:7e41ad68fe3c
child 1815:e2f0c514d039
line wrap: on
line diff
--- a/net/dns.lua	Mon Sep 21 14:40:14 2009 +0100
+++ b/net/dns.lua	Mon Sep 21 14:42:01 2009 +0100
@@ -504,7 +504,6 @@
 
 
 function resolver:adddefaultnameservers ()    -- - - - -  adddefaultnameservers
-  self:addnameserver("4.2.2.1"); do return; end
   local resolv_conf = io.open("/etc/resolv.conf");
   if resolv_conf then
 	  for line in resolv_conf:lines() do