# Pi-hole not blocking traffic after app re-install

**URL:** <https://community.umbrel.com/t/pi-hole-not-blocking-traffic-after-app-re-install/7119>\
**Category:** Support and Troubleshooting\
**Created:** [April 8, 2022, 9:00pm UTC](https://community.umbrel.com/t/pi-hole-not-blocking-traffic-after-app-re-install/7119 "2022-04-08T21:00:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![louminaughty](https://avatars.discourse-cdn.com/v4/letter/l/4af34b/32.png) [@louminaughty](https://community.umbrel.com/u/louminaughty)\
**Post date:** [April 8, 2022, 9:00pm UTC](https://community.umbrel.com/t/pi-hole-not-blocking-traffic-after-app-re-install/7119/1 "2022-04-08T21:00:34Z")

</div>

Hi folks,

The other day I noticed the “update available” messages at the bottom of the pi-hole dashboard and had the bright idea to uninstall/re-install pi-hole on my umbrel to see if it would grab the latest versions of everything. After doing this, my pi-hole is no longer blocking traffic. I have my router configured to use the Umbrel for DNS, so nothing’s changed there. I even see all of my queries going through…it’s simply refusing to block anything. Any suggestions about how I might fix this?

BTW I absolutely love this thing!!

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/getumbrel/original/2X/0/0c8298d3df9c561a6d23722285b159fe37915165.png)

---

<div class="post-metadata">

**Author:** ![louminaughty](https://avatars.discourse-cdn.com/v4/letter/l/4af34b/32.png) [@louminaughty](https://community.umbrel.com/u/louminaughty)\
**Post date:** [April 9, 2022, 7:01am UTC](https://community.umbrel.com/t/pi-hole-not-blocking-traffic-after-app-re-install/7119/2 "2022-04-09T07:01:50Z")

</div>

After more google-fu I fixed this issue by following the guidance [here](https://unix.stackexchange.com/questions/647996/docker-container-dns-not-working-with-pihole).

Cheers!

---

<div class="post-metadata">

**Author:** ![n080dy](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/n080dy/32/2207_2.png) [@n080dy](https://community.umbrel.com/u/n080dy)\
**Post date:** [April 10, 2022, 4:32am UTC](https://community.umbrel.com/t/pi-hole-not-blocking-traffic-after-app-re-install/7119/3 "2022-04-10T04:32:32Z")

</div>

I’ve the same issue, but it never started running in my case…

DO you mind providing a bit more details on the process (maybe in a step-by-step fashion) for us newbies to fix this issue?

Checked the link you shared but still not 100% clear to me… for example, how (which command) do I I need to edit the `/etc/resolv.conf` file?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![louminaughty](https://avatars.discourse-cdn.com/v4/letter/l/4af34b/32.png) [@louminaughty](https://community.umbrel.com/u/louminaughty)\
**Post date:** [April 11, 2022, 7:28pm UTC](https://community.umbrel.com/t/pi-hole-not-blocking-traffic-after-app-re-install/7119/4 "2022-04-11T19:28:45Z")

</div>

These are the exact steps I took…but I barely know what I’m doing myself, so YMMV. I’ll also add that my Umbrel was hard-booted due to a power outage and the issue started again! This time I was able to fix it by entering the IP address of my Umbrel in /etc/resolv.conf rather than localhost 127.0.0.1. Anyway, here goes:

1. Downloadd and install PuTTY from [here](https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html)
2. Enter the IP address of your Umbrel in the hostname field of PuTTY, leave everything else as default and hit “open”
3. login as userid “umbrel” and use the password you set
4. type **sudo nano /etc/resolv.conf** and enter your umbrel password again
5. my entries are:  
**nameserver 192.168.1.137**  
**nameserver 192.168.1.1**

The first entry is the static IP address of the Umbrel on my local network. The second entry is my router’s IP. After you make updates, hit **ctrl-o** to write and **ctrl-x** to exit.

1. type **sudo nano /etc/resolvconf.conf**

Near the top you will see blue text preceeded by “#” above the name\_servers line.

1. delete the “#” that proceeds the name\_servers line so that it looks like:  
**name\_servers=192.168.1.137**

Again, remember to modify the above address so that it matches your Umbrel which is almost certainly not 137. After you make updates, hit **ctrl-o** to write and **ctrl-x** to exit.

1. restart the Umbrel

I hope this helps!

---

<div class="post-metadata">

**Author:** ![louminaughty](https://avatars.discourse-cdn.com/v4/letter/l/4af34b/32.png) [@louminaughty](https://community.umbrel.com/u/louminaughty)\
**Post date:** [June 25, 2022, 12:04am UTC](https://community.umbrel.com/t/pi-hole-not-blocking-traffic-after-app-re-install/7119/5 "2022-06-25T00:04:46Z")

</div>

Well, I clearly don’t know what I’m doing although I do feel as though I’m on the right track… Anyway, I recently upgraded to Umbrel 0.5.0 and in order to do so, had to re-install Pi-Hole and the rest of my apps. Pi Hole stopped blocking again after that update. I followed my own steps above and it didn’t work.

I kept experimenting though and after changing the steps as below (but still following the rest of my guidance in the previous post,) it started working again:

Replace the updates made in steps 4 and 5 with only this:  
**nameserver 127.0.0.1**

…and step 7 with only this:  
**name\_servers=127.0.0.1**

Cheers!
