<div dir="ltr">Hi,<div><br></div><div>I am using dnsdist 1.4.0-beta1 and am trying to detect queries that are using a local/experimental optcode. For example, I have the following in the dnsdist.conf file. </div><div><br></div><div>addAction(EDNSOptionRule(65002), DropAction())<br></div><div><br></div><div>and I see the rule in the webserver. </div><div><br></div><div><div><img src="cid:ii_jyrhgxrn0" alt="Screen Shot 2019-07-31 at 12.47.10 PM.png" width="452" height="58"><br></div></div><div><br></div><div>and I sent a query with the ENDS Option and it doesn't get dropped. I know this because I have a Lua script associated with the pdns recursor that is processing that specific option. </div><div><br></div><div>lua snippit </div><div>      -- Special Code is in EDNS Option 65002<br>      local specialcode = dq:getEDNSOption(65002)<br>      if (specialcode) then<br>        pdnslog("*************************** Special Code = "..specialcode)<br>      end<br></div><div><br></div><div>Log file Output </div><div>*************************** Special Code = BLAH<br></div><div><br></div><div>Any idea on what is going on? </div><div><br></div><div>Thanks,</div><div>brian</div><div><br></div><div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><p><span></span><span><img src="https://docs.google.com/uc?export=download&id=0BzPp9aRH66f2d2JzS2ZRUHl6dEE&revid=0BzPp9aRH66f2SHFsTEhtT3JZUGs3aWwxY0MzSEF0VEJNVFJrPQ" width="200" height="50">  </span></p><p><span><span><font color="#666666">Brian M. Sullivan<br>Senior Staff Security Intelligence Engineer</font><br><font color="#0000ff"><a href="mailto:bsullivan@lookout.com" target="_blank">bsullivan@lookout.com</a></font> |  <font color="#0000ff"><a href="http://www.lookout.com" target="_blank">www.lookout.com</a></font><font color="#666666"><br></font></span></span></p></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>