Re: [Vserver] using djbdns (tinydns & dnscache) from within vserver

From: Benedict Verheyen <>
Date: Fri 14 Apr 2006 - 01:30:11 BST
Message-ID: <>


It seemed that all the changes i did to test gave me an inconsistent
setup so I rechecked the hosts resolv.conf, the ip's of the vservers and
the resolv.conf of the vserver. Then I rebooted and pinging internal
machines by name worked for the host and the vserver.

Only thing that didn't seem to work was the pinging of external hosts
from the host and the vserver.
I then checked the settings of the 0 dir inside the interfaces directory
 of the vserver and i saw the content of dev was still eth0. That means
the ip ended up as an alias of the real eth0 which has a
different address range 192.168.0.x.
I changed that to eth1 and then it all seems to work.

BUT after that change i can't ping the internal host anymore by name.

So i changed my setup. I'm not sure this is a good way of accomplishing
it but it seems like it's the only way to get it working.
This is what's in the interfaces directory:

0 -> dev: eth0 -> ip: (host eth0
1 -> dev: eth1 -> ip: (host eth1

My host resolv.conf
search mydomain

With these changes everything seems to work but as i said, i'm not sure
that what i configured as my interfaces in the vserver setup directory
is ok.

Vserver mailing list
Received on Fri Apr 14 01:31:11 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 14 Apr 2006 - 01:31:15 BST by hypermail 2.1.8