Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    CoreDNS Groups and which DNS server is used?

    Scheduled Pinned Locked Moved Netgate Nexus
    1 Posts 1 Posters 129 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • keyserK Offline
      keyser Rebel Alliance
      last edited by keyser

      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."

      Love the no fuss of using the official appliances :-)

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
      Privacy Policy · Cookie Policy