The dnscache service can be configured to forward all queries for a specific domain to an alternate server, or to block DNS for a domain by configuring forwarding to 'localhost', without affecting any other services or configuration files.
+
+
This is done using the "domain-remote" record type in the domains db:
+
+
To forward all DNS for <domainname> to the specified remote DNS server:
+
db domains set <domainname> domain-remote 4.2.2.1
+
+
To block lookups for <domainname>:
+
db domains set <domainname> domain-remote localhost