[CentOS] Unexpected /etc/resolv.conf updates on CentOS 7

Thu Oct 14 01:14:36 UTC 2021
Kenneth Porter <shiva at sewingwitch.com>

On 10/13/2021 10:24 AM, Toralf Lund wrote:
> Does here anyone know exactly when NetworkManager creates or is 
> supposed to create /etc/resolv.conf for a network connection? Is there 
> a way I can control it, or alternatively, is there a good way to debug 
> the functionality? 

Take a look at change_resolve_conf in 
/etc/sysconfig/network-scripts/network-functions. This is invoked in a 
few places in that directory, like in ifup-post.

I'm curious to hear what you find.