[GH-ISSUE #2468] [Monitoring,Events,Hooks] Where would it fit? #1000

Closed
opened 2026-03-16 01:13:31 +03:00 by kerem · 5 comments
Owner

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?

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?
kerem closed this issue 2026-03-16 01:13:36 +03:00
Author
Owner

@djc commented on GitHub (Sep 19, 2024):

What event/hooks do you need? What are you trying to achieve?

<!-- gh-comment-id:2360726333 --> @djc commented on GitHub (Sep 19, 2024): What event/hooks do you need? What are you trying to achieve?
Author
Owner

@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.

<!-- gh-comment-id:2360864156 --> @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.
Author
Owner

@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.

<!-- gh-comment-id:2360914607 --> @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.
Author
Owner

@cocoon commented on GitHub (Sep 20, 2024):

OK thank you! Will have a look.

<!-- gh-comment-id:2362802667 --> @cocoon commented on GitHub (Sep 20, 2024): OK thank you! Will have a look.
Author
Owner

@cocoon commented on GitHub (Oct 5, 2024):

I will close it here, as it is answered already.

<!-- gh-comment-id:2395006105 --> @cocoon commented on GitHub (Oct 5, 2024): I will close it here, as it is answered already.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hickory-dns#1000
No description provided.