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.

  • modus@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    2 days ago

    I have Fedora on my laptop. I’ll often connect to my VPN and then manually change the DNS. Annoying, but usually works.

    Another method if I’m using said WiFi for long periods of time is to use my travel router. Log into the portal on my laptop and then change the MAC of the router to that of my laptop and put it in repeater mode. Then connect the laptop to the router. Equally as annoying, but worth it.

    • AloneDownUnder@quokk.auOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 days ago

      You can connect to your VPN already before changing DNS?

      I was interested in having a VPN to my home network which just works over 443, so I can access everything in my home network even on public wifis in a safe way. Haven’t managed to set it up yet though.

      What do you use for travel router? Might be interesting as well.

      • modus@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        1 day ago

        I guess you use the DHCP-assigned DNS first, then change it to what you want after connecting. Tailscale is a great way to access your home network. Headscale is another one but I haven’t used it.

        I use a gl.inet router. They’re like $30. They use OpenWRT.