Re: network-manager and resolv.conf
On Thu, 21 Apr 2011 08:25:36 -0700, tony mollica wrote:
> Using deb6-amd64 and I've searched for an acceptable solution but I find
> none that I like.
>
> The problem is that I would like to have this 'option single-request'
> lline in
> /etc/resolv.conf but network-manager continuously removes the line (and
> anything else it doesn't care for). There must be a way to identify
> this line
> as a permanent line or add it to the network manager config somewhere so
> it is always added back in when resolv.conf is changed.
>
> Question is: Where is that setting located?
"If you can't beat them, join them" :-)
Look at "man networkmanager", it seems that you can tell NM to pass some
values by scripting the desired commands by means of "/etc/NetworkManager/
dispatcher.d/" folder.
Maybe you can create a simple script -carefully look for the script
requirements- that adds the "option single-request" value to "/etc/
resolv.conf" every time NM is in use.
Greetings,
--
Camaleón
Reply to: