Update README.md

This commit is contained in:
Andros Fenollosa 2020-01-05 08:45:25 +01:00 committed by GitHub
parent addb31d6bb
commit 8639298a76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.