From 7c79da6f8b571686078014863bc296db3a8a56e3 Mon Sep 17 00:00:00 2001 From: Dessa Simpson Date: Wed, 24 Aug 2022 16:37:49 -0700 Subject: [PATCH] Add recursive lookups --- Corefile | 10 ++++++++++ Corefile.cis | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/Corefile b/Corefile index f0c1623..7201814 100644 --- a/Corefile +++ b/Corefile @@ -18,3 +18,13 @@ biggeeks.org { } errors } + +. { + acl { + allow net 10.0.0.0/8 + allow net 172.16.0.0/12 + allow net 192.168.0.0/16 + block + } + forward . 1.1.1.1 1.0.0.1 +} diff --git a/Corefile.cis b/Corefile.cis index 497ebc4..9cd1db1 100644 --- a/Corefile.cis +++ b/Corefile.cis @@ -1,5 +1,3 @@ -import Corefile - cis.k7dxs.net { reload hosts /etc/coredns/zones/cis.k7dxs.net.hosts { @@ -9,3 +7,5 @@ cis.k7dxs.net { file /etc/coredns/zones/cis.k7dxs.net.zone errors } + +import Corefile