mirror of
https://github.com/notherealmarco/coredns-deployment.git
synced 2025-03-14 14:16:16 +01:00
fixed bug with etc. Added to readme (#18)
This commit is contained in:
parent
5bdbf578d9
commit
ddf67e8f98
2 changed files with 18 additions and 3 deletions
|
@ -58,6 +58,7 @@ class Coredns < Formula
|
|||
end
|
||||
|
||||
(buildpath/"Corefile.example").write default_coredns_config
|
||||
(etc/"coredns").mkpath
|
||||
etc.install "Corefile.example" => "coredns/Corefile"
|
||||
end
|
||||
|
||||
|
|
20
README.md
20
README.md
|
@ -3,6 +3,20 @@ Scripts, utilities, and examples for deploying CoreDNS.
|
|||
|
||||
|
||||
## MacOS
|
||||
To install:
|
||||
- `brew tap "coredns/deployment" "https://github.com/coredns/deployment"`
|
||||
- `brew install coredns`
|
||||
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`
|
||||
|
|
Loading…
Reference in a new issue