<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>
<span class="gmail-pl-k">Hello,<br></span></div><div><span class="gmail-pl-k">Does Powerdns or dnsdist support for adding a TXT record (CHAOS class) to reply?<br></span></div><div><span class="gmail-pl-k"> <br></span></div><div><span class="gmail-pl-k">function</span> <span class="gmail-pl-en">postresolve</span>(<span class="gmail-pl-smi">dq</span>) <br></div><div> ..............<br></div><div> dq:addAnswer(
pdns.QCLASS = 3 ,
pdns.TXT, "\"Hello!\"", 3601)<br></div><div>
or syntax: ret[<span class="gmail-pl-c1">1</span>] <span class="gmail-pl-k">=</span> { qclass<span class="gmail-pl-k"> = 3,</span>
qname<span class="gmail-pl-k">=</span>qname,
<span class="gmail-pl-k"></span>pdns.<span class="gmail-pl-smi">TXT</span>
<span class="gmail-pl-k"></span>, content<span class="gmail-pl-k">=</span><span class="gmail-pl-s"><span class="gmail-pl-pds">"</span>hello<span class="gmail-pl-pds">"</span></span>, ttl<span class="gmail-pl-k">=</span><span class="gmail-pl-c1">1</span>} </div><div><br></div><div>Thanks</div><div>John<br></div><div><br></div></div></div></div></div>