There is a problem with this, not all DNS/DHCP installations work alike. Some "give" your machine a name when it requests an IP address from it's pool. IPS's love to do this to your computer, thereby forcing a hostname that their servers recognise.
Others request a hostname, and based upon the hostname your machine has submitted, you get a particular IP or an IP from a particular range. Still others request a hostname and update your domain info, etc. It is quite likely that you can set a local hostname. When LM8.1 connects to a particular network, you'll find that it's machine hostname is changed. Each DHCP lease will also modify your /etc/resolv.conf further complicating matters. -JMS |-----Original Message----- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED]] On Behalf Of Praedor Tempus |Sent: Friday, October 19, 2001 1:22 AM |To: Mandrake Expert |Subject: [expert] Hostname question | | |OK, I have been wondering about this for a while and finally |seek an answer. My laptop, as is proper, gets moved around a |lot and connects to various |networks. I have left the hostname on it as |localhost.localdomain because |this, so far, is the only name that hasn't caused problems of |some sort or |other. | |I would like to give my laptop a better, more distinctive name |than localhost |but it must be a name that will actually work, regardless of |the network I |connect to (my university, military network, home). All |networks I tie into |use dhcp. | |Can someone please explain to me how to give my system a name |that will stick |and not cause problems for the various networks I might connect to? | |I have tried various hostnames and they either produce |"invalid name" errors |of some sort or they dick up my ability to connect to a given |network. I |need to know how to give my laptop a universal hostname that |will follow it |wherever I take it and regardless of the dhcp network I connect to. | |Doable? Or am I doomed to always be localhost.localdomain? | |praedor | |
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com