-
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, we use global DNS configuration as well as DNS and search domain information from interface config and use it to populate /etc/resolv.conf. Therefore, if either or both global DNS/search domain config is present along with 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 only global DNS data is configured. Fixes: 1b8030e ("feat(sysconfig): Add DNS from interface config to resolv.conf (#5401)) Signed-off-by: Ani Sinha <anisinha@redhat.com>
- 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