-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
341adda
commit 6b159b1
Showing
20 changed files
with
148 additions
and
184 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import snips/mdns.conf | ||
|
||
# Classic DNS on 53, forwarding to an upstream | ||
.:{$DNS_PORT} { | ||
import snips/hosts.conf | ||
import snips/forward.conf | ||
import snips/cache.conf | ||
import snips/monitor.conf | ||
} | ||
|
||
{$HEALTHCHECK_QUESTION}:{$DNS_PORT} { | ||
import snips/forward.conf | ||
} | ||
|
||
whoami:{$DNS_PORT} { | ||
# https://coredns.io/plugins/whoami/ | ||
whoami | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
tls://.:{$DNS_OVER_TLS_PORT} { | ||
tls /certs/certificates/{$DOMAIN}.crt /certs/certificates/{$DOMAIN}.key /certs/certificates/{$DOMAIN}.issuer.crt | ||
|
||
import snips/hosts.conf | ||
import snips/forward.conf | ||
import snips/cache.conf | ||
import snips/monitor.conf | ||
} | ||
|
||
.:{$DNS_PORT} { | ||
import snips/hosts.conf | ||
import snips/forward.conf | ||
import snips/cache.conf | ||
import snips/monitor.conf | ||
} | ||
|
||
{$HEALTHCHECK_QUESTION}:{$DNS_PORT} { | ||
import snips/forward.conf | ||
} | ||
|
||
whoami:{$DNS_PORT} { | ||
# https://coredns.io/plugins/whoami/ | ||
whoami | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Classic DNS on 53, forwarding to an upstream | ||
.:{$DNS_PORT} { | ||
import snips/hosts.conf | ||
import snips/forward.conf | ||
import snips/cache.conf | ||
import snips/monitor.conf | ||
} | ||
|
||
{$HEALTHCHECK_QUESTION}:{$DNS_PORT} { | ||
import snips/forward.conf | ||
} | ||
|
||
whoami:{$DNS_PORT} { | ||
# https://coredns.io/plugins/whoami/ | ||
whoami | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
tls://.:{$DNS_OVER_TLS_PORT} { | ||
tls /certs/certificates/{$DNS_OVER_TLS_DOMAIN}.crt /certs/certificates/{$DNS_OVER_TLS_DOMAIN}.key /certs/certificates/{$DNS_OVER_TLS_DOMAIN}.issuer.crt | ||
|
||
import snips/hosts.conf | ||
import snips/recursive.conf | ||
import snips/cache.conf | ||
import snips/monitor.conf | ||
} | ||
|
||
.:{$DNS_PORT} { | ||
import snips/hosts.conf | ||
import snips/recursive.conf | ||
import snips/cache.conf | ||
import snips/monitor.conf | ||
} | ||
|
||
{$HEALTHCHECK_QUESTION}:{$DNS_PORT} { | ||
import snips/forward.conf | ||
} | ||
|
||
whoami:{$DNS_PORT} { | ||
# https://coredns.io/plugins/whoami/ | ||
whoami | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
.:{$DNS_PORT} { | ||
import snips/hosts.conf | ||
import snips/recursive.conf | ||
import snips/cache.conf | ||
import snips/monitor.conf | ||
} | ||
|
||
{$HEALTHCHECK_QUESTION}:{$DNS_PORT} { | ||
import snips/forward.conf | ||
} | ||
|
||
whoami:{$DNS_PORT} { | ||
# https://coredns.io/plugins/whoami/ | ||
whoami | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# https://coredns.io/plugins/cache/ | ||
cache 3600 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# https://coredns.io/plugins/forward/ | ||
forward . {$DNS_FORWARD_UPSTREAM_IP_1} {$DNS_FORWARD_UPSTREAM_IP_2} { | ||
tls_servername {$DNS_FORWARD_UPSTREAM_NAME} | ||
health_check 5s | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# https://coredns.io/plugins/hosts/ | ||
hosts { | ||
fallthrough | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
local { | ||
# https://coredns.io/explugins/mdns/ | ||
mdns local 1 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# https://coredns.io/plugins/health/ | ||
health localhost:8091 | ||
# https://coredns.io/plugins/pprof/ | ||
pprof localhost:6053 | ||
# https://coredns.io/plugins/metrics/ | ||
prometheus :{$METRICS_PORT} | ||
# https://coredns.io/plugins/log/ | ||
log | ||
# {combined} | ||
# https://coredns.io/plugins/errors/ | ||
errors | ||
# https://coredns.io/plugins/reload/ | ||
reload |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# https://coredns.io/explugins/unbound/ | ||
unbound |
Oops, something went wrong.