Re: When is resolv.conf written?

2008-11-14 Thread Roy Marples
??? wrote: > I have the same problem. I need to add another search domain to > /etc/resolv.conf. This is in the workplace, so the dhcp server > cannot be changed. I wrote a dispatcher script, too. And it works > well in the morning. But in every afternoon the resolv.conf will be > reverted to the d

Re: When is resolv.conf written?

2008-11-13 Thread 平天韩
I have the same problem. I need to add another search domain to /etc/resolv.conf. This is in the workplace, so the dhcp server cannot be changed. I wrote a dispatcher script, too. And it works well in the morning. But in every afternoon the resolv.conf will be reverted to the default one (maybe the

Re: When is resolv.conf written?

2008-11-12 Thread Alexander Sack
On Wed, Nov 12, 2008 at 08:33:18PM +0100, Michael Biebl wrote: > Tom Horsley wrote: > > On a new ubuntu 8.10 virtual machine with network-manager > > 0.7~~svn20081018t105859-0ubuntu1 installed, I have added > > a /etc/NetworkManager/dispatcher.d/ script. > > > > The purpose of this script is to e

Re: When is resolv.conf written?

2008-11-12 Thread Roy Marples
Tom Horsley wrote: The purpose of this script is to edit the /etc/resolv.conf and add items to the search directive when an interface comes up. [I'd love to add the proper search directive to the DHCP server, but the dhcp protocol doesn't support search list info]. It should, that's what the 'do

Re: When is resolv.conf written?

2008-11-12 Thread Michael Biebl
Tom Horsley wrote: > On a new ubuntu 8.10 virtual machine with network-manager > 0.7~~svn20081018t105859-0ubuntu1 installed, I have added > a /etc/NetworkManager/dispatcher.d/ script. > > The purpose of this script is to edit the /etc/resolv.conf > and add items to the search directive when an int

Re: When is resolv.conf written?

2008-11-12 Thread Tom Horsley
> > The purpose of this script is to edit the /etc/resolv.conf > > and add items to the search directive when an interface > > comes up. [I'd love to add the proper search directive to > > the DHCP server, but the dhcp protocol doesn't support > > search list info]. > > It should, that's what the

Re: When is resolv.conf written?

2008-11-12 Thread Dan Williams
On Wed, 2008-11-12 at 08:25 -0500, Tom Horsley wrote: > On a new ubuntu 8.10 virtual machine with network-manager > 0.7~~svn20081018t105859-0ubuntu1 installed, I have added > a /etc/NetworkManager/dispatcher.d/ script. > > The purpose of this script is to edit the /etc/resolv.conf > and add items

When is resolv.conf written?

2008-11-12 Thread Tom Horsley
On a new ubuntu 8.10 virtual machine with network-manager 0.7~~svn20081018t105859-0ubuntu1 installed, I have added a /etc/NetworkManager/dispatcher.d/ script. The purpose of this script is to edit the /etc/resolv.conf and add items to the search directive when an interface comes up. [I'd love to a