LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 02-24-2004, 04:06 AM   #1
pkp2372
LQ Newbie
 
Registered: Feb 2004
Posts: 1

Rep: Reputation: 0
Domain Name


Hi,

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

Executing Command "dnsdomainname" shows correct domain name i.e "sagar.com" 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 "sagar.com"

With Regards
Pranav

Last edited by pkp2372; 02-24-2004 at 04:11 AM.
 
Old 02-24-2004, 10:40 AM   #2
Xris718
Member
 
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
etc...
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.


Cheers!!!
 
  


Reply



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

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

All times are GMT -5. The time now is 02:56 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