aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--awall/host.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/awall/host.lua b/awall/host.lua
index 7e7a2bf..4b12696 100644
--- a/awall/host.lua
+++ b/awall/host.lua
@@ -26,8 +26,7 @@ function resolve(host)
if not dnscache[host] then
dnscache[host] = {}
- -- TODO use default server
- for rec in io.popen('dig @8.8.8.8 '..host..' ANY'):lines() do
+ for rec in io.popen('dig '..host..' ANY'):lines() do
local name, rtype, addr =
string.match(rec, '^('..familypatterns.domain..')\t+%d+\t+IN\t+(A+)\t+(.+)')