[dnsdist] LUA DNS Parser

japantoday at gmail.com japantoday at gmail.com
Thu Jun 19 05:22:40 UTC 2025


I am trying to develop some lua code to reduce the number of TXT records
some domains return.

I've had no luck accessing the DNS answer.  After failing with my own code,
I decided to run the sample code found here:
https://www.dnsdist.org/advanced/luaaction.html

The sample code can output the domain being queried, query type etc.

However, DNSSection.Answer is always 0.

So the loop the sample code attempts to run, if never run because there is
no data.

Could my code be running before the data is returned from the DNS server or
something?

No error, just can't get any data to output.


Kai
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/dnsdist/attachments/20250618/4483e849/attachment.htm>


More information about the dnsdist mailing list