aboutsummaryrefslogtreecommitdiffstats
path: root/net/dns.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-09-21 14:40:14 +0100
committerMatthew Wild <mwild1@gmail.com>2009-09-21 14:40:14 +0100
commit46e4ac25f4f8e0ba69a3b852573dd5892406fd00 (patch)
tree33d7f4755cf45868d95733266b7f132ad3b2ea1b /net/dns.lua
parentdf867fb148541c8b10e1b1decc0387eb63d35464 (diff)
downloadprosody-46e4ac25f4f8e0ba69a3b852573dd5892406fd00.tar.gz
prosody-46e4ac25f4f8e0ba69a3b852573dd5892406fd00.zip
core.s2smanager: Don't recurse CNAMEs infinitely :)
Diffstat (limited to 'net/dns.lua')
-rw-r--r--net/dns.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/dns.lua b/net/dns.lua
index ff07d26e..b5f87ad2 100644
--- a/net/dns.lua
+++ b/net/dns.lua
@@ -504,6 +504,7 @@ function resolver:setnameserver (address) -- - - - - - - - - - setnameserver
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