From owner-freebsd-questions@FreeBSD.ORG Wed Jul 27 09:05:57 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 D7F9C16A420 for ; Wed, 27 Jul 2005 09:05:57 +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 7465B43DD4 for ; Wed, 27 Jul 2005 09:05:12 +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 j6R9545x028655; Wed, 27 Jul 2005 18:05:04 +0900 (JST) Received: from ms20.fujixerox.co.jp (localhost [127.0.0.1]) by isvw20.fujixerox.co.jp with ESMTP id j6R9531f000457; Wed, 27 Jul 2005 18:05:03 +0900 (JST) Received: from ms1.fujixerox.co.jp (ms1 [129.249.27.192]) by ms20.fujixerox.co.jp with ESMTP id j6R9533W000888; Wed, 27 Jul 2005 18:05:03 +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 j6R952m26761; Wed, 27 Jul 2005 18:05:02 +0900 (JST) Received: from mailhost.sgp.fujixerox.com by sgpaphq-smtp01.fujixerox.com with ESMTP id 97199521122455101; Wed, 27 Jul 2005 17:05:01 +0800 Received: from imss.sgp.fujixerox.com (localhost [127.0.0.1]) by localhost.sgp.fujixerox.com (Postfix) with ESMTP id 8B21D1D93C; Wed, 27 Jul 2005 17:04:54 +0800 (SGT) Received: from sess.xssc.sgp.xerox.com (unknown [13.198.33.122]) by imss.sgp.fujixerox.com (Postfix) with ESMTP id 69B4E1D936; Wed, 27 Jul 2005 17:04:54 +0800 (SGT) From: Xu Qiang To: Glenn Dawson , freebsd-questions@freebsd.org Date: Wed, 27 Jul 2005 17:08:15 +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: <20050727090454.69B4E1D936@imss.sgp.fujixerox.com> Cc: Subject: RE: 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 09:05:58 -0000 Glenn Dawson wrote: > At 01:46 AM 7/27/2005, Xu Qiang wrote: >> Hi, all: >> = >> Last time I asked you that why the machine can map the hostname to ip >> address without setting DNS Server in "/etc/rc.conf". >> = >> Now I remember that I have provided DNS ip address in the initial >> installing 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, gateway, subnet mask, and DNS server ip address. >> = >> 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. = >> = >> Yet, where is the DNS setting? If not in this file, which file does >> this setting reside in? > = > /etc/resolv.conf > = > = >> 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? = > = > Install the dosunix port, It's in /usr/ports/converters/dosunix > = > -Glenn Got it, thank you! Regards, Xu Qiang