[dns-operations] different dns servers for different domains.

Klaus Darilion klaus.mailinglists at pernau.at
Mon Jul 14 06:47:36 UTC 2014



On 11.07.2014 23:40, Chris Adams wrote:
> Once upon a time, Edward Peschko <horos11 at gmail.com> said:
>> I'm trying to create a /etc/resolv.conf where one dns server is used
>> in the case of one domain, and a different dns server is used for
>> another.
> 
> Basically, you can't with just /etc/resolv.conf (aka via the standard
> libc resolver).  It is easy to do with a more featureful local resolver,
> something like unbound or bind (I'm not sure if dnsmasq can do it).

Also dnsmasq supports forwarders per zone:

#server=/zone/ip.add.re.ss
server=/sbg.test.at/10.10.5.3
server=/sbg.test.at/10.17.175.5
server=/17.10.in-addr.arpa/10.17.175.5

lg
Klaus



More information about the dns-operations mailing list