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
_______________________________________________
dnsdist mailing list
[email protected]
https://mailman.powerdns.com/mailman/listinfo/dnsdist

Reply via email to