Scripts, utilities, and examples for deploying CoreDNS.
Find a file
Miek Gieben fd57cf8510
Hack for arm/armhf (#22)
* Hack for arm/armhf

* typos and layout
2017-11-11 15:20:31 +00:00
debian Hack for arm/armhf (#22) 2017-11-11 15:20:31 +00:00
docker Add Docker 1.12+ (service) based deployment (#9) 2017-08-08 03:02:04 -07:00
HomebrewFormula fixed bug with etc. Added to readme (#18) 2017-11-01 17:37:40 -04:00
kubernetes Add note about non-RBAC deployments (#19) 2017-11-02 16:23:58 -04:00
systemd debian: add package building (#20) 2017-11-11 14:57:29 +00:00
LICENSE Initial commit 2017-02-22 16:14:21 -05:00
Makefile Hack for arm/armhf (#22) 2017-11-11 15:20:31 +00:00
README.md debian: add package building (#20) 2017-11-11 14:57:29 +00:00

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:

  • Run brew tap "coredns/deployment" "https://github.com/coredns/deployment"
  • Run brew install coredns
  • Run sudo brew services start coredns
  • test with dig google.com @127.0.0.1 and you should see SERVER: 127.0.0.1#53(127.0.0.1)

Using CoreDNS as your default resolver:

  • Open Network Preferences
  • Select your interface i.e Wi-Fi
  • Click Advanced
  • Select the DNS tab
  • Click the + below the DNS Servers list box
  • 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.