encrypted-dns icon indicating copy to clipboard operation
encrypted-dns copied to clipboard

Automatically switch DNS servers if connected to an SSID

Open Avamander opened this issue 1 month ago • 0 comments

I would really like to have a profile that would use one DNS server for one SSID and use an another for the rest. But I can't get an actually working profile, they can be valid and in some cases they're actually used, but OnDemandRules seem buggy?

I've tried

  • Creating a DNS server that gets turned on when connected to a specific SSID (with and without explicitly disabling the other one at the same time).
  • Creating a DNS server that gets enabled just for cellular but not for WiFI (and vice-versa). No dice. (Also what would be the intended behavior if it's a wired connection? Neither settings?)

But macOS 14.5 isn't actually switching between them? Is the only usable use-case really "disable when connected to this specific SSID"?

iOS on the other hand seems to let me pick the provider, but the "Automatic" option does not seem to practically work.

If this is actually doable I'm sure an example in this repository would be quite useful for many doing split-horizon DNS.

Avamander avatar May 15 '24 21:05 Avamander