Answer the question
In order to leave comments, you need to log in
Alternative network config files in Centos 7?
In Centos 7, there are interface files in /etc/sysconfig/network-scripts/ifcfg-*
after rebooting network, search domain and sometimes nameserver are loaded from somewhere, where else are configs read from?
This question is also of interest for Debian and Ubuntu, what is the general provision for configuration files, is there such a thing?
Answer the question
In order to leave comments, you need to log in
If NetworkManager is running, it can generate /etc/resolv.conf and a network interface config file in sysconfig/network-scripts. If it is not running, then /etc/resolv.conf gets settings from the network interface config file.
There is no single standard for configs, and they are all made differently. This is exactly what distributions for some reason try to distinguish themselves from each other - everything is different in Debian than in CentOS.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question