fix .gitignore rules

This commit is contained in:
Jeff Carr 2023-01-27 14:00:10 -06:00
parent fc61b5b9b5
commit 7300fae964
3 changed files with 30 additions and 1 deletions

2
.gitignore vendored
View File

@ -1,4 +1,4 @@
*.deb
*tar.gz
md5sums
files/
./files/

View File

@ -0,0 +1,9 @@
# Default Corefile, see https://coredns.io for more information.
# Answer every below the root, with the whoami plugin. Log all queries
# and errors on standard output.
. {
whoami # coredns.io/plugins/whoami
log # coredns.io/plugins/log
errors # coredns.io/plugins/errors
}

View File

@ -0,0 +1,20 @@
[Unit]
Description=CoreDNS DNS server
Documentation=https://coredns.io
After=network.target
[Service]
PermissionsStartOnly=true
LimitNOFILE=1048576
LimitNPROC=512
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
AmbientCapabilities=CAP_NET_BIND_SERVICE
NoNewPrivileges=true
User=coredns
WorkingDirectory=~
ExecStart=/usr/bin/coredns -conf=/etc/coredns/Corefile
ExecReload=/bin/kill -SIGUSR1 $MAINPID
Restart=on-failure
[Install]
WantedBy=multi-user.target