[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: domain name of debian



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
summer@Dolphin:~$ cat /etc/resolv.conf
search demo.room
nameserver 192.168.9.4
nameserver 192.168.8.1
summer@Dolphin:~$ hostname -f
Dolphin.demo.room
summer@Dolphin:~$

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



--

Cheers
John

-- spambait
1aaaaaaa@computerdatasafe.com.au  Z1aaaaaaa@computerdatasafe.com.au
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/



Reply to: