[EMAIL PROTECTED] writes:
> I have a customer asking this question:
> This might seem like a very basic question but now that I have the
> global zone with two local zones created how do I associate hostnames to
> the zone virtual IP addresses?
> I would think that the answer would be to populate dns for hosts
> trying to contact this host.
> but what about the local system?
> Should you add the virtual IP hostnames to the global zone /etc/hosts
> file or the /etc/hosts file in the zone itself?
Name resolution is a purely user-space matter. It's controlled by
/etc/nsswitch.conf (yes, inside the zone as well), and if you use
'files' as one of your name resolution methods, and if you care to
manage your name-to-address mapping directly in local files, then,
sure, adding entries there is a fine thing to do.
There are other possible choices.
The global zone's /etc/nsswitch.conf and associated configuration
files are inaccessible from within a non-global zone, and thus have no
I think things may be different in TX zones, though.
James Carlson, Solaris Networking <[EMAIL PROTECTED]>
Sun Microsystems / 1 Network Drive 71.232W Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677
zones-discuss mailing list