We are using Dnsmasq, we have several entries that are working well. What we are looking for is to return a different config file for specific ip addresses.
i.e:
When ever ip 1.2.3.4
connects, it will use this table:
address=/widgits.com/2.2.2.2
address=/x.widgits.com/2.2.2.22
When ever ip 2.3.4.5
connects, it will use this table:
address=/widgits.com/3.3.3.3
address=/x.widgits.com/3.3.3.33
Other than modifying dnsmasq, are there any options out there?
Update: Just wanted to add that we have over 10,000 ip addresses (on the asme interface) that would be split into two groups, and we have up to 300 changes a day that need to be done in real time.
You are describing a feature in BIND called views.
Get more information here: http://www.zytrax.com/books/dns/ch7/view.html
More info possibly here: http://en.wikipedia.org/wiki/Comparison_of_DNS_server_software
Your best bet seems to be the
-y
(or--localise-queries
) option. From the documentation: