Date: Fri, 21 Jul 2000 13:14:37 +1000 (EST) From: Andrew Luke NESBIT <alnesbit@students.cs.mu.OZ.AU> To: freebsd-newbies@freebsd.org Subject: hostname on standalone machine Message-ID: <Pine.GSO.4.05.10007211234350.26378-100000@cat.cs.mu.OZ.AU>
index | next in thread | raw e-mail
Hi,
A FreeBSD newbie, I have just freshly installed 4.0-RELEASE and would
like to change my hostname from the generic "myname.my.domain". My only
connection to the outside world is via a dialup PPP link with dynamic IP
address. I have not much knowledge of networking.
I am not sure as to what problems may be caused by my selecting a
hostname, which, as far as the internet is concerned, does not "really"
exist (i.e. is not on any DNS).
From my understanding, this is what I must do to set up some hostname
more to my liking:
1. edit "/etc/rc.conf" to set my hostname to, say,
"araby.an.org.au".
2. edit host.conf to be
hosts
bind
3. edit hosts to read (from the handbook)
127.0.0.1 localhost.an.org.au localhost
127.0.0.1 localhost.an.org.au.
^
Why the need for the repetition, and why the dot?
10.0.0.1 araby.an.org.au araby
10.0.0.1 araby.an.org.au.
^^^^^^^^
What does this IP address mean? Wouldn't it be better to assign
these names to 127.0.0.1 also, so that network data doesn't go
through the serial link unnecessarily? (because the info in "hosts"
is used only for my machine to send data out to he world, right?)
And from my understanding, that's it, provided PPP is set up correctly?
Well, that seems to be it. Thanks for your time.
Andrew
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-newbies" in the body of the message
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.05.10007211234350.26378-100000>
