Diff

net/dns.lua @ 1807:3bb0e5170692

net.dns: (for some reason this commit didn't pull over from 0.5) Remove hard-coded 4.2.2.1 from dns.lua
author Matthew Wild <mwild1@gmail.com>
date Mon, 21 Sep 2009 14:46:12 +0100
parent 1806:c55e06eb53b2
child 1816:1c0bde3db7d8
line wrap: on
line diff
--- a/net/dns.lua	Mon Sep 21 14:42:29 2009 +0100
+++ b/net/dns.lua	Mon Sep 21 14:46:12 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