From owner-freebsd-questions@FreeBSD.ORG Thu May 7 13:34:57 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5121F1065674 for ; Thu, 7 May 2009 13:34:57 +0000 (UTC) (envelope-from andrewlylegould@gmail.com) Received: from mail-fx0-f168.google.com (mail-fx0-f168.google.com [209.85.220.168]) by mx1.freebsd.org (Postfix) with ESMTP id CC30A8FC14 for ; Thu, 7 May 2009 13:34:56 +0000 (UTC) (envelope-from andrewlylegould@gmail.com) Received: by fxm12 with SMTP id 12so791137fxm.43 for ; Thu, 07 May 2009 06:34:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=/O4eifSfOhYmESURGP25j2i05Zb2zr5k3ckQr2b4pl0=; b=VvwRTpbPpleNezE03zl9xum7u/0MPFwFPqrJ81JR73EkYR9iSANummr9AfrlNiHBrM bJRrxnIf1Htg6qrmopojxmUwKPKaQJZwlutqf5tT6rdEa/sa27U6fSw7dT6W/QRI5eOY X/XWORgktaj5FCzgDCVx33fzBKNBZ3oBdeK6Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=JsNg2MkGL/u5msHPEFn+9qMGnhkV3k7A2P6zZ5NubPv+F3xqdvyX3HsYy458thYxnl lDk08AWMfbLFGQgspxvrSdR+0iYUzXQuqOS6ym+S6s9cz3a3/03zf7CdCjP4epAqcXsJ UAOcTLbzTEL2YA6p0Vm2D7A/Zc8uG1+jo2VIU= MIME-Version: 1.0 Received: by 10.223.123.129 with SMTP id p1mr1144282far.0.1241703295677; Thu, 07 May 2009 06:34:55 -0700 (PDT) In-Reply-To: References: Date: Thu, 7 May 2009 08:34:55 -0500 Message-ID: From: Andrew Gould To: Daniel Underwood Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Xfce unable to lookup hostname 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: Thu, 07 May 2009 13:34:57 -0000 On Thu, May 7, 2009 at 8:14 AM, Daniel Underwood 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 > _______________________________________________ > Try adding the following line to /etc/hosts: 127.0.0.1 bsdbox bsdbox.my.domain Do not delete the localhost lines. Andrew