Quote:
Originally posted by bigjohn
Just so I understand correctly, could someone please explain the difference between hostname, dnsdomainname and nisdomainname ?
|
hostname = the hostname of your current machine, localhost. This is what you want to change.
dnsdomainname = the name of your domain (whether this is a real .com or .org, etc. domain or just one you use on your internal network)
nisdomainname = is if you're using NFS, which is a Unix network file system...
To change your hostname you can run, as root, the command "hostname johnsworkstation.johnsdomain.com" change that to whatever you want. This won't be a permanent change though. I'm not sure where Mandrake does this, but on Redhat it's in /etc/sysconfig/network ...you change that file to what you want and the next time you reboot it will be the same.