mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 11:15:54 +03:00
[GH-ISSUE #2468] [Monitoring,Events,Hooks] Where would it fit? #1000
Labels
No labels
blocked
breaking-change
bug
bug:critical
bug:tests
cleanup
compliance
compliance
compliance
crate:all
crate:client
crate:native-tls
crate:proto
crate:recursor
crate:resolver
crate:resolver
crate:rustls
crate:server
crate:util
dependencies
docs
duplicate
easy
easy
enhance
enhance
enhance
feature:dns-over-https
feature:dns-over-quic
feature:dns-over-tls
feature:dnsssec
feature:global_lb
feature:mdns
feature:tsig
features:edns
has workaround
ops
perf
platform:WASM
platform:android
platform:fuchsia
platform:linux
platform:macos
platform:windows
pull-request
question
test
tools
tools
trust
unclear
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hickory-dns#1000
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 @cocoon on GitHub (Sep 19, 2024).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/2468
I just recently discovered hickory-dns and tried to find out, how I could add some kind of monitoring?
I was thinking about something like subscribing to events and maybe like some kind of Plugin-System I could add a module to send information using MQTT if any subscriber is available.
MQTT could be used with many different topics.
Similar to this Proxy:
https://github.com/FreeRDP/FreeRDP/tree/master/server/proxy/modules
I found that there are stats available:
https://github.com/hickory-dns/hickory-dns/issues/158
But nothing about events?
Currently it looks for me like I would have to add something like a proxy in front and could only capture what comes in and back from there?
@djc commented on GitHub (Sep 19, 2024):
What event/hooks do you need? What are you trying to achieve?
@cocoon commented on GitHub (Sep 19, 2024):
Events like Zone Updates, every resolved and unresolved event, latency too high events, blocked event (when blocklist is available), new client event, pre resolve and post resolve, if forwarded ...
For example if I want to monitor a specific zone, client, ... and want to receive all events from it, I could filter it at the monitoring program or if I could filter it already prefilter with events/hooks.
@djc commented on GitHub (Sep 19, 2024):
Okay, I don't think we have infrastructure for this in Hickory today. You might be able to use a custom tracing-subscriber for some of the monitoring needs, I guess.
@cocoon commented on GitHub (Sep 20, 2024):
OK thank you! Will have a look.
@cocoon commented on GitHub (Oct 5, 2024):
I will close it here, as it is answered already.