Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 May 2009 08:34:55 -0500
From:      Andrew Gould <andrewlylegould@gmail.com>
To:        Daniel Underwood <djuatdelta@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Xfce unable to lookup hostname
Message-ID:  <d356c5630905070634p32f22c1m5086061fbd1c8178@mail.gmail.com>
In-Reply-To: <b6c05a470905070614h5a665f8ai15b03a192666b1b9@mail.gmail.com>
References:  <b6c05a470905070614h5a665f8ai15b03a192666b1b9@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 7, 2009 at 8:14 AM, Daniel Underwood <djuatdelta@gmail.com>wrote:

> Every time I log in to xfce, it throws a warning that it cannot lookup
> "bsdbox" (which is my hostname as defined in rc.conf). The warning
> dialog suggests altering /etc/hosts to fix the problem. In fact, it's
> not a "problem" because my WAN connectivity is fine, but I still want
> to resolve this.
>
> In /etc/hosts there are two lines containing:
>
> localhost localhost.my.domain
>
> Since I'm connecting to the Internet through a dynamic-IP ISP without
> a reserved domain name, I have nothing with which to replace
> "my.domain".
>
> What should I do to resolve this issue? In a situation like this
> (note: I am behind a home router), is there actually anything I can
> replace "my.domain" with?
>
> Pardon my very limited understanding of networking concepts :)
>
> Thanks,
> Daniel
> _______________________________________________
>  <freebsd-questions@freebsd.org>


Try adding the following line to /etc/hosts:

127.0.0.1     bsdbox     bsdbox.my.domain

Do not delete the localhost lines.

Andrew



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