Add missing instruction

This commit is contained in:
Dan Church 2022-11-11 17:01:26 -06:00
parent 2a67e47cde
commit f8c4c19dcd
Signed by: h3xx
GPG Key ID: EA2BF379CD2CDBD0
1 changed files with 8 additions and 6 deletions

View File

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