From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QWree-0002TS-H9 for garchives@archives.gentoo.org; Wed, 15 Jun 2011 15:05:16 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 13F041C0D4 for ; Wed, 15 Jun 2011 15:05:15 +0000 (UTC) Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by pigeon.gentoo.org (Postfix) with ESMTP id A92E51C017 for ; Wed, 15 Jun 2011 14:07:52 +0000 (UTC) Received: from compute6.internal (compute6.nyi.mail.srv.osa [10.202.2.46]) by gateway1.messagingengine.com (Postfix) with ESMTP id 64788209DD for ; Wed, 15 Jun 2011 10:07:52 -0400 (EDT) Received: from frontend1.messagingengine.com ([10.202.2.160]) by compute6.internal (MEProxy); Wed, 15 Jun 2011 10:07:52 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=message-id:date:from:mime-version:to:subject:content-type; s=smtpout; bh=f6v/UpGIilFzLnMt4Y/0oQqiOV8=; b=sVBJdSBxtaqKNTgmatOs3nBLkmU1xJRytSqHlnJ6dTFQ9bbqkc60yH/9OJmxRwxVH5KiODoAnAEsNJm/Y9OxZMHL1Jwpy/6QBJDFeeM+QyT3FbdwWeNXITeqLFRLOlIL/2BOq64rnVF7p0n0R0Vn8tJKJhZIjmEnfM/3pmAKPBk= X-Sasl-enc: TYNfSqefRTm5fiC4IPmmmMrym2NST9KXsbzfeNkKPBL5 1308146871 Received: from [192.168.5.18] (serv.binarywings.net [83.169.5.6]) by mail.messagingengine.com (Postfix) with ESMTPSA id 75DF0403D98 for ; Wed, 15 Jun 2011 10:07:51 -0400 (EDT) Message-ID: <4DF8BCAF.2090804@binarywings.net> Date: Wed, 15 Jun 2011 16:07:43 +0200 From: Florian Philipp User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110507 Lightning/1.0b3pre Thunderbird/3.1.10 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: Gentoo User List Subject: [gentoo-user] Override DHCP-provided DNS X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigD6C413426DDFEF8889B0A95E" X-Archives-Salt: X-Archives-Hash: 1f4e77ebd498d8be17d05dde885b70f6 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD6C413426DDFEF8889B0A95E Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable 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 --------------enigD6C413426DDFEF8889B0A95E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk34vLMACgkQqs4uOUlOuU9kRgCfSoU9oIW8lCU6VvtzKB4MIGHW lNUAn2fWPaNE05gdnIcCrHvm9B8CT0Qa =SwjG -----END PGP SIGNATURE----- --------------enigD6C413426DDFEF8889B0A95E--