Ian Jackson - 2022-09-07

A strange request.......

I have a requirement for the IP address of a DNS record to resolve to a different IP address dependent on which IP address range the request was made from.

For example: -

If the DNS request was received from a device on the 192.168.40.0/24 network the DNS record for fred.blogs.com would resolve to xxx.xxx.xxx.xxx.

If the DNS request was received from a device on the 192.168.176.0/24 network the DNS record would resolve to nnn.nnn.nnn.nnn

Is this possible?