On Sat, Jun 7, 2008 at 2:53 AM, James Carlson <[EMAIL PROTECTED]> wrote:
> 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.)
>
err......, it looks like nobody care dhcp can't create /etc/resolve.conf

-Aubrey
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to