aboutsummaryrefslogtreecommitdiffstats
path: root/net/resolvers
diff options
context:
space:
mode:
Diffstat (limited to 'net/resolvers')
-rw-r--r--net/resolvers/service.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/resolvers/service.lua b/net/resolvers/service.lua
index 9e634dbe..ac6e93da 100644
--- a/net/resolvers/service.lua
+++ b/net/resolvers/service.lua
@@ -35,6 +35,9 @@ function methods:next(cb)
dns_resolver:lookup(function (answer)
if answer then
if #answer == 0 then
+ if self.extra and self.extra.default_port then
+ table.insert(targets, { self.domain, self.extra.default_port, self.conn_type, self.extra });
+ end
ready();
return;
end