Hi,

   Please  tell us which  information you want to find ! 

   the domainname(1M)    command  does not return anything  on a new system.
  You must manually edit  the file  /etc/defaultdomain  and  enter the NIS/NIS+ 
 
  domainname  in this  file .   After that the command domainname(1M)   returns 
  the  name you have  given. 

   The NIS/NIS+  domain name is not  the same thing   as an Internet domain name
   used by DNS.  

  To set the DNS  domain name  you must edit  the file  /etc/resolv.conf 
   to something like this:

domain yourname.com
nameserver   xxx.xxx.xxx.xxx
search yourname.com

   If  You use DHCP   , dhcp will  overwrite /etc/resolv.conf with the values 
that you have 
   setup in the  DHCP server. 
  

    The nameserver  IP address  is your local  DNS  server. 

//Lars
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-help mailing list
[email protected]

Reply via email to