From: Dinesh Mistry (dmistry_at_yourhostdirect.com)
Date: Fri 28 Mar 2003 - 00:02:55 GMT
Jacques,
There is a way to tell bind to listen on a specific IP
options {
listen-on {192.168.11.2; };
};
The only problem here is that if I want to run a secondary DNS on IP
192.168.11.3 I can not. There is also an option to bind multiple IP
addresses in bind I tried this also yet the vserver only binds to the first
IP :(
Kinda sucks cause it would be nice to have primary and secondary on the same
vserver.
--------------------------------------------
Dinesh Mistry
YourHostDirect
1-800-210-6757
Better, Faster and more Reliable Hosting
http://www.yourhostdirect.com
--------------------------------------------
-----Original Message-----
From: Jacques Gelinas [mailto:jack_at_solucorp.qc.ca]
Sent: Thursday, March 27, 2003 4:03 PM
To: vserver_at_solucorp.qc.ca
Subject: re: [vserver] Bind 8 and 2.4.20-ctx20-1
On Mon, 24 Mar 2003 12:22:04 -0500, Dinesh Mistry wrote
> Hello,
>
> I am having a problem with named (version 8.x) running on a vserver
> 2.4.20-ctx20-1. I want to be able to run ns1 and ns2 within the same
> vserver yet named will only bind to one IP address the first one in the
> list. Is this something that I am doing wrong or is this a limitation of
> a vserver.
Not sure. There is a flaw in vserver kernel. If you do /sbin/ifconfig
from a vserver, you see all the devices, but you only see the IP for the
device/aliases you own.
The flaw is that /proc/net/dev is not filtered out. The ioctl used to
retrieve
IP addresses assign to a device is properly protected. So on one side, you
can
see something and on the other side, you can't retrieve information about
it.
I suspect this is confusing named. Is there a way in named to specify
on which IP to bind instead of letting it do it all by itself. Normally,
bind
is setting one socket per IP it finds and I suspect it gets confused when
it can extract the IP of a device.
---------------------------------------------------------
Jacques Gelinas <jack_at_solucorp.qc.ca>
vserver: run general purpose virtual servers on one box, full speed!
http://www.solucorp.qc.ca/miscprj/s_context.hc