Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Dec 2001 12:14:15 -0500
From:      "Joe & Fhe Barbish" <barbish@a1poweruser.com>
To:        "FBSD Questions" <questions@FreeBSD.ORG>
Subject:   /etc/hosts file ?
Message-ID:  <LPBBIGIAAKKEOEJOLEGOEECJCJAA.barbish@a1poweruser.com>

next in thread | raw e-mail | index | archive | help
Hello all,

The documentation on the meaning of the fields for the 
statements contained in this file is clear as mud. 

The 2 statements that come with the install

::1             localhost localhost.my.domain myname.my.domain
127.0.0.1 localhost localhost.my.domain myname.my.domain

I think the ::1 and 127.0.0.1 work together and have to do with 
loopback function, but I have no idea what the 
'localhost localhost.my.domain myname.my.domain' is saying to FBSD
 and or if am I suppose to change it. 

Now the handbook says to add entries for any local hosts, but gives
no explanation of what a local host is. Is local host any private 
box attached to this FBSD box or just FBSD boxes with server functions?

I only have one FBSD box, and one Win98 box connected over Nic cards.
In user ppp to dial out to my ISP I use 10.0.0.1 in the ifaddr command
as the ip address of this FBSD box. So do I need a statement in hosts 
for 10.0.0.1? The first field following the IP address is 
[official hostname] followed by aliases. Does official hostname mean a 
domain name registered with the internet people, or is it any name I 
want to use as a handle to reference this FBSD box? Does it have to have 
end with a .com?

Read the man page, handbook, PPP primer, and can not find HOW TO USE info
can you point to any references that gives good insight to what is 
happening with the hostname field.

Thanks Joe   








To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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