Open prizmpaladin opened 2 months ago
Hi 👋. Thank you for submitting your first issue to Homarr. Please ensure that you've provided all nessesary information. You can use the three dots > Edit button to update your post with additional images and information. Depending on the current volume of requests, the team should get in conact with you shortly.
that's a good idea. i'll look into adguard/pihole and see how that could be handled.
Hi good idea. @dslatt we can make timer function to handle this.
it looks like both pihole/adguard support timed disables through their api so we can use that
I can handle this if you want. But I still think that timer function is simpler. When you push the disable button a small modal will pop up to enter time. If 0 then unlimited.
@hillaliy what were you thinking of for the timer function? i'm not sure what you mean by it
i added a duration argument to the dnshole control api stuff here; just uses the 'duration' number to specify how long to disable when calling the pihole/adguard api. I didn't touch the widgets ui yet https://github.com/dslatt/homarr/tree/feature/dns-control-timer
OK I'll take a look at it
Nice. I'll use it and I'll change the UI. For my opinion I think that the DNSHoleControlers & DNSHoleSummary should be one widget. I will make the changes and make an option to chose for new UI or old UI.
Hello 👋, this issue has been open for 60 days without activity. We mark issues to help prioritise and close dead issues. Can you confirm that this issue is still relevant on the latest version? I'll remove the stale label as soon as there is further activity on this issue. Thank you 🙏
Description
It would be nice if there was a configuration to set the duration that the dns hole is disabled. In pihole this is an additional argument to
pihole disable
; e.g.pihole disable 30s
orpihole disable 10m
. I'm not familiar with other dns holes, it may not be similar.I'm always forgetting to turn it back on so this would be a great quality of life feature for me.
Priority
Low (Nice-to-have)