I would like to setup a recursive DNS server with multiple IPs all on the same PowerDNS server. Let's say:
220.127.116.11 18.104.22.168 22.214.171.124 126.96.36.199
I was wondering how I could send different responses based on the IP used by the client.
For example, if the client is sendindg his requests to 188.8.131.52 and 184.108.40.206 the site www.example.com would resolve to 220.127.116.11 otherwise, if the client is using 18.104.22.168 and 22.214.171.124 as his DNS server, the response would be 126.96.36.199.
Would this be possible? Maybe with LUA scripting?