From owner-freebsd-questions@FreeBSD.ORG Tue Jul 22 02:27:06 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B582F106564A for ; Tue, 22 Jul 2008 02:27:06 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 2723A8FC1D for ; Tue, 22 Jul 2008 02:27:05 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (adsl10-74.kln.forthnet.gr [77.49.137.74]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-4) with ESMTP id m6M2QqpF011594 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 22 Jul 2008 05:26:58 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.2/8.14.2) with ESMTP id m6M2QqD3053687; Tue, 22 Jul 2008 05:26:52 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.2/8.14.2/Submit) id m6M2QqS3053686; Tue, 22 Jul 2008 05:26:52 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: Jim References: <80f4f2b20807211830y30acdf5cyacc05161a4268b04@mail.gmail.com> Date: Tue, 22 Jul 2008 05:26:51 +0300 In-Reply-To: <80f4f2b20807211830y30acdf5cyacc05161a4268b04@mail.gmail.com> (Jim's message of "Mon, 21 Jul 2008 21:30:56 -0400") Message-ID: <87mykaslg4.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-MailScanner-ID: m6M2QqpF011594 X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.791, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.61, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: freebsd-questions@freebsd.org Subject: Re: DNS troubles X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jul 2008 02:27:06 -0000 On Mon, 21 Jul 2008 21:30:56 -0400, Jim wrote: > I'm trying to get a machine working, but it can't seem to handle DNS > requests. I've just done a 7.0 install (from CD, usually I use net, > but it wasn't connecting to anything, now I know why). > > I have a machine with two built in NICs on the motheroboard, one using > nfe the other using bge. When I try to connect to anything, I get a > "cannot resolve host error". Both are set up to be static, > 192.168.1.84, and bge is 192.168.1.86. I have tried both "192.168.1.1" > (the router, which points to the ISPs DNS) and "4.2.2.1" in the > /etc/resolve.conf file, each separately, not both at once. The machine > can ping both of these addresses and gets a decent to rapid return > time (~.3ms for the former, <20ms for the latter) Neither works on > this machine. Both work on the other FreeBSD and Windows machines in > the house. I have the machine set to dual boot, and DNS works fine > under Windows. I hope you didn't create a "resolve.conf" file, because it is called "resolv.conf" without a final "e", i.e.: root@kobe:/root# ls -ld /etc/resol* -rw-r--r-- 1 root wheel - 35 Jul 22 01:36 /etc/resolv.conf root@kobe:/root#