Specifying different DNS servers for different domains

sunillp picture sunillp · Sep 25, 2012 · Viewed 17.1k times · Source

Can I specify DNS servers for multiple domains. For example there are 3 domains for which I know the DNS server which would resolve the domain name, so can I specify something like

b.com (domain)
u1.x1.y1.z1 (DNS server IP address which would resolve b.com)
l.m.n.o (default DNS server used if above DNS server unavailable)

c.com (domain)
u2.x2.y2.z2 (DNS server IP address which would resolve c.com)
l.m.n.o (default DNS server used if above DNS server unavailable)

d.com (domain)
u3.x3.y3.z3 (DNS server IP address which would resolve d.com)
l.m.n.o (default DNS server used if above DNS server unavailable)

Answer

whitekid picture whitekid · Nov 1, 2012

please refer https://github.com/whitekid/dnspost this provide max osx's resolver functionality.