Skip to content

Commit 0cca2e3

Browse files
authored
Merge pull request PowerDNS#17430 from pieterlexis/rec-doc-nearmiss
docs(rec): describe result of hitting spoof-nearmiss-max in more places
2 parents 407e72c + 196ca84 commit 0cca2e3

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

pdns/recursordist/docs/security.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Under some circumstances, 'some time' has been measured at 2 seconds.
1616
This technique was first used by ``dnscache`` by Dan J. Bernstein and is standardized in :rfc:`5452`
1717

1818
In addition, PowerDNS detects when it is being sent too many unexpected answers, and mistrusts a proper answer if found within a clutch of unexpected ones.
19+
When this happens, the query to the authoritative server is retried over TCP.
1920

2021
This behaviour can be tuned using the :ref:`setting-yaml-recursor.spoof_nearmiss_max`.
2122

pdns/recursordist/rec-rust-lib/table.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2739,6 +2739,7 @@
27392739
"help": "If non-zero, assume spoofing after this many near misses",
27402740
"doc": """
27412741
If set to non-zero, PowerDNS will assume it is being subjected to a spoofing attack after seeing this many answers with the wrong id.
2742+
When detected, PowerDNS will fall back to using TCP for the query to the authoritative server.
27422743
""",
27432744
"versionchanged": ("4.5.0", "Older versions used 20 as the default value."),
27442745
},

0 commit comments

Comments
 (0)