Use CoreDNS as a Whitelist/Allowlist filter #6430
-
Hi All, it looks like in FORWARD there is an option for "except" but this is kind of the opposite of what I need. I need to go "ONLY". Alternatively is there information on the order in which CoreDNS processes the CoreFile? Could I have it reply NXDOMAIN to anything that doesn't match the permitted domain, and then all remaining domains (which therefore must be permitted) to 8.8.8.8. To make things more challenging we'd be looking at allowing approx 20-30 domains including subdomains. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You could list the domains in the server block.
|
Beta Was this translation helpful? Give feedback.
You could list the domains in the server block.