[Dnsmasq-discuss] [FEAT.REQ] Further localisation of --localise-queries
Alex Hermann
alex-lists@waxy.kabel.utwente.nl
Mon, 25 Apr 2005 23:05:11 +0200
--nextPart1573176.ch5Xrk1OTJ
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Hello,
when asked for the ip-address of the local machine dnsmasq is running on, i=
s=20
it possible to restrict dnsmasq to only give the ip address of the=20
_interface_ the request came from. At the moment with --locallise-queries,=
=20
dnsmasq returns all ip's corresponding to the _subnet_ the request came=20
from.
If the request is unclear, here is an explanation by example:
network layout:
every client is connected to an individual NIC on the server.
netmask common for all NIC's: 192.168.1.255
server: eth0 192.168.1.1 <---> client1 : 192.168.1.101
eth1 192.168.1.2 <---> client2 : 192.168.1.102
eth2 192.168.1.3 <---> client3 : 192.168.1.103
eth3 public ip <---> inet
All server ip's are in /etc/hosts
Current situation with --localise queries:
client1 requests address of server, server returns all three local addresse=
s=20
(in random order).
Requested situation:
client1 requests address of server, response to client1 is _only_=20
192.168.1.1, to client2 _only_ 192.168.1.2, etc.
Alex.
--nextPart1573176.ch5Xrk1OTJ
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQBCbVuM52oeXEXzEHYRAvSeAJ0WpOmNYhREfg5ftRfUV5iIshOemgCeMFig
rEoxIdmRLa4AlYyml4tQJ9Y=
=6Y+3
-----END PGP SIGNATURE-----
--nextPart1573176.ch5Xrk1OTJ--