Update pihole.md

This commit is contained in:
Nicolas Dorier 2020-05-12 20:59:20 +09:00 committed by GitHub
parent adbefbba5f
commit fdd0dcb2ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,7 @@ BTCPAYGEN_ADDITIONAL_FRAGMENTS="$BTCPAYGEN_ADDITIONAL_FRAGMENTS;opt-add-pihole"
```
3. If your server has a firewall, make sure it allow incoming traffic to port `53 (UDP)`.
4. Configure your home router DHCP server to use `192.168.1.2`
4. Configure your home router DHCP server to use `192.168.1.2` as primary DNS server.
From now everytime a device will connect to your local network, they will automatically use pi-hole as a DNS server. Advertisements will go to a black hole for all devices.