From owner-freebsd-questions@FreeBSD.ORG Thu Mar 10 09:59:23 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D0B7316A4CE for ; Thu, 10 Mar 2005 09:59:23 +0000 (GMT) Received: from smtphost.cis.strath.ac.uk (smtphost.cis.strath.ac.uk [130.159.196.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04D2843D39 for ; Thu, 10 Mar 2005 09:59:23 +0000 (GMT) (envelope-from chodgins@cis.strath.ac.uk) Received: from [192.168.0.4] (chrishodgins.force9.co.uk [84.92.20.141]) j2A9w23X020843; Thu, 10 Mar 2005 09:58:03 GMT Message-ID: <42301B6F.9000305@cis.strath.ac.uk> Date: Thu, 10 Mar 2005 10:03:27 +0000 From: Chris Hodgins User-Agent: Mozilla Thunderbird 1.0 (X11/20050204) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ben Paley References: <20050309120046.6112A16A4D4@hub.freebsd.org> <200503100824.37018.ben@spooty.net> In-Reply-To: <200503100824.37018.ben@spooty.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-CIS-MailScanner-Information: Please contact support@cis.strath.ac.uk for more information X-CIS-MailScanner: Found to be clean X-CIS-MailScanner-SpamCheck: not spam, SpamAssassin (timed out) X-CIS-MailScanner-From: chodgins@cis.strath.ac.uk cc: freebsd-questions@freebsd.org Subject: Re: Setting hostname - fake and real X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Mar 2005 09:59:23 -0000 Ben Paley wrote: >>-----Original Message----- > > >>From: Mark >>Subject: RE: Setting hostname - fake and real >>To: "'FreeBSD-Questions Questions'" > > > >>>On Wednesday 09 March 2005 08:20, Luke Kearney wrote: >>> >>> >>>>Hello Ben >>>>Sounds like you might need some DNS magic here. I am not >>> >>>entirely sure I >>> >>>>understand why you would want to use fake dns names. >>> >>>I don't especially want to use a fake name, I just don't have >>>a real one to use... the machine I'm talking about is my home >>>machine with dynamic IP >> >>Why not simply add an entry to /etc/hosts? Like I do to get a >>pretty name for logins from my XP machine: >> >>192.168.0.6 my-xp-machine.org >> >>- Mark > > > Ok, what IP do I put? My dynamic IP in the real world (which is pretty static > in practice), or something else? The address you've used in your example > looks like my vmnet addresses. > > Cheers, > Ben > You can simply use 127.0.0.1 in there. 127.0.0.1 localhost my-xp-machine.org Chris