Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jul 2005 01:47:45 -0700
From:      Glenn Dawson <glenn@antimatter.net>
To:        Xu Qiang <Qiang.Xu@fujixerox.com>, freebsd-questions@freebsd.org
Subject:   Re: DNS settings in FreeBSD?
Message-ID:  <6.1.0.6.2.20050727014549.038b9c50@cobalt.antimatter.net>
In-Reply-To: <20050727084323.4DFDF1D930@imss.sgp.fujixerox.com>
References:  <20050727084323.4DFDF1D930@imss.sgp.fujixerox.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



>Thanks,
>Xu Qiang
>
>
>_______________________________________________
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.1.0.6.2.20050727014549.038b9c50>