[CentOS] Network Manager / CentOS 7 / local unbound

Gianluca Cecchi gianluca.cecchi at gmail.com
Tue Apr 11 10:11:44 UTC 2017


On Tue, Apr 11, 2017 at 12:03 PM, Alice Wonder <alice at domblogger.net> wrote:

> From the man page that does tell it not to mess with /etc/resolv.conf -
> thank you. That will work.
>
> On 04/11/2017 02:21 AM, anax wrote:
>
>> Hi Alice
>> man NetworkManager.conf
>>
>> in /etc/NetworkManager/NetworkManager.conf
>>
>> ....
>> dns=none
>> ....
>>
>>
Hello,
I think another option should be to put this inside ifcfg-xxx of the
involved network adapter:

PEERDNS=no

So that it will not accept dns server eventually proposed by the dhcp server



More information about the CentOS mailing list