From: Lyn St George (lyn_at_zolotek.net)
Date: Wed 07 Aug 2002 - 13:01:06 BST
On Wed, 7 Aug 2002 10:05:14 +0000, Johnny Carlsen wrote:
>Hi,
>
>I have a small problem with DNS resolving when running in a vserver.
>
>I have in my /etc/resolv.conf the following lines:
>nameserver 212.54.64.170
>nameserver 212.54.64.171
>
>I have no problem pinging these servers, but im still unable to resolv
>anything.
>
>I have the following flags and caps in my /etc/vserver/testserver.conf
>
>[snip]
>S_FLAGS="lock sched nproc"
>S_CAPS="CAP_NET_RAW CAP_NET_BIND_SERVICE"
>[snip]
>
>I have no such problems on the main server running an almost identical
>installation using the same nameservers.
>
>Anyone got any good ideas?
Not yet, but I really need to as I have a similar problem. For me
it happens with all vservers bar one, and my eyes are hanging
out trying to see any difference between them. All *conf files
have the default: S_FLAGS="lock nproc" and S_CAPS empty.
The faulty vservers are also difficult to contact - eg httpd, sendmail,
fptd all take a long time to respond. I would suspect routing problems
except that they all seem to have the same style of configuration.
How have you set up your routes? Eg, "IPROOTDEV=eth0", or
have you kept the routes in the main server instead?
>Regards
> - Johnny Carlsen
>
-
Cheers
Lyn St George
+---------------------------------------------------------------------------------
+ http://www.zolotek.net .. eCommerce hosting, consulting
+ http://www.os2docs.org .. some 'How To' stuff ...
+----------------------------------------------------------------------------------