Philippe Combes wrote:
> Subject: dhcpcd screws up /etc/resolv.conf when there are several name
> servers.
> Package: dhcpcd
> Version: 1:3.2.3-1.1
> Severity: critical
> Justification: breaks the whole system
> 
> *** Please type your report below this line ***
> 
> When the dhcpd server adds "option domain-name-servers" with two (or
> more) arguments,
> then the nameservers are listed with a comma in /etc/resolv.conf, e.g.
>   nameserver ns1.mydomain.com,ns2.mydomain.com
> instead of
>   nameserver ns1.mydomain.com
>   nameserver ns2.mydomain.com
> 
> 
I can't reproduce this at all: there are two places  in the dhcpcd where
resolv.conf may be written: one in the main C code, which is disabled by
default but can be enabled by editing /etc/default/dhcpcd, and one in
the script /etc/dhcpcd.sh which updates  /etc/dhcpc/resolv.conf for
compatibility. Both of these do the right thing.

Are you sure that there's not something else on your system overwriting
/etc/resolv.conf?


Cheers,

Simon.



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to