Created
August 26, 2021 09:11
-
-
Save mirorauhala/15be64432588f82fdd443c8e83d0a46e to your computer and use it in GitHub Desktop.
CoreDNS
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
# ns1.rauhala.dev | |
.:53 { | |
log | |
errors | |
cache | |
any | |
} | |
rauhala.dev { | |
file /etc/coredns/db.rauhala.dev | |
any | |
transfer { | |
to 10.135.0.3 | |
} | |
log | |
} |
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
# ns2.rauhala.dev | |
.:53 { | |
log | |
errors | |
cache | |
any | |
} | |
rauhala.dev { | |
any | |
secondary { | |
transfer from 10.135.0.2 | |
} | |
log | |
} |
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
version: "3.1" | |
services: | |
coredns: | |
image: coredns/coredns:latest | |
ports: | |
- 53:53/tcp | |
- 53:53/udp | |
volumes: | |
- ./coredns:/etc/coredns | |
command: ["-conf", "/etc/coredns/Corefile"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment