# How to configure router so Pi-Hole protects whole network

**URL:** <https://discourse.pi-hole.net/t/how-to-configure-router-so-pi-hole-protects-whole-network/11820>\
**Category:** Help\
**Created:** [August 13, 2018, 12:31am UTC](https://discourse.pi-hole.net/t/how-to-configure-router-so-pi-hole-protects-whole-network/11820 "2018-08-13T00:31:51Z")\
**Posts on this page:** 1\
**Showing post:** 5

<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:** [August 13, 2018, 3:10pm UTC](https://discourse.pi-hole.net/t/how-to-configure-router-so-pi-hole-protects-whole-network/11820/5 "2018-08-13T15:10:57Z")

</div>

Change the setting for "DNS Server" to manual or whatever the option is (you don't want Obtain DNS Servers Automatically).

Then enter the static IP of your Pi-Hole in the first set of blocks. Sometimes (not with all routers), the software requires an entry in the second set of boxes. If that is your case, enter the static IP of the Pi-Hole in those boxes as well.

Save changes, restart the router, renew the DHCP lease on your devices (this will give them the new DNS address of the Pi-Hole). You may have to clear DNS caches on connected clients, depending on the clients).

> [@How do I configure my devices to use Pi-hole as their DNS server?](https://discourse.pi-hole.net/t/how-do-i-configure-my-devices-to-use-pi-hole-as-their-dns-server/245):
>
> Three methods Generally, there are three different methods that will enable devices on your network to be protected by Pi-hole. 1. Define Pi-hole's IP address as the only DNS entry in the router Rationale Only is italicized here for a reason: Pi-hole needs to be the only DNS server because it intercepts queries and decides whether or not they should be blocked. If you have other DNS servers configured, you may be sent to the correct domain, bypassing Pi-hole completely. Because of this, we re…

---

_[View the full topic](https://discourse.pi-hole.net/t/how-to-configure-router-so-pi-hole-protects-whole-network/11820)._
