Lissy93 / dashy

🚀 A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!
https://dashy.to
MIT License
18.13k stars 1.37k forks source link

[FEATURE_REQUEST] widget - technitium DNS server #780

Open lephtHanded opened 2 years ago

lephtHanded commented 2 years ago

Is your feature request related to a problem? If so, please describe.

no problems - I LOVE ME SOME DASHY

Describe the solution you'd like

I'm swapping out pihole with Technitium DNS. They have an api readme. I was hoping the widget would be the Get Stats type.

Priority

Low (Nice-to-have)

Is this something you would be keen to implement

No

Lissy93 commented 2 years ago

Not come across technitium before, but it looks pretty cool.

I had a quick look at the API docs, looks like the /getStats endpoint returns eexactly what we'd need.

Their method of authentication seems a bit annoying, as you need to specify your username + password to get a token, which is then only valid for 30 minutes. Usually you want to avoid using a users real credentials, and instead use a scoped API token, which can say only be used for fetching. But I noticed one of their planned features was to support API keys. Either way, I'll have a play around with it, and see if it's possible to get around that easily and safely.

I'm working on a big refactor of how the config is loaded at the moment, so it might be a few weeks before I can get around to this.

Unrelated, but out of interest, how to you find Technitium compares to Pi-Hole? I've been looking for an alternative with better support for advanced DNS configurations.

lephtHanded commented 2 years ago

This acts as a whole DNS server.  super powerful...

it doesn't have theme support (pretty bright) but other than that I like it more because it IS a DNS server and not an app.

---- On Sun, 03 Jul 2022 14:36:31 -0400 Alicia Sykes @.***> wrote ---

Not come across technitium before, but it looks pretty cool.

I had a quick look at the API docs, looks like the https://github.com/TechnitiumSoftware/DnsServer/blob/master/APIDOCS.md#get-stats endpoint returns eexactly what we'd need.

Their method of authentication seems a bit annoying, as you need to specify your username + password to get a token, which is then only valid for 30 minutes. Usually you want to avoid using a users real credentials, and instead use a scoped API token, which can say only be used for fetching. But I noticed one of their https://github.com/TechnitiumSoftware/DnsServer#planned-features was to support API keys. Either way, I'll have a play around with it, and see if it's possible to get around that easily and safely.

I'm working on a big refactor of how the config is loaded at the moment, so it might be a few weeks before I can get around to this.

Unrelated, but out of interest, how to you find Technitium compares to Pi-Hole? I've been looking for an alternative with better support for advanced DNS configurations.

— Reply to this email directly, https://github.com/Lissy93/dashy/issues/780#issuecomment-1173150582, or https://github.com/notifications/unsubscribe-auth/ARSDLYCIHM6DLWVMICY2WADVSHMS7ANCNFSM52QWVD6Q. You are receiving this because you authored the thread.

liss-bot commented 2 years ago

This issue has gone 6 weeks without an update. To keep the ticket open, please indicate that it is still relevant in a comment below. Otherwise it will be closed in 5 working days.

Lissy93 commented 2 years ago

/keep-open