What does:
-bash-3.2$ ls /etc/nsswitch.*
/etc/nsswitch.ad /etc/nsswitch.files /etc/nsswitch.nisplus
/etc/nsswitch.conf /etc/nsswitch.ldap
/etc/nsswitch.dns /etc/nsswitch.nis
-bash-3.2$
give? And, what does
-bash-3.2$ grep hosts /etc/nsswitch.conf
# "hosts:" and "services:" in this file are used only if the
hosts: files dns mdns
-bash-3.2$ grep dns /etc/nsswitch.conf
hosts: files dns mdns
ipnodes: files dns mdns
-bash-3.2$
give?
If there are NO "dns" entries at the hosts and ipnode lines, then you should
add those.
OK, you might do that by
cp /etc/nsswitch.dns /etc/nsswitch.conf
OR
by editing the file by hand, depending, which of the nsswitch.* templates you
had been using when installing the system...
So, it seems, you did install WITHOUT configuring the internet...
Matthias
You (Rui Silva) wrote:
> I've edited "/etc/resolv.conf" and added the nameservers... But I still can't
> resolve the hosts' IPs...
>
> It seems that everything is okay... I just can't understand what is going
> wrong.
>
> Thank you for your help!
> --
> This message posted from opensolaris.org
> _______________________________________________
> opensolaris-discuss mailing list
> [email protected]
>
--
Matthias Pfützner | mailto:pfu...@germany | Marriage is a prolonged
@work: +49 6103 752-394 | @home: +49 6151 75717 | exposure to a field of
SunCS, Ampèrestraße 6 | Lichtenbergstraße 73 | battle.
63225 Langen, FRG | 64289 Darmstadt, FRG | Elizabeth George
_______________________________________________
opensolaris-discuss mailing list
[email protected]