Hello list!

for some wireless access points, I want to get an IP via DHCP but not
use the provided DNS-server (I use an openvpn setup with its own DNS
server, domain name, etc.).

In /usr/share/doc/openrc-0.8.2-r1/net.example it reads:
# Setting name/domain server causes /etc/resolv.conf to be overwritten
# Note that if DHCP is used, and you want this to take precedence then
# please put -R in your dhcpcd options

But dhcpcd does not seem to have a -R option. It does have a --static
option, though. While this is good enough for simply setting the DNS
server, it does not seem to allow specifying domain names or
search-domains (at least it is not shown in the man-page).

Please tell me what the proper way is and whether the mention of "-R" is
a documentation bug.

Thanks in advance,
Florian Philipp

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to