NetworkManager-resolv.conf -
Bob Goodwin - Zuni, Virginia, USA
bobgoodwin at wildblue.net
Thu Nov 15 14:01:38 UTC 2012
On 15/11/12 08:39, Matthew Saltzman wrote:
> On Wed, 2012-11-14 at 21:19 -0400, Jorge Fábregas wrote:
>> On 11/14/2012 03:11 PM, Bob Goodwin - Zuni, Virginia, USA wrote:
>>> I am open to advice ...
>> You need to specify these in /etc/sysconfig-network-scripts/ifcfg-eth0
>> (or your interface):
>>
>> DNS1="xx.xx.xx.xx"
>> DNS2="xx.xx.xx.xx"
>> SEARCH="yourdomain.com"
>>
>> Then you'll see them in /etc/resolv.conf once you restart the network
>> service. (make sure you have BOOTPROTO=NONE)
> Aren't these options all settable from NetworkManager? Select Network
> Settings, then the interface, then Options, then IPv4 Settings, then the
> appropriate Method, then fill in other settings as needed. You can set
> or add DNS servers and search domains there.
"settable from NetworkManager?" They may well be, but if so it is
not obvious to me how to insert them into the GUI menu options,
least of all where to put the line: options timeout:1 attempts:1 I
had already tried the NM GUI menu that results from clicking on the
icon but never found a setting that worked for me. In the past I
always set it up for Opendns and forgot it, however Viasat does not
permit me to use Opendns, it seems I am forced to use their server
no matter what I enter for the nameserver. So my interest in doing
some nameserving locally.
I find it a lot less confusing to set-up resolv.conf with a text editor!
>
> The DHCP method gets resolv.conf contents from the DHCP server, but you
> can add DNS entries and search domains. The DHCP (Addresses Only)
> method doesn't take the server's DNS or search specs, but you can set
> them manually. The Manual method allows setting the IP parameters as
> well. There's a checkbox to share the settings with all users.
>
--
http://www.qrz.com/db/W2BOD
box7
More information about the users
mailing list