From owner-freebsd-questions@FreeBSD.ORG Wed Jul 27 08:43:54 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 8E87116A41F for ; Wed, 27 Jul 2005 08:43:54 +0000 (GMT) (envelope-from Qiang.Xu@fujixerox.com) Received: from mx20.fujixerox.co.jp (mx20.fujixerox.co.jp [192.26.96.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id B4F3743D46 for ; Wed, 27 Jul 2005 08:43:53 +0000 (GMT) (envelope-from Qiang.Xu@fujixerox.com) Received: from isvw20.fujixerox.co.jp ([129.249.27.140]) by mx20.fujixerox.co.jp with ESMTP id j6R8hqrc023327 for ; Wed, 27 Jul 2005 17:43:52 +0900 (JST) Received: from ms20.fujixerox.co.jp (localhost [127.0.0.1]) by isvw20.fujixerox.co.jp with ESMTP id j6R8hp8V021103 for ; Wed, 27 Jul 2005 17:43:51 +0900 (JST) Received: from ms1.fujixerox.co.jp (ms1 [129.249.27.192]) by ms20.fujixerox.co.jp with ESMTP id j6R8hpeh018728 for ; Wed, 27 Jul 2005 17:43:51 +0900 (JST) Received: from sgpaphq-smtp01.fujixerox.com ([13.198.8.73]) by ms1.fujixerox.co.jp (8.11.6p2a/3.7W) with ESMTP id j6R8hnm23914 for ; Wed, 27 Jul 2005 17:43:49 +0900 (JST) Received: from mailhost.sgp.fujixerox.com by sgpaphq-smtp01.fujixerox.com with ESMTP id 97162491122453815; Wed, 27 Jul 2005 16:43:35 +0800 Received: from localhost (localhost [127.0.0.1]) by localhost.sgp.fujixerox.com (Postfix) with SMTP id B3DE81D938 for ; Wed, 27 Jul 2005 16:43:28 +0800 (SGT) Received: from sess.xssc.sgp.xerox.com (unknown [13.198.33.122]) by imss.sgp.fujixerox.com (Postfix) with ESMTP id 4DFDF1D930; Wed, 27 Jul 2005 16:43:23 +0800 (SGT) From: Xu Qiang To: freebsd-questions@freebsd.org Date: Wed, 27 Jul 2005 16:46:44 +0800 X-Sent-Folder-Path: Sent Items X-Mailer: Oracle Connector for Outlook 9.0.4 60130 (9.0.2711) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-Id: <20050727084323.4DFDF1D930@imss.sgp.fujixerox.com> Subject: DNS settings in FreeBSD? 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, 27 Jul 2005 08:43:54 -0000 Hi, all: = Last time I asked you that why the machine can map the hostname to ip addre= ss without setting DNS Server in "/etc/rc.conf". = Now I remember that I have provided DNS ip address in the initial installin= g stage, where the installation wizard asked for me about the settings step= by step, in which I set the machine's hostname, ip address, domain, gatewa= y, subnet mask, and DNS server ip address. = Now, when I open the file "/etc/rc.conf", I found the machine's hostname, i= p address, subnet mask, domain, and gateway/router are all in it. = Yet, where is the DNS setting? If not in this file, which file does this se= tting reside in? P.S.: In solaris, I can use dos2unix to transfer txt file from DOS/Windows = format to Unix format, what is the corresponding command in FreeBSD? Thanks, = Xu Qiang