That would work for regular providers, but because I want to use a local Pihole instance, if a device doesn’t support setting different DNS servers for different networks, it would break as soon as I leave the house.
Pihole let’s you configure which DNS servers you want to use. After that you only need to configure your computer, phone etc. to use the Pihole as gateway and DNS server, after which the Pihole will perform the DNS lookups. https://docs.pi-hole.net/guides/dns/upstream-dns-providers/
I know, but the problem is that because it’s on a local IP, as soon as I leave my Wi-Fi network, some devices will fail to resolve DNS queries because they don’t have per-network DNS options.
That would work for regular providers, but because I want to use a local Pihole instance, if a device doesn’t support setting different DNS servers for different networks, it would break as soon as I leave the house.
Pihole let’s you configure which DNS servers you want to use. After that you only need to configure your computer, phone etc. to use the Pihole as gateway and DNS server, after which the Pihole will perform the DNS lookups. https://docs.pi-hole.net/guides/dns/upstream-dns-providers/
I know, but the problem is that because it’s on a local IP, as soon as I leave my Wi-Fi network, some devices will fail to resolve DNS queries because they don’t have per-network DNS options.
I think you can set up your pihole with a VPN for remote use too.
I just searched and found this tutorial but there should be more around:
https://blog.crankshafttech.com/2021/03/how-to-setup-pihole-pivpn-unbound.html?m=1
Alternatively, you could try to set your ISPs router into Bridge mode and use another router as the main router.