Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jul 2005 04:00:39 -0500
From:      Nikolas Britton <nikolas.britton@gmail.com>
To:        Xu Qiang <Qiang.Xu@fujixerox.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: DNS settings in FreeBSD?
Message-ID:  <ef10de9a050727020064ba70b6@mail.gmail.com>
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
On 7/27/05, Xu Qiang <Qiang.Xu@fujixerox.com> 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



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