mirror of
https://github.com/albertito/dnss.git
synced 2026-04-26 18:05:57 +03:00
[GH-ISSUE #13] FR: Rate-limit error logs #12
Labels
No labels
enhancement
enhancement
pull-request
question
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/dnss#12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dseomn on GitHub (Jun 14, 2024).
Original GitHub issue: https://github.com/albertito/dnss/issues/13
Originally assigned to: @albertito on GitHub.
Hi,
My connection to my ISP recently went down for a short time, and dnss flooded the system logs with
connect: network is unreachableerrors. Would it be possible to add a rate limit to the logs so that, e.g., the same log message can't be logged more than once per second?@albertito commented on GitHub (Jul 7, 2024):
Hi! Thank you for opening this, sorry it took me so long to triage it.
This seems like a very reasonable feature request, will leave this open to track it :)
Do you have an example of the error messages you got overloaded with? So I know which ones to prioritize. No worries if not, I can simulate this if needed. Thank you!
@dseomn commented on GitHub (Jul 7, 2024):
Here are the messages that were filling my logs. The first two had variations with different IP addresses. I'm slightly confused by the last two because dnss is running with
--fallback_upstream=[::1]:14653. /etc/resolv.conf hasnameserver 127.0.0.53, but I didn't think dnss used that.