CoreDNS Groups and which DNS server is used?
-
When using CoreDNS groups, the documentation is a little ambiguous and says (see below):
Does that mean the DNS server entered on a CoreDNS custom group is used when "allow fallback" is enabled but no expressions in either group is matched, or does it use the DNS server on the default group then?
I certainly hope the first is the case for flexibility ;-)
If the latter is the case, enabling "allow fallback" should remove the DNS server entry box on custom groups all together!
"Group Processing Order¶
The rexdns plugin processes the components of a group in the following order:
Blocking rules
Expressions which disallow resolving take precedence and prevent further processing.
Resolve rules
Local resolution expressions which return static answers for allowed queries and prevent those queries from being forwarded to other DNS servers.
Forward rules
Expressions which redirect matching allowed queries to other servers.
Fallback rules
If CoreDNS is processing a non-default group which has Allow Fallback enabled and no expressions matched to this point, CoreDNS will start at the top again but checking the Default Group instead.
DNS Server
Any query not matched by other group components is forwarded to the upstream DNS servers."
Privacy Policy · Cookie Policy