If browser requests for www.foo.com then I want to send back a DNS response (answer) to the browser which would make browser to ask request DNS entry for www.bar.com. This time if I see request for www.bar.com, I would let it follow through and let the DNS system reply with 'A' record for www.bar.com.
In short I want to force browser to go to another domain using DNS. I referred CNAME record but it does not seem possible to achieve this using CNAME records. Can you please suggest something?
Can it be done using DNS or would I have to look for another technique.