In article <[EMAIL PROTECTED]>,
John Summerfield  <[EMAIL PROTECTED]> wrote:
>Rus Foster wrote:
>
>> On Mon, 23 Aug 2004, Shu Hung (Koala) wrote:
>>
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>> where does the domain name of a debain stored?
>>> is there anyway to change it?
>>
>>
>> Try edit /etc/domainname or /etc/hostname depending on what you want 
>> to acheive
>>
>> Rus
>
>dnsdomainname is in /etc/resolv.conf
>[EMAIL PROTECTED]:~$ cat /etc/resolv.conf
>search demo.room
>nameserver 192.168.9.4
>nameserver 192.168.8.1
>[EMAIL PROTECTED]:~$ hostname -f
>Dolphin.demo.room
>[EMAIL PROTECTED]:~$

Well, only to the point that you need to register the full
hostname aka FQDN in either DNS or /etc/hosts as well.

>NIS domain name may be in /etc/defaultdomain (to my surprise).  More 
>usually, it's in /etc/yp.conf

It's _never_ in /etc/yp.conf - always in /etc/defaultdomain.
The name is an inheritance from Sun, they invented NIS and
on Solaris the NIS domainname is stored in /etc/defaultdomein.

Mike.
-- 
The question is, what is a "manamanap".
The question is, who cares ?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to