Thanks to all who responded and offered up their suggestions on the poorly
documented facts of Solaris naming conventions. Interrestingly enough
after setting all the files correctly, everything seems to work fine
(including sendmail 8.9.2) except for the data returned from the command
nisdefaults. Anyway, try it out, let me know if yours is giving you back
erroneous FQDNs as well.
Special thanks to Dan Stromberg - OAC-DCS <email@example.com> for
offering a particuraly useful answer on all the junk that I was pondering.
>This works on solaris 2.x, on a sparc:
>/etc/defaultrouter for the current subnet
>/etc/hosts to contain current host
>/etc/nodename to get FQDN, eg "solar.acs.uci.edu"
>/etc/hostname.le0 to contain (first part of... up to the ".") the
hostname, eg "solar"
>/etc/defaultdomain for yp domain (esp if changing subnets)
> domain eng.uci.edu
> search eng.uci.edu uci.edu
> nameserver 220.127.116.11 # hydra, pr'y on dcs, not ece...
> nameserver 18.104.22.168 # campus wide, nts
> nameserver 22.214.171.124 # campus wide, nts
> nameserver 126.96.36.199 # campus wide, dcs (vmsa)
Eric Lewandowski <firstname.lastname@example.org>
Nickolai Zeldovich <email@example.com>
Jeff Woolsey <firstname.lastname@example.org>
Wade Stuart <Wade.Stuart@osagemn.com>
My Original question was as follows:
>I have searched the sun-managers and I apologize if this is already posted
>somewhere but is there any way to set a DNS domain name and a NIS domain
>name separately, i.e. not the same domain name. Currently (in Solaris 2.5,
>2.6 and 7) I have /etc/defaultdomain (with the NIS domain) and
>/etc/resolv.conf (domain entry set to DNS domain) set up, but this does not
>seem to matter.
>I am asking because I thought that there might be new fabulous things in
>Solaris 7 that are not included in any of the previous versions.
>Anyway, thanks in advance for any pointers and suggestions and I will
J S Diaz
Systems Group 617.252.1988
MIT Whitehead Institute - Genome Center
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:14 CDT