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