[dnsdist] Matching corrupt DNS queries?

Jacob Bunk Nielsen jacob at bunknielsen.dk
Mon Aug 14 17:15:07 UTC 2023


Hi Remi

Remi Gacogne via dnsdist <dnsdist at mailman.powerdns.com> writes:
> On 13/08/2023 13:07, Jacob Bunk Nielsen via dnsdist wrote:
>
>> :setTC() function, but not a :getTC() function.
>
> Right, it was indeed missing. [1] adds it, and will likely be
> backported to 1.8.x.

Very quick expedition. Thank you, now I can shortly look into doing
something with a LuaAction().

>> Also, it would be great
>> to have a generic way to match on header flags like you can do on e.g.
>> query types.
>> Something like:
>> HeaderRule(DNSFlags.TC, true)
>> or similar, but I don't find anything like this in the docs.
>
> I don't think we have such a rule yet, and I would gladly add it to
> dnsdist. Would you mind opening a feature request so it doesn't get
> forgotten?

There you go: https://github.com/PowerDNS/pdns/issues/13137

Best regards,
Jacob



More information about the dnsdist mailing list