# Anyone using Knot-resolver?

**URL:** <https://discourse.pi-hole.net/t/anyone-using-knot-resolver/19750>\
**Category:** Customizing Pi-hole\
**Created:** [May 8, 2019, 12:24pm UTC](https://discourse.pi-hole.net/t/anyone-using-knot-resolver/19750 "2019-05-08T12:24:23Z")\
**Posts on this page:** 1\
**Showing post:** 78

<div class="post-metadata">

**Author:** ![jpgpi250](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/jpgpi250/32/286_2.png) [@jpgpi250](https://discourse.pi-hole.net/u/jpgpi250)\
**Post date:** [May 19, 2019, 6:22pm UTC](https://discourse.pi-hole.net/t/anyone-using-knot-resolver/19750/78 "2019-05-19T18:22:31Z")

</div>

@Gizmo_Ger  
Just setup unbound, preferably the [compiled version](https://discourse.pi-hole.net/t/compiling-unbound-from-source-getting-unbound-to-work-with-dns-over-tls/19017/2) (the instructions don't work if you already installed unbound using apt-get)  
Configure unbound to use a unique IP and port, for example IP 127.10.10.1 port 5551.  
Look at the configuration example listed earlier in this topic.  
After completing the configuration, restart unbound and check if the resolver responds correctly by entering:

```auto
dig @127.10.10.1 -p 5551 +dnssec www.raspberrypi.org

```

Now install knot-resolver, using the instructions [here](https://software.opensuse.org//download.html?project=home%3ACZ-NIC%3Aknot-resolver-latest&package=knot-resolver). Select your platform and follow the instructions under `Add repository and install manually`  
Configure knot-resolver to use a unique IP and port, for example IP 127.10.10.2 port 5552.  
Again, look at the configuration example listed earlier in this topic.  
After completing the configuration, restart knot-resolver and check if the resolver responds by entering:

```auto
dig @127.10.10.2 -p 5552 +dnssec www.raspberrypi.org

```

Edit /etc/dnsmasq.d/01-pihole.conf and remove all `server=` entries.  
Create a new file /etc/dnsmasq.d/04-servers.conf, content (as per provided examples):

```auto
server=127.10.10.1#5551
server=127.10.10.2#5552

```

restart pihole-FTL.

done...

The changes made to /etc/dnsmasq.d/01-pihole.conf will be undone by `pihole -up` and `pihole -r`, so ensure the server entries are removed from this file after upgrading or reconfiguring.

---

_[View the full topic](https://discourse.pi-hole.net/t/anyone-using-knot-resolver/19750)._
