Created
March 14, 2020 15:59
-
-
Save islands04/f1dc58246824c3e88eb08cddbb9283c0 to your computer and use it in GitHub Desktop.
Coredns setup
This file contains hidden or 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
[Unit] | |
Description=Coredns Service | |
After=network.target | |
[Service] | |
User=root | |
Group=root | |
Type=Simple | |
WorkingDirectory=/root | |
ExecStart=/root/bin/coredns -conf my-corefile | |
TimeoutStopSec=20 | |
Restart=on-failure | |
[Install] | |
WantedBy=multi-user.target |
This file contains hidden or 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
. { | |
rewrite name exact mco.lbsg.net minicraft | |
errors | |
log | |
debug | |
forward . 192.168.1.1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment