Skip to content

DNS Error Reporting (RFC 9567)#902

Merged
gthess merged 25 commits intomasterfrom
features/error-reporting-poc
Apr 7, 2025
Merged

DNS Error Reporting (RFC 9567)#902
gthess merged 25 commits intomasterfrom
features/error-reporting-poc

Conversation

@wtoorop
Copy link
Member

@wtoorop wtoorop commented Jun 20, 2023

@wtoorop wtoorop changed the title Features/error reporting draft-ietf-dnsop-dns-error-reporting Jun 20, 2023
@gthess gthess marked this pull request as ready for review March 16, 2025 06:06
@gthess gthess requested a review from wcawijngaards March 16, 2025 06:06
@gthess
Copy link
Member

gthess commented Mar 16, 2025

I believe this is now ready for review.
There are no limits for error reporting.
Reports will be generated for client inited queries that gave an error during the mesh state.
This is mostly the validator at the moment. When EDEs for RPZ are introduced (blocked, censored, etc) it needs to be revisited (probably by excluding those codes from the report).
LDNS_EDE_OTHER is excluded from the reports because the code does not make sense by itself.
LDNS_EDE_STALE_ANSWER is not interfering with the report (it is generated when responding with stale data, not the same code path).

@gthess gthess self-assigned this Mar 19, 2025
@gthess gthess added this to the Future release milestone Mar 19, 2025
Copy link
Member

@wcawijngaards wcawijngaards left a comment

Choose a reason for hiding this comment

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

The code looks fine to include. The option set default off is a safe way to introduce the feature.

@gthess
Copy link
Member

gthess commented Mar 19, 2025

Thanks @wcawijngaards ! And nice catch!

@gthess
Copy link
Member

gthess commented Apr 7, 2025

@wcawijngaards, I merged and added a new stats item for dns_error_reports. Do you want to have a final look for completeness?

@wcawijngaards
Copy link
Member

The changes look fine! Good to have stats for the new feature.

@gthess gthess modified the milestones: Future release, 1.23.0 Apr 7, 2025
@gthess gthess changed the title draft-ietf-dnsop-dns-error-reporting DNS Error Reporting (RFC 9567) Apr 7, 2025
@gthess gthess merged commit a616437 into master Apr 7, 2025
1 check passed
@gthess gthess deleted the features/error-reporting-poc branch April 7, 2025 08:25
gthess added a commit that referenced this pull request Apr 7, 2025
- Merge #902: DNS Error Reporting (RFC 9567). Introduces new
  configuration option 'dns-error-reporting' and new statistics for
  'num.dns_error_reports'.
jedisct1 added a commit to jedisct1/unbound that referenced this pull request Apr 24, 2025
* nlnet/master: (49 commits)
  - Tag for 1.23.0rc2. This became the release of 1.23.0 on 24 April   2025. The code repository continues with 1.23.1 in development.
  - Increase default to `num-queries-per-thread: 2048`, when unbound is   compiled with libevent. It makes saturation of the task queue more   resource intensive and less practical. Thanks to Shiming Liu,   Network and Information Security Lab, Tsinghua University for the   report.
  Changelog entry for NLnetLabs#1265: - Merge NLnetLabs#1265: Fix WSAPoll.
  Fix WSAPoll (NLnetLabs#1265)
  Changelog entry for NLnetLabs#1265: - Merge NLnetLabs#1265: Fix WSAPoll.
  Fix WSAPoll (NLnetLabs#1265)
  - Fix for print of connection type in log-replies for dot and doh.
  - Fix NLnetLabs#1264: unbound 1.22.0 leaks memory when doing DoH.
  - Fix to detect if atomic_store links in configure.
  - Fix fast_reload to print chroot with config file name.
  - Update to the manpage for the fast_reload part.
  - Tag for 1.23.0rc1.
  - More explicit text about memory usage during fast_reload.
  Changelog entry for NLnetLabs#902: - Merge NLnetLabs#902: DNS Error Reporting (RFC 9567). Introduces new   configuration option 'dns-error-reporting' and new statistics for   'num.dns_error_reports'.
  DNS Error Reporting (RFC 9567) (NLnetLabs#902)
  - Fix to update common.sh for speed of kill_pid.
  - Fix test to speed up common.sh script kill_pid.
  Fix typo in Changelog entry.
  Changelog entry for NLnetLabs#1019: - Merge NLnetLabs#1019: Redis read-only replica support.   Introduces new 'redis-replica-*' options for the Redis cache backend.
  - Fix redis_replicat test for unused option defaults and log printout.
  ...
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.

3 participants