You are not logged in.

#1 2024-06-24 09:20:49

early_adopter
Member
Registered: 2011-03-30
Posts: 24

Set DNS server per connection with iwd and systemd-networkd

I'm running iwd and systemd-networkd on my laptop. I would like to trust the DNS servers offered by some SSIDs but not others. I've tried editing the iwd network configuration files but it doesn't seem to take. Can anyone suggest an example config?

Offline

#2 2024-06-25 07:48:46

impossibleveins23
Member
From: Israel
Registered: 2022-06-18
Posts: 153

Re: Set DNS server per connection with iwd and systemd-networkd

And what would be the "rules of trust"?

If you want different DNS configuration per access point, I see few options (depending on your rules):
1. Have this logic on the resolver side (openresolve or systemd-resolveconf).
2. Have some kind of logic editing the config file at: /var/lib/iwd/ap/[SSID].ap


* Good formatted problem description will cause good and quick solution smile
* Please don't forget to mark as [SOLVED].

Offline

Board footer

Powered by FluxBB