I found the Pi-Hole integration (Pi-hole - Home Assistant) and added it to my Home Assistant setup. It’s connected properly using the API key.
I’m looking to do the following:
I’ve set up a Custom Upstream DNS using ExpressVPN/MediaStreamer. This is because I live abroad and sometimes want to access UK-based services (e.g. iPlayer / Channel 4). I don’t want this enabled all the time, so I would LOVE to have an easy toggle that enables the Custom DNS “ExpressVPN” and untoggles the default “Google” DNS. And then if I toggle again, it reverts back.
Does anyone know if this is possible with the current integration? It seems limited to “enable” or “disable” Pi-Hole at the moment. This doesn’t change the DNS servers that Pi-Hole uses, so has no impact on the setup.
I’m completely unfamiliar with the Pi-Hole API, which may have an option to do this? But I fear that’s above my abilities.
Any help anyone can give, or alternative ideas (does AdGuard allow this in HA for example?). I’m open to alternative ideas or options. Thank you all!!