mirror of
https://github.com/notherealmarco/coredns-deployment.git
synced 2025-05-05 20:42:33 +02:00
debian: add package building (#20)
This only builds on a debian system, because it uses the dpkg-helper and other utils. But it builds! Multiarch is supported, you can easily build a package for amd64, arm and arm64. The Makefile does this by default. Massively update the systemd file.
This commit is contained in:
parent
3313ba9e12
commit
aaf5dae5dd
10 changed files with 110 additions and 8 deletions
20
README.md
20
README.md
|
@ -1,8 +1,9 @@
|
|||
# deployment
|
||||
# Deployment
|
||||
|
||||
Scripts, utilities, and examples for deploying CoreDNS.
|
||||
|
||||
|
||||
## MacOS
|
||||
|
||||
The default settings will proxy all requests to hostnames not found in your host file to Google's DNS-over-HTTPS.
|
||||
|
||||
To install:
|
||||
|
@ -20,3 +21,18 @@ Using CoreDNS as your default resolver:
|
|||
- Type `127.0.0.1` and hit enter
|
||||
- Click `OK`
|
||||
- Click `Apply`
|
||||
|
||||
# Debian
|
||||
|
||||
On a debian system:
|
||||
|
||||
- Run `dpkg-buildpackage -us -uc -b --target-arch ARCH`
|
||||
Where ARCH can be any of the released architectures, like "amd64" or "arm".
|
||||
- Most users will just run: `dpkg-buildpackage -us -uc -b`
|
||||
|
||||
To install:
|
||||
|
||||
- Run `dpkg -i coredns_0.9.10-0~9.20_amd64.deb`.
|
||||
|
||||
This installs the coredns binary in /usr/bin, adds a coredns user (homedir set to /var/lib/coredns)
|
||||
and a small Corefile /etc/coredns.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue