mirror of
https://github.com/tanrax/maza-ad-blocking.git
synced 2024-11-22 07:05:41 +01:00
Update README.md
This commit is contained in:
parent
addb31d6bb
commit
8639298a76
19
README.md
19
README.md
@ -71,7 +71,6 @@ Edit the file.
|
|||||||
Add the following lines.
|
Add the following lines.
|
||||||
|
|
||||||
```
|
```
|
||||||
address=/.localhost/127.0.0.1
|
|
||||||
conf-file=(your user path)/.maza/dnsmasq.conf
|
conf-file=(your user path)/.maza/dnsmasq.conf
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -98,6 +97,24 @@ Refresh your DNS cache
|
|||||||
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
|
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
|
## ⚠️ CAUTION
|
||||||
|
|
||||||
- Only compatible with Linux and OSX operating systems.
|
- Only compatible with Linux and OSX operating systems.
|
||||||
|
Loading…
Reference in New Issue
Block a user