DeleGate reference manual version 9.9 / RESOLV_routing
A resolver can be applied to specific queries from specific clients.
The optional queryHostList specifies for which hosts or
addresses the resolver is applied.
The optional clientHostList specifies for which client hosts
the resolver is applied.
Example: selecting DNS servers depending on the inquired host/address
// resolve local hosts with DNS sever at 192.168.1.2:8053
// and resolve others with 192.168.1.1:53
// this can be decomposed into a set of parameters like follows: RESOLV="cache,dns:local-dns:local-hosts,dns:192.168.1.1" HOSTLIST=local-dns:192.168.1.2:8053 HOSTLIST=local-hosts:192.168.*,*.localdomain
Example: selecting resolvers depending on the inquiring (client) DNS host
// queries from local hosts (192.168.*) for "localHosts" are resolved
// with the file "/etc/hosts", others are resolved with the DNS server