Table of Contents
brew install coredns
Return to CoreDNS, DNS, CoreDNS Installation, brew install, Cloud Monk's Development PC DevOps Automation via Ansible-Chocolatey-PowerShell-Homebrew-DNF-APT, choco install coredns
macOS
brew search dns
=⇒ Formulae
adns dnscrypt-proxy dnstracer ldns aliddns dnscrypt-wrapper dnstwist massdns chinadns-c dnsdist dnsviz pdns cjdns dnsmap dnsx pdnsd coredns dnsmasq fpdns pdnsrec djbdns dnsperf getdns sdns dns2tcp dnsprobe jdnssec-tools dnscontrol dnstop launchdns
=⇒ Casks
dhs opendnsupdater
iMac ~ % brew install coredns
Running `brew update --auto-update`…
Updated 1 tap (homebrew/core).
You have 1 outdated cask installed. You can upgrade it with brew upgrade or list it with brew outdated.
=⇒ Downloading https://ghcr.io/v2/homebrew/core/coredns/manifests/1.10.0
=⇒ Downloading https://ghcr.io/v2/homebrew/core/coredns/blobs/sha256:7e7bd62f17
=⇒ Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh
=⇒ Pouring coredns–1.10.0.monterey.bottle.tar.gz
=⇒ Caveats
To restart coredns after an upgrade:
sudo brew services restart coredns
Or, if you don't want/need a background service you can just run:
/usr/local/opt/coredns/bin/coredns -conf /usr/local/etc/coredns/Corefile
=⇒ Summary
🍺 /usr/local/Cellar/coredns/1.10.0: 7 files, 53.4MB
=⇒ Running `brew cleanup coredns`…
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
iMac ~ % sudo brew services restart coredns
Password:
Error: Running Homebrew as root is extremely dangerous and no longer supported.
As Homebrew does not drop privileges on installation you would be giving all build scripts full access to your system.
Error: Failure while executing; `/usr/local/bin/brew tap homebrew/services` exited with 1.
iMac ~ % cd /usr/local/opt/coredns/bin
iMac bin % ls
coredns
iMac bin % coredns
.:53
CoreDNS-1.10.0
darwin/amd64, go1.19.1,
iMac bin % ./coredns -dns.port=1053
.:1053
CoreDNS-1.10.0
darwin/amd64, go1.19.1,
iMac bin % ./coredns -help
Usage of ./coredns:
-alsologtostderr log to standard error as well as files -conf string Corefile to load (default "Corefile") -dns.port string Default port (default "53") -log_backtrace_at value when logging hits line file:N, emit a stack trace -log_dir string If non-empty, write log files in this directory -logtostderr log to standard error instead of files -p string Default port (default "53") -pidfile string Path to write pid file -plugins List installed plugins -quiet Quiet mode (no initialization output) -stderrthreshold value logs at or above this threshold go to stderr -v value log level for V logs -version Show version -vmodule value comma-separated list of pattern=N settings for file-filtered logging
iMac bin % ./coredns -version
CoreDNS-1.10.0
darwin/amd64, go1.19.1,
Linux
CoreDNS: CoreDNS and Kubernetes, CoreDNS Installation (brew install coredns), coredns -help, CoreDNS Security, CoreDNS Docs, GitHub CoreDNS, Awesome CoreDNS. (navbar_coredns - see also navbar_dns, navbar_networking)
DNS: Privacy DNS, Containers and DNS, CoreDNS, Cloud DNS (AWS DNS, Azure DNS, GCP DNS, IBM Cloud DNS), DNS Security (DNS53 to DNS-over-HTTPS (DoH)), DNS Record Types, nslookup, DNS RFCs, GitHub DNS, Awesome DNS. (navbar_dns - see also navbar_coredns, navbar_networking)
Homebrew: Cloud Monk's Package Manager Book Homebrew Chapter, Cloud Monk's Development PC DevOps Automation via Ansible-Chocolatey-PowerShell-Homebrew-DNF-APT, Homebrew Glossary, Homebrew Fundamentals, Homebrew Inventor - Homebrew Designer: Mike McQuaid, Brew DevOps - Homebrew on macOS - macOS DevOps - MacOps, Homebrew on Linux - Linux DevOps - LinuxOps, Homebrew Automation, Idempotent, Refreshenv, Homebrew Topics, macOS Package Managers, Package managers, macOS Configuration Management, PowerShell on macOS Ansible on macOS, Chef on macOS, Puppet on macOS (navbar_brew - see also navbar_choco, navbar_package_manager)
© 1994 - 2024 Cloud Monk Losang Jinpa or Fair Use. Disclaimers
SYI LU SENG E MU CHYWE YE. NAN. WEI LA YE. WEI LA YE. SA WA HE.