Skip to content

Remove flags doTCP and exactPathMatching from dnsdist listeners#55

Merged
ryru merged 1 commit intomainfrom
fix-dnsdist-settings
Nov 17, 2025
Merged

Remove flags doTCP and exactPathMatching from dnsdist listeners#55
ryru merged 1 commit intomainfrom
fix-dnsdist-settings

Conversation

@znerol
Copy link
Member

@znerol znerol commented Nov 17, 2025

Removal of those flags reduces log noise in noble. It doesn't change behavior in jammy.

* The doTCP flag isn't expected neither on addTLSLocal nor on
  addDOHLocal. It used to be there on addLocal but was removed in 1.4.0.
  https://www.dnsdist.org/reference/config.html?highlight=dotcp#addLocal
* The exactPathMatching flag only exists on addDOHLocal and not on
  addTLSLocal. It has been introduced in 1.6.0 to allow reverting a
  behavior change introduced in 1.5.0. No need to specify the default
  explicitly.
  https://www.dnsdist.org/reference/config.html?highlight=exactPathMatching#addDOHLocal

Removal of those flags reduces log noise in noble. It doesn't change
behavior in jammy.
@znerol
Copy link
Member Author

znerol commented Nov 17, 2025

Example of log spam due to these flags (when dnsdist is starting up):

[...]
Nov 16 17:05:19 localdns1 dnsdist[19866]: addTLSLocal: Unknown key 'exactPathMatching' given - ignored
Nov 16 17:05:19 localdns1 dnsdist[19866]: addTLSLocal: Unknown key 'doTCP' given - ignored
Nov 16 17:05:19 localdns1 dnsdist[19866]: addTLSLocal: Unknown key 'exactPathMatching' given - ignored
Nov 16 17:05:19 localdns1 dnsdist[19866]: addTLSLocal: Unknown key 'doTCP' given - ignored
Nov 16 17:05:19 localdns1 dnsdist[19866]: addTLSLocal: Unknown key 'exactPathMatching' given - ignored
Nov 16 17:05:19 localdns1 dnsdist[19866]: addTLSLocal: Unknown key 'doTCP' given - ignored
Nov 16 17:05:19 localdns1 dnsdist[19866]: addDOHLocal: Unknown key 'doTCP' given - ignored
Nov 16 17:05:19 localdns1 dnsdist[19866]: addDOHLocal: Unknown key 'doTCP' given - ignored
Nov 16 17:05:19 localdns1 dnsdist[19866]: addDOHLocal: Unknown key 'doTCP' given - ignored
Nov 16 17:05:19 localdns1 dnsdist[19866]: addDOHLocal: Unknown key 'doTCP' given - ignored
Nov 16 17:05:19 localdns1 dnsdist[19866]: addDOHLocal: Unknown key 'doTCP' given - ignored
[...]

Copy link
Collaborator

@ryru ryru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, thx!

@ryru ryru merged commit 510c26d into main Nov 17, 2025
1 of 2 checks passed
@ryru ryru deleted the fix-dnsdist-settings branch November 17, 2025 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants