aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/dns.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/dns.lua b/net/dns.lua
index 41a0c536..29d9cf36 100644
--- a/net/dns.lua
+++ b/net/dns.lua
@@ -438,6 +438,9 @@ function resolver:SRV(rr) -- - - - - - - - - - - - - - - - - - - - - - SRV
rr.srv.target = self:name();
end
+function resolver:PTR(rr)
+ rr.ptr = self:name();
+end
function SRV_tostring(rr) -- - - - - - - - - - - - - - - - - - SRV_tostring
local s = rr.srv;