mirror of
https://codeberg.org/h3xx/you-dont-need-pihole.git
synced 2024-08-14 20:27:01 +00:00
Add missing instruction
This commit is contained in:
parent
2a67e47cde
commit
f8c4c19dcd
1 changed files with 8 additions and 6 deletions
14
README.md
14
README.md
|
@ -22,10 +22,12 @@ You'll need `dnsmasq` installed for this.
|
||||||
git clone --recursive https://codeberg.org/h3xx/you-dont-need-pihole.git /etc/you-dont-need-pihole
|
git clone --recursive https://codeberg.org/h3xx/you-dont-need-pihole.git /etc/you-dont-need-pihole
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Update `dnsmasq.d/01-you-dont-need-pihole.conf`, replacing `/etc/you-dont-need-pihole` with wherever the root
|
2. Run `update.sh` to generate the blocklist.
|
||||||
|
|
||||||
|
3. Update `dnsmasq.d/01-you-dont-need-pihole.conf`, replacing `/etc/you-dont-need-pihole` with wherever the root
|
||||||
of this project is installed to.
|
of this project is installed to.
|
||||||
|
|
||||||
3. Add the configuration directory to `dnsmasq.conf`:
|
4. Add the configuration directory to `dnsmasq.conf`:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
echo 'conf-dir=/etc/you-dont-need-pihole/dnsmasq.d' >> /etc/dnsmasq.conf
|
echo 'conf-dir=/etc/you-dont-need-pihole/dnsmasq.d' >> /etc/dnsmasq.conf
|
||||||
|
@ -34,15 +36,15 @@ echo 'conf-dir=/etc/you-dont-need-pihole/dnsmasq.d' >> /etc/dnsmasq.conf
|
||||||
You can also copy or symlink `dnsmasq.d/01-you-dont-need-pihole.conf` if you need
|
You can also copy or symlink `dnsmasq.d/01-you-dont-need-pihole.conf` if you need
|
||||||
the config to live somewhere else.
|
the config to live somewhere else.
|
||||||
|
|
||||||
4. Restart the `dnsmasq` service.
|
5. Restart the `dnsmasq` service.
|
||||||
|
|
||||||
5. Make sure `53/udp` is unfirewalled.
|
6. Make sure `53/udp` is unfirewalled.
|
||||||
|
|
||||||
6. Go into your router settings and change the IP addressed provied via DHCP to
|
7. Go into your router settings and change the IP addressed provied via DHCP to
|
||||||
be your server's local IP address. [See this thread for a
|
be your server's local IP address. [See this thread for a
|
||||||
walkthrough.](https://discourse.pi-hole.net/t/how-do-i-configure-my-devices-to-use-pi-hole-as-their-dns-server/245)
|
walkthrough.](https://discourse.pi-hole.net/t/how-do-i-configure-my-devices-to-use-pi-hole-as-their-dns-server/245)
|
||||||
|
|
||||||
7. Recommended: Configure your local machine to use the local `dnsmasq` daemon
|
8. Recommended: Configure your local machine to use the local `dnsmasq` daemon
|
||||||
for client DNS queries, i.e. software running on the same server as
|
for client DNS queries, i.e. software running on the same server as
|
||||||
`dnsmasq`. This is a good idea because it may save some network traffic
|
`dnsmasq`. This is a good idea because it may save some network traffic
|
||||||
depending on how your router works. Worst case scenario, it'll do nothing.
|
depending on how your router works. Worst case scenario, it'll do nothing.
|
||||||
|
|
Loading…
Reference in a new issue