Raj, Ashok writes:
> Any idea how to fix this lookup problem? Btw: reverse lookup also works
> fine. I think the problem is /etc/resolv.conf not being created
> automatically causes some trouble, cant figure out how to fix it.

There are two parts to this: /etc/resolv.conf is the DNS subsystem
configuration.  There's also the name service switch, which is
configured by /etc/nsswitch.conf.

If you're using the physical:nwam service, then I'd direct you to the
nwam project for help.  If you're using physical:default, then this is
traditional Solaris configuration.

To enable the DHCP client at boot time on a traditional system, there
should be an empty file named /etc/dhcp.igb0.  If the DHCP server
provides DNS addresses (not all are configured to do so), then the
system will automatically create /etc/resolv.conf.

The next part is /etc/nsswitch.conf.  You should have "hosts: files
dns" and "ipnodes: files dns" listed in that file.

The installer automatically copies over the /etc/nsswitch.dns template
if you specify that you want to use DNS at install time, and creates
the necessary /etc/hostname.X and /etc/dhcp.X files if you specify
DHCP.  (You can go back through that set of questions with
sys-unconfig and a reboot.)

-- 
James Carlson, Solaris Networking              <[EMAIL PROTECTED]>
Sun Microsystems / 35 Network Drive        71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to