From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1KNI09-0002tS-2R for garchives@archives.gentoo.org; Mon, 28 Jul 2008 01:58:17 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 23A9AE02C9; Mon, 28 Jul 2008 01:58:15 +0000 (UTC) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.235]) by pigeon.gentoo.org (Postfix) with ESMTP id 0092BE02C9 for ; Mon, 28 Jul 2008 01:58:14 +0000 (UTC) Received: by wr-out-0506.google.com with SMTP id c37so3479135wra.26 for ; Sun, 27 Jul 2008 18:58:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=pJX9udJQyH4/wbGGDVmLCBTOHef6rf2ArdhyE5lw2iU=; b=iutvIe/Xnq6mBffQuoKrDHr+HcmS7WeBvpevmxoysX952UHqouOSemZ/tZeZgsl2aL +a8WYud2wZvFJWOGZs1xUVlkBM8MMLl2Sx78nF222uFflkwu95a4DuJh/O9NYY7edxC2 m2LujQMb7Y7B5y5YgV/CwWaJ6j+48KekVXiCs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=M1n/6vWxXbKmLjv52o9yADGDJB/P8CUmQZNiqgmP2AK5M7Dz3Ao7J6m+rymjp8XRg8 mY6ni93XwsZjc7v9CfOFqB3Rt4HlxZWgScmXkryR3FuBXuBEuvNXFS1gDJtXs+0kmk0U zWfzdbNCG53TxIf2MQm7popH2plz9Fa/YyDlA= Received: by 10.90.98.13 with SMTP id v13mr6737381agb.54.1217210294562; Sun, 27 Jul 2008 18:58:14 -0700 (PDT) Received: from Midori.localhost ( [68.200.145.197]) by mx.google.com with ESMTPS id 20sm14409396agb.38.2008.07.27.18.58.13 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 27 Jul 2008 18:58:14 -0700 (PDT) Date: Sun, 27 Jul 2008 21:58:10 -0400 From: Kenneth Prugh To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] prevent resolv.conf generation by dhcp Message-ID: <20080727215810.74ef2b71@Midori.localhost> In-Reply-To: <20080727203423.43ad4448@bellgrove.remarqs.net> References: <20080727203423.43ad4448@bellgrove.remarqs.net> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; x86_64-pc-linux-gnu) 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: f03cb0aa-b2bb-435b-8ce7-c51670a826ce X-Archives-Hash: 607c9e6e63e49c6efbcade224f58f7ed On Sun, 27 Jul 2008 20:34:23 -0500 =C2=BBQ=C2=AB wrote: > Since I connect to wireless APs with nameservers not patched against > the cache poisoning vulnerability, I'd like to stick with using the > opendns.com servers for a while. I'm using wpa_supplicant and > openresolv. What's the best way for me to keep my resolv.conf from > being overwritten when I connect? >=20 > So far, I've just put the opendns servers > in /etc/resolvconf/resolv.conf.d/head so that they are always on top, > which is probably good enough. >=20 In /etc/conf.d/net add: dhcp_wlan0=3D"nodns" (or whatever your interface is) Hope that helps. --=20 Ken69267 | AMD64 Gentoo Linux Developer