[REQUEST] Edit /etc/hosts file from WebUI

I often edit my /etc/hosts file to add local hosts in my little test lab for various reasons. It would be nice to be able to edit this file (and optionally "reset hosts file to default") directly from the WebUI.

I also would like to see this feature come to Pi-Hole. Whether it be to make changes to the hosts file, or it's own hosts file/ config file within dnsmasq.d. I would like to be able to quickly add the hostnames to pihole through the web browser instead of logging in through SSH.

I do use the reserved IP address functionality, which can still allows for hostname identification, but some servers I have are statically set and need to have the hosts file updated in order to access via hostname.

Closing as duplicate (and out of scope) feature request.

1 Like