# Pihole is advertised to network but breaks internet

**URL:** <https://discourse.pi-hole.net/t/pihole-is-advertised-to-network-but-breaks-internet/35367>\
**Category:** Community Help\
**Tags:** networking\
**Created:** [July 10, 2020, 11:48am UTC](https://discourse.pi-hole.net/t/pihole-is-advertised-to-network-but-breaks-internet/35367 "2020-07-10T11:48:23Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![heliosfiend](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/heliosfiend/32/17197_2.png) [@heliosfiend](https://discourse.pi-hole.net/u/heliosfiend)\
**Post date:** [July 10, 2020, 11:48am UTC](https://discourse.pi-hole.net/t/pihole-is-advertised-to-network-but-breaks-internet/35367/1 "2020-07-10T11:48:23Z")

</div>

**The issue I am facing:**

Pihole is advertised to network but breaks internet

**Details about my system:**  
Pi-Hole 5.0, Raspberry Pi 3 B+  
**What I have changed since installing Pi-hole:**

Hi all,

I followed Section B , from this [guide](https://discourse.pi-hole.net/t/how-do-i-configure-my-devices-to-use-pi-hole-as-their-dns-server/245)

I wondering why I am not getting internet when I just use Pi-Hole as DNS on my router, but when I add a secondary DNS on my router, everything is working normally (or is it....) .

Do i need to do anything else while following the guide from Pi-Hole Faq.

---

<div class="post-metadata">

**Author:** ![jfb](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/jfb/32/4332_2.png) [@jfb](https://discourse.pi-hole.net/u/jfb)\
**Post date:** [July 10, 2020, 11:54am UTC](https://discourse.pi-hole.net/t/pihole-is-advertised-to-network-but-breaks-internet/35367/2 "2020-07-10T11:54:16Z")

</div>

Please post the token generated by

`pihole -d`

or do it through the Web interface:

_ **Tools \> Generate Debug Log** _

---

<div class="post-metadata">

**Author:** ![heliosfiend](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/heliosfiend/32/17197_2.png) [@heliosfiend](https://discourse.pi-hole.net/u/heliosfiend)\
**Post date:** [July 10, 2020, 8:33pm UTC](https://discourse.pi-hole.net/t/pihole-is-advertised-to-network-but-breaks-internet/35367/3 "2020-07-10T20:33:48Z")

</div>

When Rebooted, Pihole Cannot resolve anything without secondary DNS  
[Router] -\>[Pihole],[No Secondary DNS] -\>No Internet

When Rebooted, Pihole resolves internet when there is a secondary DNS  
[Router] -\>[Pihiole][8.8.8.8]-\> Internet

Did I miss something from following the config from the guide.

From Tomato Router with googledns as secondary there is internet | If i removed google dns and restarted or release&renewed the whole network internet breaks:

 ![Screenshot_20200711_042002](https://discourse.pi-hole.net/uploads/default/original/3X/d/1/d144cfd603d1c54942ed88979aa93203aadd8de4.png)  
 ![Screenshot_20200711_042124](https://discourse.pi-hole.net/uploads/default/original/3X/3/7/37fb7a77e477e8eea2e9aa9c0f20f7c42b8547a4.png)

From PiHole DNS settings:

 ![Screenshot_20200711_043544](https://discourse.pi-hole.net/uploads/default/original/3X/9/9/991790914298aebbbf10c0a6524d116248164e1a.png)

[https://tricorder.pi-hole.net/5jjxvg5cn4](https://tricorder.pi-hole.net/5jjxvg5cn4)

---

<div class="post-metadata">

**Author:** ![heliosfiend](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/heliosfiend/32/17197_2.png) [@heliosfiend](https://discourse.pi-hole.net/u/heliosfiend)\
**Post date:** [July 11, 2020, 9:21am UTC](https://discourse.pi-hole.net/t/pihole-is-advertised-to-network-but-breaks-internet/35367/4 "2020-07-11T09:21:41Z")

</div>

I ditched using my router ip as custom Upstream DNS Server. And used Google(ECS) for upstream, PiHole IP is being advertised from all devices, no secondary(googledns) just in pihole, everything seems to be working fine, doesn't break the internet after reboots (took just a little while to comeback, but it works fine)

[DEBUG TOKEN](https://tricorder.pi-hole.net/vag2e5b28p)

[ROUTER]  
I set PiHole IP for primary. (Typo 10.0.1.2 , it should be 10.1.1.2)

 ![Capture](https://discourse.pi-hole.net/uploads/default/original/3X/0/c/0cd319b0dfb42413db2c1aa5504db0ab216c5688.png)

Added these commands on my DNSMASQ  
(Got the reference from this [guide](https://hobo.house/2018/02/27/block-advertising-with-pi-hole-and-raspberry-pi/) )  
server=10.0.1.3  
dns-forward-max=5096  
dhcp-option=6,10.0.1.3

 ![Capture2](https://discourse.pi-hole.net/uploads/default/original/3X/5/1/51229c03ce3d371ae14044c2919c0629e18aa621.png)

[PIHOLE]

 ![Capture3](https://discourse.pi-hole.net/uploads/default/original/3X/f/b/fb6510d0596e9e7cf9a5a02043e8e9d1f4a0e777.png)

---

<div class="post-metadata">

**Author:** ![yubiuser](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/yubiuser/32/12100_2.png) [@yubiuser](https://discourse.pi-hole.net/u/yubiuser)\
**Post date:** [July 11, 2020, 11:11am UTC](https://discourse.pi-hole.net/t/pihole-is-advertised-to-network-but-breaks-internet/35367/5 "2020-07-11T11:11:31Z")

</div>

So it is working now?

I was wondering two aspects of your configuration:

1. Do you really have a static IP assigned from you ISP on WAN for 10.0.1.2
2. Your Gateway has 10. **1**.1.2 which is outside of your subnet mask (see the additional 1)

---

<div class="post-metadata">

**Author:** ![heliosfiend](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/heliosfiend/32/17197_2.png) [@heliosfiend](https://discourse.pi-hole.net/u/heliosfiend)\
**Post date:** [July 11, 2020, 11:24am UTC](https://discourse.pi-hole.net/t/pihole-is-advertised-to-network-but-breaks-internet/35367/6 "2020-07-11T11:24:12Z")

</div>

Technically it is working.

1. ISP(DHCP: 10.1.1.1) is connected to routers wan(STATIC:10.1.1.2)
2. Ah. that was a typo, was fidling my network during troubleshooting its supposed to be 10.1.1.2 ::facepalm::

---

<div class="post-metadata">

**Author:** ![heliosfiend](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/heliosfiend/32/17197_2.png) [@heliosfiend](https://discourse.pi-hole.net/u/heliosfiend)\
**Post date:** [July 11, 2020, 11:18pm UTC](https://discourse.pi-hole.net/t/pihole-is-advertised-to-network-but-breaks-internet/35367/7 "2020-07-11T23:18:34Z")

</div>

I noticed something really weird. When using GOOGLE(ECS), I find "Total Queries" increases really quick (like reeeeaaaallly quick.. in 10mins i have like 100k entries). So i flushed the pihole logs "pihole -f" , changed to cloudfare dns and Total Queries stops from increasing rapidly.

Any thoughts of this?

---

<div class="post-metadata">

**Author:** ![heliosfiend](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/heliosfiend/32/17197_2.png) [@heliosfiend](https://discourse.pi-hole.net/u/heliosfiend)\
**Post date:** [July 11, 2020, 11:41pm UTC](https://discourse.pi-hole.net/t/pihole-is-advertised-to-network-but-breaks-internet/35367/8 "2020-07-11T23:41:22Z")

</div>

Think I unticked "Prevent DNS-rebind attacks" by accident, somehow it slows down the rapid increase of total queries. 🙃

 ![Capture4](https://discourse.pi-hole.net/uploads/default/original/3X/d/c/dc289c5298b2c2f544ab8308bf87e8d4febfc6eb.png)

---

<div class="post-metadata">

**Author:** ![heliosfiend](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/heliosfiend/32/17197_2.png) [@heliosfiend](https://discourse.pi-hole.net/u/heliosfiend)\
**Post date:** [July 13, 2020, 12:13am UTC](https://discourse.pi-hole.net/t/pihole-is-advertised-to-network-but-breaks-internet/35367/9 "2020-07-13T00:13:02Z")

</div>

Well I just gave up and set my Pi-Hole as DHCP server . As much as I want to make my tomato router as DHCP being protected is much better than none 🙂  
THank you.
