Software /
code /
prosody
Changeset
3513:4cf5962747fc
net.dns: Support for parsing PTR records
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 06 Oct 2010 00:13:24 +0100 |
parents | 3512:e344b00f2cc9 |
children | 3514:fdae08713c67 3518:d3399d1b484a |
files | net/dns.lua |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
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;