Even having a DNS1 entry in /etc/sysconfig/network-script/ifcfg-eth0, if
NM_CONTROLLED="yes" exists then my /etc/resolv.conf file will contain only
the following line after upgrading and rebooting the node:
"options single-request"

At least that is what I have seen on my end.

Best regards,
Sebastian.


2015-08-07 18:48 GMT+01:00 Bonnie King <[log in to unmask]>:

>
>
> On 08/07/2015 12:41 PM, Sebastian Luna Valero wrote:
>
> # edit interface config to have: NM_CONTROLLED="no"
>> vim /etc/sysconfig/network-scripts/ifcfg-eth0
>>
>>
> You can add the following:
>
> DNS1=some dns server
>
> in the config file for your device(s).
>
>
>> By the way, why is this happening? Not sure whether it is a bad
>> configuration on my end or a bad move with recent updates.
>>
>
> Network Manager creates resolv.conf dynamically.
>
>
> --
> Bonnie King
> Assistant Group Leader
> Scientific Linux & Architecture Management
>
> Fermi National Accelerator Laboratory
> 630-840-8761 office
> 773-799-4608 cell
> www.fnal.gov
>