[Dnsmasq-discuss] Feature request: name--to-IP answer depending on
IP-address of client
ilya_evseev at mail.ru
Wed Jun 7 16:33:40 BST 2006
Hi, Simon and all folks!
dnsmasq provides "localise-query" that returns name-to-IP resolution depending on IP-address of NIC that receives the request.
This feature works very well except situations
when single NIC serves multiple IP's using IP-aliases.
In that situations DNS-server should translate names
using IP-address of requestor.
Consider following example (under FreeBSD):
ifconfig xl0 192.168.1.1 netmask 255.255.255.0
ifconfig xl0 18.104.22.168 netmask 255.255.255.0 alias
Client 22.214.171.124 on xl0 interface requests translation of "vpn"
and receives "126.96.36.199" as the answer.
Client 192.168.1.100 on the same interface requests translation of "vpn"
and receives "192.168.1.1".
More information about the Dnsmasq-discuss