Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Extended Error Codes in static-responder #347

Merged
merged 3 commits into from
Nov 18, 2023
Merged

Conversation

folbricht
Copy link
Owner

Adds support for extended error codes as per https://datatracker.ietf.org/doc/html/rfc8914 to the static-responder. This can be used to return additional information when a query is blocked. For this the static-responder could be set as the blocklist-resolver for blocklist-v2 for example.

[groups.static]
type  = "static-responder"
edns0-ede = {code = 15, text = "Blocked because reasons"}

Implements #345

@folbricht folbricht merged commit e06ed84 into master Nov 18, 2023
3 checks passed
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