Skip to content

Instantly share code, notes, and snippets.

@islands04
Created March 14, 2020 15:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save islands04/f1dc58246824c3e88eb08cddbb9283c0 to your computer and use it in GitHub Desktop.
Save islands04/f1dc58246824c3e88eb08cddbb9283c0 to your computer and use it in GitHub Desktop.
Coredns setup
[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
. {
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