I want to use two different DNS providers, a.com
and b.com
.
I want a list of domains like google, youtube, superuser (and more) to be resolved with a.com
.
And I want all other domains to be resolved with b.com
.
How can I accomplish this?
Note: There are a lot of websites which I want them to be resolved with a.com
so resolving them all through a script and use hosts file to point those domain to their addresses is not an option because the static IPs might change, and the list might change as well.
This question has been asked 3 times (at least) on superuser in different forms but have not been well-received. (No answer or no accepted/upvoted answer):
Can dnsmasq resolve specific domain by more than one server?