dnsdist deletes edns OPT record from truncated response #4857
Comments
Apparently caused by the truncateTC option which is enabled by default. Also this causes dnsviz to give off warnings. |
Since nothing limits the size of an |
You could always provide a minimal OPT record instead of preserving the original OPT record. And yes disabling truncateTC(false) is my current solution. Another option is maybe to disable truncateTC by default, since its not needed in most cases? |
Reopening this as #4859 is a terrible fix for this issue. |
NB: truncateTC is not actually documented. |
Fixed by #6847. |
Short description
When a truncated response passes through dnsdist the edns OPT record is removed. This is incorrect behaviour as per RFC 6891 chapter 7 last paragraph:
Environment
Steps to reproduce
Expected behaviour
Both results have the OPT record included
Actual behaviour
the reply from dnsdist is missing the OPT record.
The text was updated successfully, but these errors were encountered: