Eric Martin wrote:
> Hung Dang wrote:
>> Hi all,
>> I have a strange problem that the resolv.conf  file  is reset to the
>> default file every time I reboot my computer.
>> Does anyone has similar problem before?
>>
>> Thanks,
>> Hung
>>
>>   
> dhcpcd does this.  Are you running dhcp on the machine?
> # Generated by dhcpcd
> # /etc/resolv.conf.head can replace this line

Eric: Thanks for a quick reply.

You are correct. Every time I reboot my machine dhcpcd override
resolv.conf file. I only use dhcpcd in my system and below is the
content of the new resolv.conf

# Generated by dhcpcd
# /etc/resolv.conf.head can replace this line
# /etc/resolv.conf.tail can replace this line


I guest the head and tail of the resolv.conf can be replace by
/etc/resolv.conf.head and /etc/resolv.conf.tail files.
My question is I have several Gentoo machines, how ever this problem
only happen with the new one. Do you have any suggestion for my problem?

Thanks
Hung



Reply via email to