Setting hostname - fake and real
Chris Hodgins
chodgins at cis.strath.ac.uk
Thu Mar 10 01:59:23 PST 2005
Ben Paley wrote:
>>-----Original Message-----
>
>
>>From: Mark <admin at asarian-host.net>
>>Subject: RE: Setting hostname - fake and real
>>To: "'FreeBSD-Questions Questions'" <freebsd-questions at 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
More information about the freebsd-questions
mailing list