I want to conditionally resolve a DNS request based on incoming query.
Let's say I have 4 domains - www.a.com , www.b.com , www.c.com and www.d.com. As of now they are point to s.com using CNAME. Now based on some conditions (geo, time, etc), I want to point them to different servers.
For example, when s.com receives requests from a.com or b.com, it should point it s1.com and in the later cases to s2.com.
Is there a hosted solution for this, where I can define the rules or something. Will BIND work in this scenario ?
Thanks in advance.