From 8639298a7654ae38cd135064c0b133553bf8b664 Mon Sep 17 00:00:00 2001 From: Andros Fenollosa Date: Sun, 5 Jan 2020 08:45:25 +0100 Subject: [PATCH] Update README.md --- README.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7517542..db34ba6 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,6 @@ Edit the file. Add the following lines. ``` -address=/.localhost/127.0.0.1 conf-file=(your user path)/.maza/dnsmasq.conf ``` @@ -98,6 +97,24 @@ Refresh your DNS cache sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder ``` +### Extra: dnsmasq is in charge of solving all DNS + +Add in confiigure file: `usr/local/etc/dnsmasq.conf` + +``` +no-resolv +server=208.67.222.222 +server=208.67.220.220 +``` + +### Extra: dnsmasq have test domains + +If you want all your `.localhost` domains, for example, point to localhost add in confiigure file: `usr/local/etc/dnsmasq.conf` + +``` +address=/.localhost/127.0.0.1 +``` + ## ⚠️ CAUTION - Only compatible with Linux and OSX operating systems.