]> git.ipfire.org Git - thirdparty/systemd.git/commit
resolve: persist DNSOverTLS configuration in state file
authormsizanoen1 <msizanoen@qtmlabs.xyz>
Tue, 27 Sep 2022 14:48:48 +0000 (21:48 +0700)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 27 Sep 2022 23:09:06 +0000 (08:09 +0900)
commitb49e029a9953dd0f327efe9035a7c429c3cfeb92
tree6d5f1c101fc4e5e70428c93e9e8e19bda2620ebe
parentf58ab54a2bd3240899f9400bc25f146a710225d1
resolve: persist DNSOverTLS configuration in state file

Currently, NetworkManager will set DNSOverTLS according to its
`connection.dnsovertls` configuration only once during connection,
instead of every single restart of systemd-resolved, causing resolved to
lose the configuration on restart.

Fix this by persisting DNSOverTLS in the runtime state file, which will
also make it more consistent with other interface-specific settings.
src/resolve/resolved-link.c