Re: When is resolv.conf written?



??? 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 default one (maybe the dhcpclient renews the lease?)
> 
> How can we use the resolvconf to add the extra search domain?

You add this to /etc/resolvconf/resolv.conf.d/base
search your.other.domain

resolvconf will then merge it in.

Thanks

Roy


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]