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

Re: domain name of debian



"domainname" will display it.
"domainname my.domain" will set it.

Question is, what does this mean. I would like email sent to user@my.domain to 
be delivered to the user mailbox. If I do this with an exim4 "mail" command 
(I had routers set), this may work. If I send such email through "outside" 
providers, this will not work.

On Tuesday 24 August 2004 00:02, debian-user-digest-request@lists.debian.org 
wrote:
> >> 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



Reply to: