From owner-freebsd-questions@FreeBSD.ORG Thu May 7 13:32:48 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 9EB9E1065670 for ; Thu, 7 May 2009 13:32:48 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 602DF8FC20 for ; Thu, 7 May 2009 13:32:48 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-196-7-253.dynamic.qsc.de [92.196.7.253]) by mx02.qsc.de (Postfix) with ESMTP id 03EA316C03E9; Thu, 7 May 2009 15:32:46 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n47DWdns023312; Thu, 7 May 2009 15:32:39 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 7 May 2009 15:32:39 +0200 From: Polytropon To: Daniel Underwood Message-Id: <20090507153239.600e1208.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 May 2009 13:32:48 -0000 On Thu, 7 May 2009 09:14:24 -0400, Daniel Underwood wrote: > In /etc/hosts there are two lines containing: > > localhost localhost.my.domain Really? No IP? I mean like ::1 localhost 127.0.0.1 localhost 127.0.0.1 bsdbox.local bsdbox 127.0.0.1 bsdbox.local. > 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". You can replace it with anything that doesn't resolve, such as ".local", ".localdomain", ".dingenskirchens"... :-) > 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? It's important that /etc/hosts defines the values for localhost and your selected hostname (bsdbox), at least with the 127.0.0.1 IP. You can add further IPs with the same name if your machine spans a LAN (such as from 192.168.1.1). You can check everything with % host localhost and % host bsdbox so it should resolve to 127.0.0.1. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...