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 <strombrg@hydra.acs.uci.edu> 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)
>/etc/resolv.conf. Locally:
> domain eng.uci.edu
> search eng.uci.edu uci.edu
> nameserver 128.200.16.3 # hydra, pr'y on dcs, not ece...
> nameserver 128.200.1.201 # campus wide, nts
> nameserver 128.200.192.202 # campus wide, nts
> nameserver 128.200.9.5 # campus wide, dcs (vmsa)
>
Thanks to:
Eric Lewandowski <eric@disco.cs.odu.edu>
Nickolai Zeldovich <kolya@zepa.net>
Jeff Woolsey <woolsey@jlw.com>
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
>summarize.
>
------
J S Diaz
jsd@genome.wi.mit.edu
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