Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Mar 2005 10:03:27 +0000
From:      Chris Hodgins <chodgins@cis.strath.ac.uk>
To:        Ben Paley <ben@spooty.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Setting hostname - fake and real
Message-ID:  <42301B6F.9000305@cis.strath.ac.uk>
In-Reply-To: <200503100824.37018.ben@spooty.net>
References:  <20050309120046.6112A16A4D4@hub.freebsd.org> <200503100824.37018.ben@spooty.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Ben Paley wrote:
>>-----Original Message-----
> 
> 
>>From: Mark <admin@asarian-host.net>
>>Subject: RE: Setting hostname - fake and real
>>To: "'FreeBSD-Questions Questions'" <freebsd-questions@freebsd.org>
> 
>  
> 
>>>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



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