From owner-freebsd-questions@FreeBSD.ORG Wed Dec 20 14:25:08 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0400A16A40F for ; Wed, 20 Dec 2006 14:25:08 +0000 (UTC) (envelope-from josh@tcbug.org) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [63.240.77.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id E29B543CA2 for ; Wed, 20 Dec 2006 14:23:37 +0000 (GMT) (envelope-from josh@tcbug.org) Received: from gimpy (c-24-118-186-172.hsd1.mn.comcast.net[24.118.186.172]) by comcast.net (sccrmhc12) with ESMTP id <20061220141141012004g5rve>; Wed, 20 Dec 2006 14:11:41 +0000 From: Josh Paetzel To: freebsd-questions@freebsd.org Date: Wed, 20 Dec 2006 08:11:32 -0600 User-Agent: KMail/1.9.4 References: <686726.76953.qm@web59213.mail.re1.yahoo.com> In-Reply-To: <686726.76953.qm@web59213.mail.re1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200612200811.33076.josh@tcbug.org> Cc: linux quest Subject: Re: Internet Connection Problem - DNS Related? 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: Wed, 20 Dec 2006 14:25:08 -0000 On Wednesday 20 December 2006 03:10, linux quest wrote: > I am a new user of FreeBSD. I have already installed FreeBSD > succesfully. However, I am not able to connect to the Internet. I > have read the ppp manual in FreeBSD (by typing man ppp), but I > still can't connect to the Internet. > > This is what happened at my prompt ... > > abc# ping google.com > ping: cannot resolve google.com: Host name lookup failure > > Then, I thought perhaps I haven't configure my DNS. So I typed man > dns, but I can't find the DNS manual, and yes... I know my ISP DNS > IP address. But I don't know where to configure it in FreeBSD. > > Hope someone can help me. Thanks. You might want to ensure you have connectivity by trying to ping something by IP. (128.101.101.101 would work if you don't know an IP off the top of your head) Anyways, to answer your question, nameservers are configured in /etc/resolv.conf nameserver xx.xx.xx.xx is the format of the directive in it. -- Thanks, Josh Paetzel