aboutsummaryrefslogtreecommitdiffstats
path: root/net/resolvers/service.lua
diff options
context:
space:
mode:
Diffstat (limited to 'net/resolvers/service.lua')
-rw-r--r--net/resolvers/service.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/resolvers/service.lua b/net/resolvers/service.lua
index b476cb2c..3810cac8 100644
--- a/net/resolvers/service.lua
+++ b/net/resolvers/service.lua
@@ -55,6 +55,10 @@ function methods:next(cb)
if answer then
if self.extra and not answer.secure then
self.extra.use_dane = false;
+ elseif answer.bogus then
+ self.last_error = "Validation error in SRV lookup";
+ ready();
+ return;
end
if #answer == 0 then