Software /
code /
prosody
Diff
net/dns.lua @ 3513:4cf5962747fc
net.dns: Support for parsing PTR records
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 06 Oct 2010 00:13:24 +0100 |
parent | 3512:e344b00f2cc9 |
child | 3540:bc139431830b |
line wrap: on
line diff
--- a/net/dns.lua Tue Oct 05 18:55:17 2010 +0100 +++ b/net/dns.lua Wed Oct 06 00:13:24 2010 +0100 @@ -438,6 +438,9 @@ 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;