From owner-freebsd-questions@FreeBSD.ORG Wed Jul 27 09:00:53 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 94A0716A41F for ; Wed, 27 Jul 2005 09:00:53 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6DA9143D79 for ; Wed, 27 Jul 2005 09:00:43 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: by wproxy.gmail.com with SMTP id i4so132286wra for ; Wed, 27 Jul 2005 02:00:39 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=XCrnL9heYN+blSF5L8OsMXsxoW+J8dKdkUdaI3RXPi2cN0Y0lvVKp8CjeDaD0X1bxr4wE5E8NGslcSu/XstnUB5U732ZryaDRPTdCnnH9EvlAfNajSevZAM1Hy+ViJNc8NlKgSLrVDI2k8otTK4W9FMUorL+zHPiL1f3+x+/Vp0= Received: by 10.54.54.60 with SMTP id c60mr245927wra; Wed, 27 Jul 2005 02:00:39 -0700 (PDT) Received: by 10.54.124.11 with HTTP; Wed, 27 Jul 2005 02:00:39 -0700 (PDT) Message-ID: Date: Wed, 27 Jul 2005 04:00:39 -0500 From: Nikolas Britton To: Xu Qiang In-Reply-To: <20050727084323.4DFDF1D930@imss.sgp.fujixerox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20050727084323.4DFDF1D930@imss.sgp.fujixerox.com> Cc: freebsd-questions@freebsd.org Subject: Re: DNS settings in FreeBSD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Nikolas Britton List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jul 2005 09:00:53 -0000 On 7/27/05, Xu Qiang wrote: > Hi, all: >=20 > Last time I asked you that why the machine can map the hostname to ip add= ress without setting DNS Server in "/etc/rc.conf". >=20 > Now I remember that I have provided DNS ip address in the initial install= ing stage, where the installation wizard asked for me about the settings st= ep by step, in which I set the machine's hostname, ip address, domain, gate= way, subnet mask, and DNS server ip address. >=20 > Now, when I open the file "/etc/rc.conf", I found the machine's hostname,= ip address, subnet mask, domain, and gateway/router are all in it. >=20 > Yet, where is the DNS setting? If not in this file, which file does this = setting reside in? >=20 > P.S.: In solaris, I can use dos2unix to transfer txt file from DOS/Window= s format to Unix format, what is the corresponding command in FreeBSD? Try /etc/resolv.conf and /etc/hosts