Missing DNSName:wirelength on recursor 4.2?

Daniel Cid <[email protected]> Mon, 29 Jul 2019 15:44:33 -0700
Newsgroups gmane.network.dns.powerdns.devel
Message-ID <CAF16CL9qOXirck=6Oz_+42vK9e-+nM+znzH_YSzG_Yd-+MyK1A@mail.gmail.com>
First, thanks for the continued work on PowerDNS. We love it and use it
everywhere we can (including on CleanBrowsing).

Also, please let me know if I am not in the right place - or if there is a
different place to report this issue.

Anyway, we started testing the new version ( PowerDNS Recursor 4.2.0 ) and
I noticed that the DNSName:wirelength is always returning nil. Simple
example:

function preresolve(dq)
    if(dq.qname:wirelength() <= 5) then
        dointernallogging("wirelength < 5");
    else
        dointernallogging("wirelength > 5");
    end

When doing some domain checks via Lua. I assumed it got removed, but it
still shows as valid here:

https://doc.powerdns.com/recursor/lua-scripting/dnsname.html

Any ideas?

thanks!

_______________________________________________
Pdns-dev mailing list
[email protected]
https://mailman.powerdns.com/mailman/listinfo/pdns-dev