[Dnsmasq-discuss] Listen all virtual addresses
Арсений Лозицкий
manwe64 at gmail.com
Wed Jan 30 14:15:27 GMT 2013
Hi all!
Is there a way to listen on one interface multiple ip addresses?
like that:
eth1:0 10.0.0.1
.....
eth1:5 10.5.0.1
When I try to run multiple dnsmasq instances with separate configs and
addresses to listen, I get error that address already in use and dnsmasq
fails to bind to port 53.
I tried to redirect traffic to multiple instances running on ports 53-60
but It does not work at all(tcp redirect from 53 to destination port for
subnet using iptables). All I get with that way is response telling me that
"Unknown host hostname" except for instance running at 53 port;
Maybe, there is a way to serve different ip addresses to clients basing on
their source network:
Like:
If client comes from 10.0.0.0/24 and wants to know about domain.name he
will receive response like 10.213.0.63;
If client comes from 10.5.0.0/24 he will be forwarded to outer dns as
there's no such local domain - domain.name.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20130130/e1b816bb/attachment.html>
More information about the Dnsmasq-discuss
mailing list