View Single Post

   
  #6 (permalink)  
Old 02-21-2008, 07:13 AM
theBlackDragon
 
Posts: n/a
Default Re: Newbie 'domainname' question from install doc

On Thu, 15 Jan 2004 02:29:07 -0700, Lenroc wrote:
>
> 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?


I'm not sure, but I _did_ complete the steps to set a domainname on my pc
and domainname also gives met this:

|| theblackdragon@bdp theBlackDragon $ domainname
|| (none)

But looking at "man domainname" makes me think you just got the wrong
command, these are the "domainname" commands:

hostname - show or set the system's host name
domainname - show or set the system's NIS/YP domain name
dnsdomainname - show the system's DNS domain name
nisdomainname - show or set system's NIS/YP domain name
ypdomainname - show or set the system's NIS/YP domain name
nodename - show or set the system's DECnet node name

seeing as you are trying to set the DNSdomainname I'd think you need
dnsdomainname to get at your domainname, like this:

|| theblackdragon@bdp theBlackDragon $ dnsdomainname
|| ca.tc

HTH

theBlackDragon
Reply With Quote