Hello,

when asked for the ip-address of the local machine dnsmasq is running on, is 
it possible to restrict dnsmasq to only give the ip address of the 
_interface_ the request came from. At the moment with --locallise-queries, 
dnsmasq returns all ip's corresponding to the _subnet_ the request came 
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 addresses 
(in random order).


Requested situation:

client1 requests address of server, response to client1 is _only_ 
192.168.1.1, to client2 _only_ 192.168.1.2, etc.



Alex.

Attachment: pgpCbT2vEkFNc.pgp
Description: PGP signature

Reply via email to