Setting hostname - fake and real
chodgins at cis.strath.ac.uk
Thu Mar 10 01:59:23 PST 2005
Ben Paley wrote:
>>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:
>>>>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:
> 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.
You can simply use 127.0.0.1 in there.
127.0.0.1 localhost my-xp-machine.org
More information about the freebsd-questions