I would like to setup a recursive DNS server with multiple IPs all on the same PowerDNS server. Let's say:
188.8.131.52 184.108.40.206 220.127.116.11 18.104.22.168
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 22.214.171.124 and 126.96.36.199 the site www.example.com would resolve to 188.8.131.52 otherwise, if the client is using 184.108.40.206 and 220.127.116.11 as his DNS server, the response would be 18.104.22.168.
Would this be possible? Maybe with LUA scripting?