[Pdns-dev] Missing DNSName:wirelength on recursor 4.2?

Daniel Cid dcid at noc.org
Mon Jul 29 22:44:33 UTC 2019


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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-dev/attachments/20190729/724d1388/attachment.html>


More information about the Pdns-dev mailing list