dhcpcd-discuss

Re: dhcpcd wont behave

Roy Marples

Mon Dec 28 15:58:26 2009

On Monday 28 December 2009 10:25:08 treah blade wrote:
> I was wondering if someone can answer why they removed the -R option to
>  have dhcpcd leave resolv.conf alone. I know that in the man page it says
>  that you can add the -C resolv.conf but this does not work dhcpcd still
>  clobbers the file and adds routes that cause severe lag in name lookups.
>  Maybe this is something that just got overlooked in the new builds or
>  something but any help on getting dhcpcd to behave would be helpfull.

This is because resolv.conf updated are now handled by a script rather than 
the dhcpcd program itself. -C tells the main script not to run sub-scripts.

dhcpcd -C resolv.conf

works fine, and dhcpcd does not touch resolv.conf.

If routes are being added that cause lags in name lookups, then there is an 
issue with the routes the DHCP server is providing.

Can you provide details of what you expect your routing table to look like, 
what it does look like, and a captured DHCP transaction via tcpdump/wireshark?

Thanks

Roy

Follow-Ups:
Re: dhcpcd wont behavetreah blade
References:
dhcpcd wont behavetreah blade
Archive administrator: postmaster@marples.name