Unbound is very slow : r/opnsense Skip to main content

Get the Reddit app

Scan this QR code to download the app now
Or check it out in the app stores
r/opnsense icon

Unbound is very slow

I have been using Opnsense for about a month, but I have noticed that my DNS server is slow. I used Unbound, but in my tests, I think the DNS is not performing well. Is there a way to improve this.

https://ibb.co/7vnpvX4

r/opnsense - unbound
unbound
Share
Sort by:
Best
Open comment sort options

Unbound defaults to being a full private DNS server that uses Root hints for lookup. Since you as an individual will not keep the cache fully populated it will be regularly making very slow root server lookups.

If you instead have it forward to a FAST public resolver like cloudflare or google DNS you should see an immediate speed increase.

I suggest taking advantage of the Unbound DNS: DNS over TLS settings

I use cloudflare as my upstream DoT provider with

server: 1.1.1.1 and 1.0.0.1

port: 853

cn: cloudflare-dns.com