Software /
code /
prosody
Changeset
11217:65ce1178d655
net.adns: Reduce 'Exhausted all servers' message to warning
It happens often and generally doesn't require admin intervention.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 08 Dec 2020 15:49:25 +0000 |
parents | 11216:7a8745599e38 |
children | 11218:f1c5c3d76145 |
files | net/adns.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/net/adns.lua Tue Nov 24 10:46:53 2020 +0000 +++ b/net/adns.lua Tue Dec 08 15:49:25 2020 +0000 @@ -43,7 +43,7 @@ log("warn", "DNS socket for %s disconnected: %s", peername, err); local servers = resolver.server; if resolver.socketset[conn] == resolver.best_server and resolver.best_server == #servers then - log("error", "Exhausted all %d configured DNS servers, next lookup will try %s again", #servers, servers[1]); + log("warn", "Exhausted all %d configured DNS servers, next lookup will try %s again", #servers, servers[1]); end resolver:servfail(conn); -- Let the magic commence