[systemd-devel] Temporarily add DHCP DNS as fallback

Jurek Olden jurek.olden at in.tum.de
Tue Oct 8 08:12:39 UTC 2019


Hello,

i use static DNS (1.1.1.1 and some fallbacks), but on some networks i
need the DHCP provided DNS to be temporarily added.

For instance when using a WLAN to connect via AnyConnect, i need to be
able to resolve the AnyConnect server via the local DNS.
Company networks with local name resolution would be another example.

Is there a way to make systemd (i use networkd and resolved) use the
DHCP provided DNS to resolve anything the static DNS can't (or when the
static one isn't reachable yet) and then go back to the static DNS?

Thanks for your help.

Kind regards,
Jurek Olden




More information about the systemd-devel mailing list