Hi all
I’m using DNS over TLS with Quad9 as my DNS provider.
This works great in most circumstances, but when I want to connect to a public wifi, like at school or in the library, it’s not possible to open the Captive portal page, and I can’t use the network.
Is there some way to easily make this work? Maybe exclude these networks from private DNS?
Or a way to easily switch between network configurations?
I’m using systemd resolved, but configured with a private dns via my NixOs configuration.


Just have a dedicated browser used for the login that is excluded from your DNS.
Or a dedicated browser profile. https://support.mozilla.org/en-US/kb/profile-manager-create-remove-switch-firefox-profiles
I was looking at this one: Captive Browser
But would it work if I have my private DNS configured on system level?
I was also thinking to just disable the private DNS and configure it in firefox, but then it would only block trackers/ads in the browser, not in any other application.
Would make it easy to toggle off for a second to login to a captive portal though, or have a separate firefox profile for that (like davel mentioned)