mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
net.adns: Reduce 'Exhausted all servers' message to warning
It happens often and generally doesn't require admin intervention.
This commit is contained in:
parent
966ae3e996
commit
ee1f17a301
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ local function new_async_socket(sock, resolver)
|
|||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue