View Single Post

   
  #1 (permalink)  
Old 02-21-2008, 07:11 AM
Lenroc
 
Posts: n/a
Default Newbie 'domainname' question from install doc

When I first ran through the installation process, I didn't really know
what to set as my domain name, since I really just have a hodgepodge of
computers and a little dinky "cable modem router" (basically a switch with
a DHCP server . I figured I might actually use the box that I installed
Gentoo on as a DNS server at some point... but I digress.

The point is, I skipped the step (part of #19) in the install doc
(http://www.gentoo.org/doc/en/gentoo-x86-install.xml) that told me to set
my domainname by issuing the command:
|| # echo mydomain.com > /etc/dnsdomainname

So, now that I'm trying to get my Gentoo box to be my webserver,
mailserver, etc., I figured it might actually be of some benefit to have a
domain name set (mainly because it says so in the local email setup doc at
http://dev.gentoo.org/~spider/local-...al-email.html).

So I issues the command:
|| ayla / $ echo home > /etc/dnsdomainname

and then I rebooted. But apparently my domainname didn't stick:

|| ayla / $ cat /etc/dnsdomainname
|| home
|| ayla / $ domainname
|| (none)

Am I doing something wrong? Do I even really need to set a domain name?

--
Lenroc

Reply With Quote