JGeek00 / droid-hole

Pi-hole® client made with Flutter
Apache License 2.0
135 stars 11 forks source link

Feature Request: reset DNS #24

Closed H3rmit closed 1 year ago

H3rmit commented 1 year ago

Being able to do that from this app would save me a lot of time

JGeek00 commented 1 year ago

I need to check if the Pi-hole API has an option to control that.

JGeek00 commented 1 year ago

Where's that option on the web interface?

yfhyou commented 1 year ago

I believe this would be referring to the Settings -> System -> Restart DNS Resolver button that is at the bottom of the page.

JGeek00 commented 1 year ago

I was checking that and unfortunately I can't add that feature on the app. The API doesn't have an endpoint to call that function and if I check what it does on the Pi-hole web interface project, it basically runs a terminal command. I don't have any way to run that command from the app without an SSH connection.