Date: Mon, 01 Sep 2008 19:22:18 -0500 From: Derek Ragona <derek@computinginnovations.com> To: Tom Marchand <m0rchand@comcast.net>, freebsd-questions@freebsd.org Subject: Re: /etc/hosts Message-ID: <6.0.0.22.2.20080901192043.02547628@mail.computinginnovations.com> In-Reply-To: <7A686BAC-2F03-4B18-8307-83DDAD949625@comcast.net> References: <7A686BAC-2F03-4B18-8307-83DDAD949625@comcast.net>
next in thread | previous in thread | raw e-mail | index | archive | help
At 06:52 PM 9/1/2008, Tom Marchand wrote: >Hi, > >I've got an issue where hosts defined in my /etc/hosts are not being >resolved. I've looked at resolv.conf, host.conf and nsswitch.conf and >everything looks ok. It's my understanding that with the below >configurations, /etc/hosts should be used first then DNS. Correct? >This is a 6.1 system. > >host# cat resolv.conf >local domain >nameserver x.x.x.x > >cat host.conf ># Auto-generated from nsswitch.conf, do not edit >hosts >dns > > >host# cat nsswitch.conf >group: compat >group_compat: nis >hosts: files dns >networks: files >passwd: compat >passwd_compat: nis >shells: files Check your /etc/rc.conf and look that the correct IP and hostname are set in there. You may have a typo. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.0.0.22.2.20080901192043.02547628>