On Tue, 05 Sep 2006, in the Usenet newsgroup comp.os.linux.networking, in
article <qt6Lg.8306$(E-Mail Removed)> , Allen Kistler wrote:
>(E-Mail Removed) wrote:
>> I am using Cent OS 4.3 (same as Red Hat Enterprise Linux, only
>> cheaper).
>> Not to ask too stupid a question, but how and where do I set my domain
>> name?
_which_ domain name? If you mean that part of the fully qualified
host name to the right of the first decimal point, it's set in the
HOSTNAME variable in /etc/sysconfig/network. See also that there is
some means of the system looking up the IP address of the full hostname
(normally done by including it in /etc/hosts).
If you are referring to the NIS domain, that's also set in the same file,
as the variable "DOMAINNAME" (some distributions use NISDOMAINNAME).
As for the windoze workgroup domain - I don't do windoze, but check the
Samba configurations.
>/etc/resolv.conf
>
>search yourdomainname
That only effects the resolver, and has nothing to do with the DOMAIN
name.
[compton ~]$ locate domain | grep bin
/bin/dnsdomainname
/bin/domainname
/bin/nisdomainname
/bin/ypdomainname
[compton ~]$
Old guy
|