]> git.ipfire.org Git - thirdparty/systemd.git/commit
networkd: Automatically set DNS and search domain information
authorPatrik Flykt <patrik.flykt@linux.intel.com>
Fri, 29 Sep 2017 11:23:38 +0000 (14:23 +0300)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Fri, 6 Oct 2017 09:30:27 +0000 (12:30 +0300)
commitc555a358ce6018044c91958df0afdae23271ad9f
tree048f607f25a36b12503bcd05ecb3f60713cef965
parent9e25315caa2359077565308e646cd8ef72acb6e6
networkd: Automatically set DNS and search domain information

When EmitDNS or EmitDomains is set, automatically look up values
for Router Advertisement DNS and DNS search domain options starting
with the values in the IPv6PrefixDelegationsection, if any. If none
are found, use the values set for the network, and as a last resort
try with the preferred upstream network.

The default DNS lifetime and therefore Router Advertisement interval
is added to the public sd_radv.h header as the DNS lifetime depends
on the maximum advertisement interval.
src/libsystemd-network/radv-internal.h
src/network/networkd-radv.c
src/network/networkd-radv.h
src/systemd/sd-radv.h