Or, if you’re lazy like me, just use NextDNS when you’re outside. There’s even an option to only activate NextDNS when not connected to the Wi-Fi of your choice.