-
Notifications
You must be signed in to change notification settings - Fork 880
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent NM from handling DNS when only network interfaces have DNS co…
…nfig In the change under PR #5401, if no global DNS configuration is present and only network interfaces have DNS and search domain configuration, we add DNS and search domain information from interface config and use it to populate /etc/resolv.conf. Therefore, in the absence of global DNS/search domain config and presence of only per-interface DNS/search domain information, we should add a network manager configuration to prevent network manager from manipulating /etc/resolv.conf. This is in addition to what we already do when a global DNS data is configured. Fixes: 1b8030e ("feat(sysconfig): Add DNS from interface config to resolv.conf (#5401)) Signed-off-by: Ani Sinha <[email protected]>
- Loading branch information
Showing
2 changed files
with
180 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters