Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-24-2004, 05:06 AM   #1
LQ Newbie
Registered: Feb 2004
Posts: 1

Rep: Reputation: 0
Domain Name


I have an installation of RHAS2.1. The DNS has been configured with Domain name "".

Executing Command "dnsdomainname" shows correct domain name i.e "" while command "domainname" shows "none". This may be because, the command "domainname" shows nis domain name while the "dnsdomaindname" command shows configured domain name.

Can anyone let me know how to configure nis domain name so that executing "domainname" shows ""

With Regards

Last edited by pkp2372; 02-24-2004 at 05:11 AM.
Old 02-24-2004, 11:40 AM   #2
Registered: May 2003
Location: NYC
Distribution: CentOS
Posts: 261

Rep: Reputation: 30
1. make sure you have nis rpms installed.
2. make sure ypbind, ypserv, (yppasswdd for adding users) is running. Those are nis processes.
ex: you can start them up (as root) with following commands:
a) service ypbind start
b) service ypserv start
3. Issue command to initialize domainname for nis server. (as root)
a) # domainname <name>
without the '<>'
4. Initialize nis server (as root)
a) # /usr/sbin/ypinit -m
Note: Path maybe different on your system use "locate ypinit" to find executabe file.



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
domainname? kalleanka General 2 06-12-2005 05:53 PM
Problem with domainname rot Linux - Networking 4 08-11-2003 05:19 AM
Can't set domainname jeffshanab Linux - Networking 13 05-28-2002 01:52 AM
domainname kevv Linux - Networking 1 05-03-2002 11:19 AM
domainname problem jayakrishnan Linux - General 1 03-21-2002 01:51 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:37 AM.

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