net.dns: (for some reason this commit didn't pull over from 0.5) Remove hard-coded 4.2.2.1 from dns.lua

Mon, 21 Sep 2009 14:46:12 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Mon, 21 Sep 2009 14:46:12 +0100
changeset 1808
3bb0e5170692
parent 1807
c55e06eb53b2
child 1815
1c0bde3db7d8
child 1816
e164fdb2d18f

net.dns: (for some reason this commit didn't pull over from 0.5) Remove hard-coded 4.2.2.1 from dns.lua

net/dns.lua file | annotate | diff | comparison | revisions
--- 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

mercurial