Scripts, utilities, and examples for deploying CoreDNS.
Find a file
Sandeep Rajan 926ed95249 update coredns-k8s doc for v1.16 (#205)
Signed-off-by: Sandeep Rajan <srajan@infoblox.com>
2019-10-24 13:12:04 -04:00
.circleci update circleci to use kind (#196) 2019-09-10 13:23:30 -04:00
debian debian: fix DEB_TARGET_ARCH maybe undefined (#200) 2019-10-15 19:54:16 +01:00
docker Drop unneeded capabilities, make container read-only (#76) 2018-05-29 14:02:00 +01:00
HomebrewFormula Fix mistook path sbin to bin, fix Corefile directive proxy to forward for Homebrew. (#195) 2019-09-10 09:27:59 -04:00
kubernetes update coredns-k8s doc for v1.16 (#205) 2019-10-24 13:12:04 -04:00
systemd Set coredns's homedir to /var/lib/coredns (#175) 2019-06-03 09:24:33 -04:00
LICENSE Initial commit 2017-02-22 16:14:21 -05:00
Makefile debian: build all 3 ARCHs (#150) 2019-04-14 11:02:57 +01: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.