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 1SSkLi-0006ZI-AE for garchives@archives.gentoo.org; Fri, 11 May 2012 07:33:14 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 10559E0D16; Fri, 11 May 2012 07:32:57 +0000 (UTC) Received: from mail-ee0-f53.google.com (mail-ee0-f53.google.com [74.125.83.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 0D1EAE0CFD for ; Fri, 11 May 2012 07:31:16 +0000 (UTC) Received: by eekc41 with SMTP id c41so872918eek.40 for ; Fri, 11 May 2012 00:31:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=6TdGgTvtkwWoB87Nc/KXQeolFHeolyhAs1HO8TZ46MQ=; b=ix/xeRWTdTerhmd388A3RYgegroabVkArhdGMp6oOvUi5aQvcvRHuYk+5UJ/hJJZR7 7wQo9Pj3YxJWzn916A6syJYJTUOmdDqCAgxAYJMVc6RBgOBxvcCYuwv6Xfdn/mja6qIf nMC1FfoihYlhfxNPCCtTxZ/06SPt/qKqdUVLzz4yp794b2FjGGCaDSpugh2wkvukmFMs Ny84jWuam6OaHSt3tYsuanIuto379bGerskNldQLw2GJ4x2S2TNVKyVtg4Cx3MOSAVTq Px0GRivUKTCu9RuTCucyv4f3Az3fc7xC8gkAVVQXPeZYdQBYhcVwLsaIrXIwPhLciy6w 3z6Q== 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 Received: by 10.213.121.67 with SMTP id g3mr2034266ebr.134.1336721475002; Fri, 11 May 2012 00:31:15 -0700 (PDT) Received: by 10.213.32.70 with HTTP; Fri, 11 May 2012 00:31:14 -0700 (PDT) In-Reply-To: <4FAB7E39.8030202@hadt.biz> References: <4FAA4CA5.9030600@gmail.com> <4FAB7E39.8030202@hadt.biz> Date: Fri, 11 May 2012 00:31:14 -0700 Message-ID: Subject: Re: [gentoo-user] why is it using OpenDNS? From: Grant To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 3b04ac00-72a2-47c1-95bc-bf732c8d1cda X-Archives-Hash: 5b6cca93ba7ba8548ae5165a58711b02 >>> Try appending this into your /etc/conf.d/net >>> > >>> > =A0 =A0dns_servers_wlan0=3D208.67.222.222 208.67.220.220 >>> > >>> > with or without quotes and brackets I am not really sure. >>> > >>> > =A0 =A0dns_servers_wlan0=3D( "208.67.222.222 208.67.220.220" ) >>> > >>> > Hope this helps! >> Thanks, but I'm actually trying to figure out why the system is using >> OpenDNS. =A0I don't see any OpenDNS settings anywhere and yet >> resolv.conf has OpenDNS IPs even after a reboot. =A0Shouldn't the >> 192.168.0.2 system have 192.168.0.1 in resolv.conf after DHCP? > > If there is no setting in /etc/conf.d/net that sets the nameservers > (like dns_servers_wlan0=3D...) or if you don't use dhcp, the file > /etc/resolv.conf won't be touched. > > You can try it, edit /etc/resolv.conf by hand, reboot. Then you will see > that your changes are still there. > > If you set an nameserver in /etc/conf.d/net - then resolv.conf will be > overwritten when /etc/init.d/net.* gets started. Perfect, thank you. I didn't realize /etc/resolv.conf isn't overwritten if DHCP isn't used. - Grant