LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-07-2003, 10:19 AM   #1
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692
Blog Entries: 9

Rep: Reputation: 45
Naming conventions ???


Just so I understand correctly, could someone please explain the difference between hostname, dnsdomainname and nisdomainname ?

My mandrake install, is currently

[john@localhost john]$

but I would eventually like to change this for something more original and less "default" (oh and it would come in handy for when I manage to get my gentoo install running as well.

I just don't understand which bit is which ?

regards

John
 
Old 12-07-2003, 10:25 AM   #2
dkaplowitz
Member
 
Registered: Oct 2002
Location: Havertown PA
Distribution: Ubuntu/RHEL/Fedora
Posts: 253

Rep: Reputation: 31
Re: Naming conventions ???

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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Java Naming Conventions logosys Programming 0 11-10-2005 08:21 PM
Supermount naming conventions --- how to edit??? esteeven Mandriva 0 08-31-2004 02:43 PM
Samba file naming conventions ElectroLinux Linux - Newbie 3 03-10-2004 02:42 AM
variable naming conventions patpawlowski Programming 6 02-25-2004 01:49 PM
File Naming Conventions mooreted Linux - Software 4 08-23-2003 10:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration