<div dir="ltr">I am trying to develop some lua code to reduce the number of TXT records some domains return.<br><br>I've had no luck accessing the DNS answer.  After failing with my own code, I decided to run the sample code found here:  <a href="https://www.dnsdist.org/advanced/luaaction.html">https://www.dnsdist.org/advanced/luaaction.html</a><br><br>The sample code can output the domain being queried, query type etc.<br><br>However, DNSSection.Answer is always 0.<br><br>So the loop the sample code attempts to run, if never run because there is no data.<br><br>Could my code be running before the data is returned from the DNS server or something?<br><br>No error, just can't get any data to output.<br><br><br>Kai</div>