On Sat, Feb 23, 2008 at 8:56 PM, Sharif Oerton <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm having some trouble following the instructions in section 7.11. > > I'm installing on a computer that will be connected to the Internet via ADSL, > using DHCP (not sure if that's relevant or not but it's there just in case). > > I don't understand this fully qualified domain name thing. What should I use? > The hostname, as configured in the previous section, is "arya". And just to > check that I'm understanding this correctly, the IP address in the second > non-blank or -comment line in /etc/hosts is just any private IP address? > > So then, my /etc/hosts would end up looking like > > 127.0.0.1 localhost > 192.168.1.1 arya.[something]
Since you're using DHCP, it might not be worth specifying 192.168.x.y since that might change. Instead, you can just add all your names pointing to 127.0.0.1: 127.0.0.1 arya.localdomain arya localhost See `man hosts' for more info. > Replacing [something] with the domain name? You can just make up a domain name if you don't have one. It's only relevant internally. > And what is an "alias"? How do I decide on one? You can have as many entries on a line as necessary as show above. The hosts file is only relevant for your host (no external host will be querying it), so you can set it up how you'd like. Applications on your system basically do the equivalent of this command: $ getent hosts <name or address> So you can play around and see how they respond to your hostname or IP address. -- Dan -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page