Networking Forums

Networking Forums > Computer Networking > Linux Networking > where do I set my domain name?

Reply
Thread Tools Display Modes

where do I set my domain name?

 
 
ToddAndMargo@gbis.com
Guest
Posts: n/a

 
      09-05-2006, 12:20 AM
Hi All,

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?

Many thanks,
--T

 
Reply With Quote
 
 
 
 
Allen Kistler
Guest
Posts: n/a

 
      09-05-2006, 03:49 AM
(E-Mail Removed) wrote:
> Hi All,
>
> 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?


/etc/resolv.conf

search yourdomainname
 
Reply With Quote
 
Moe Trin
Guest
Posts: n/a

 
      09-05-2006, 08:22 PM
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

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
hostname domain different from Active Diretory domain - kerberos problems Blake Windows Networking 4 07-27-2008 10:21 PM
Scan servers in domain for services running as domain admin. briant97 Windows Networking 2 05-27-2008 09:40 PM
Parked Domains, Aliases, Domain Redirection and Domain Forwarding Ajayk Linux Networking 0 05-27-2006 04:42 PM
VPN: unable to connect to the shares in a Win2003 Domain Server of a child domain Stefano Del Furia Windows Networking 5 11-02-2005 06:23 PM
Windows Server 2003 loses domain membership in NT domain... Paul Konchar Windows Networking 4 02-08-2005 08:40 PM



1 2 3 4 5 6 7 8 9 10 11