Subj : Re: Giving a name to my linux box To : comp.os.linux From : Gerard Date : Thu Jun 17 2004 10:40 am On 16 Jun 2004 22:37:36 -0700, karthik bala guru scribbled: > Hi, > I have been able to set the IP address for my comp. But i would > like to know the tricks to give a Name to My computer so that i could > refer to it without using any kind of IP address. > > Regards, > karthik bala guru > linladn@yahoo.co.in You would typically use a file called /etc/hosts, here's a part of mine: 127.0.0.1 localhost 10.0.0.1 jacob jacob.prodeo 10.0.0.2 manasse manasse.prodeo 10.0.0.3 benjamin benjamin.prodeo 10.0.0.4 levi levi.prodeo The first column contains the ip-addresses The second column the 'simple' names The third (and further) column(s) may contain nicknames, as you can see, I use this to be able to name them by their 'simple' names as well as their fully qualified names BTW, prodeo is my internal domain name. Furthermore, there's a file called /etc/resolv.conf, which you want to contain at least the following line: nameserver 127.0.0.1 this basically says: this computer is its own DNS. HTH -- GerardLinux ay tee filternet dee oo tee ann el Q: What is small, yellow, and very, very dangerous? A: A canarie with the super-user password. .