[dnsdist] toDNSString method failing with error

Александр Масленников alexander.a.maslennikov at gmail.com
Thu Feb 4 12:49:40 UTC 2021


Hi,
i want to use DNSName:toDNSString()
<https://dnsdist.org/reference/dnsname.html#DNSName:toDNSString> method
for converting names to wire format, but get an error message

dnsdist -c
> a = newDNSName('example.com.')
> b = a:toString()
> c = a:toDNSString()
Error: [string "c = a:toDNSString()"]:1: attempt to call method
'toDNSString' (a nil value)>

rpm -q dnsdist
dnsdist-1.5.1-1pdns.el8.x86_64
uname -r
4.18.0-240.10.1.el8_3.x86_64

what am i do wrong ?
thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/dnsdist/attachments/20210204/83769729/attachment-0001.htm>


More information about the dnsdist mailing list