[Pdns-users] returning a TXT record consisting only of digits from lua backend
Christof Meerwald
cmeerw at cmeerw.org
Wed Jul 28 20:49:49 UTC 2021
Hi,
it seems to be impossible to return a "TXT" record that only contains
digits from the lua backend (something like "1234").
Any attempt results in "boost::bad_get: failed value get using
boost::get".
I guess this is a side-effect of how lua_isnumber is specified:
"Returns 1 if the value at the given index is a number or a string
convertible to a number, and 0 otherwise."
Christof
--
https://cmeerw.org sip:cmeerw at cmeerw.org
mailto:cmeerw at cmeerw.org xmpp:cmeerw at cmeerw.org
More information about the Pdns-users
mailing list