Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Info Sharing> Tips on running your own DNS server
- Technical tip sharing time…
- Many of us like to use public DNS servers i.e. Google, OpenDNS rather than our ISP default DNS servers.
- This helps when your ISP DNS servers decided to fail as we have encountered with an ISP twice already.
- Have you tried running your own DNS server instead? As Public DNS might tracks your surfing behaviour.
- On my Mac OS X, I tried bind instead of dnsmasq and utilise brew services instead of sudo launchctl
- # Install open source DNS server bind on OS X
- $ brew install bind
- $ brew tap homebrew/services
- $ brew services start bind
- $ dig @127.0.0.1 google.com
- At this point, if bind is running properly you might want to point OS X to it.
- Choose Apple menu > System Preferences, then click Network.
- In the list at the left, select the network connection you using (such as Wi-Fi or Ethernet), then click Advanced.
- Click DNS, then click the “-“ Subtract to remove your existing DNS and “+” Add your local DNS (bind) as 127.0.0.1.
- # Check if bind is running and restart if it has stopped.
- $ brew services list
- $ brew services restart bind
- Reference:
- https://gist.github.com/cyril-bouthors/d62ecb9baba23f400e81
- https://robots.thoughtbot.com/starting-and-stopping-background-services-with-homebrew
- =============================
- Common open DNS servers
- Cloudflare DNS
- 1.1.1.1
- 1.0.0.1
- 2606:4700:4700::1111
- 2606:4700:4700::1001
- Google DNS
- 8.8.8.8
- 8.8.4.4
- 2001:4860:4860::8888
- 2001:4860:4860::8844
- OpenDNS
- 208.67.222.222
- 208.67.220.220
- 2620:0:ccc::2
- 2620:0:ccd::2
- Quad9 DNS
- 9.9.9.9
- 2620:fe::fe
- DNS.WATCH
- 84.200.69.80
- 84.200.70.40
- Comodo Secure DNS
- 8.26.56.26
- 8.20.247.20
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement