No, my machine works fine, dns works fine, I'm trying to get a web based mail program working and it's telling me that I need to set domainname to something other than (none)

I guess I can either find another package or just put this in a script..

Thanks for the help everyone..

Jake


At 05:12 PM 5/15/2002 -0400, you wrote:

Hi -

I've been reading your posts on the redhat list.  I get the list in digest mode, so I can't reply individually, but I thought I would send you a quick note.

The "domainname" command has nothing to do with DNS domain (like yahoo.com or whatever).  The domainname command, as stated in the man pages, is for setting the NIS/YP domain name for that machine.  The NIS/YP domain name is akin to the Windows NT "domain" which has nothing to do with an internet/DNS/TCP/IP domain.

As long as your hostname is correct, and you have the correct domain entry in /etc/resolv.conf you are good to go.  Unless you are running NIS/YP, and I didn't see anywhere in your posts that you are, there is no need to worry about the domainname command.

There is no utility to change the domain part of a FQDN.  You do that in /etc/resolv.conf.  So:

1. make sure output of hostname is correct
2. add "domain somedomain.com" to /etc/resolv.conf
3. you're done

For example, I'm running numerous servers, and the output of "domainname" on all of them is null, and I can assure you they are all working correctly from an addressing standpoint.  I don't run NIS or YP on any of my machines (LDAP is better).

Hope this helps.

- John

============================================
John Turner
[EMAIL PROTECTED] | 248-488-3466
Advertising Audit Service
http://www.aas.com

Reply via email to