Software /
code /
prosody
Diff
net/dns.lua @ 1805:7e41ad68fe3c
core.s2smanager: Don't recurse CNAMEs infinitely :)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 21 Sep 2009 14:40:14 +0100 |
parent | 1786:4016d8bc30b8 |
child | 1806:c55e06eb53b2 |
child | 1809:36b82873b9cb |
line wrap: on
line diff
--- a/net/dns.lua Mon Sep 21 13:53:59 2009 +0100 +++ b/net/dns.lua Mon Sep 21 14:40:14 2009 +0100 @@ -504,6 +504,7 @@ 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