hanscees wrote:
> When I started to type it was there and now it is gone. Just
> to inform you i will tell it anyway. It turns out the
> /etc/nsswitch.conf had an 'hosts files' entry, in stead of
> 'hosts files dns'. i do not know why. The problem description
> is below.
...
> The problem e-smith machine (which I was installing because
> the hard-disk failed [es2]) also has 192.168.0.2 as default
> route and can ping to the world. However, it cannot do dns at
> all.
> I can ping and lynx to ip numbers but not to www names.
> However, /etc/resolv.conf has good nameservers in it. So ping
>
www.nu.nl gives: unknown host
www.nu.nl.
>
> First i thought pptp had a flaw, but as you can see it also
> turns out that dns is to blaim.
Well, various things aren't configured correctly, possibly because of your modifications, or maybe something else is wrong.
> I can ping the nameservers in resolve.conf. I tried to use
> 127.0.0.1 as dns
resolv.conf should only contain 127.0.0.1. If it contains something else, then you are using a very old version of the e-smith server, or your server has not been installed and configured correctly.
> but it answers very quickly that the host is
> unknown. It seems like it does not even try to look anything
> up. Is that possible?
It's possible, but I doubt that's the problem.
I suggest that you discuss this issue on the developers mailing list. Be sure to be clear about what version you are using. I'll see you over there.
Regards
Charlie