I'm not sure whether this qualifies as a tip or a question, since I couldn't find a way to do this through the web interface.
While debugging an issue with the new firewall logs, I noticed that reverse lookups of my local IPv6 addresses were taking between 800 and 1500 ms each. The reason is that, because my clients use privacy extensions, each lookup (almost never cached) causes Unbound to query my ISP — which owns the address space and hosts the corresponding PTR records.
To address this, I created a file named 1-custom.conf in /usr/local/etc/unbound.opnsense.d with the following content:
This tells Unbound that this prefix is part of my local network, preventing it from trying to resolve those reverse lookups externally.
I couldn't find a way to configure this via the web interface, but it seems like a useful feature to have. My ISP assigns a /56, and it has been stable; however, if your ISP frequently changes your prefix, you could apply the same approach to their /48 or even /32 aggregate. In most cases, you won't get meaningful reverse lookups from your ISP for those addresses anyway.
While debugging an issue with the new firewall logs, I noticed that reverse lookups of my local IPv6 addresses were taking between 800 and 1500 ms each. The reason is that, because my clients use privacy extensions, each lookup (almost never cached) causes Unbound to query my ISP — which owns the address space and hosts the corresponding PTR records.
To address this, I created a file named 1-custom.conf in /usr/local/etc/unbound.opnsense.d with the following content:
Code Select
server:
# Authoritative reverse zone for my /56
local-zone: "d.c.b.a.8.b.d.0.1.0.0.2.ip6.arpa." staticThis tells Unbound that this prefix is part of my local network, preventing it from trying to resolve those reverse lookups externally.
I couldn't find a way to configure this via the web interface, but it seems like a useful feature to have. My ISP assigns a /56, and it has been stable; however, if your ISP frequently changes your prefix, you could apply the same approach to their /48 or even /32 aggregate. In most cases, you won't get meaningful reverse lookups from your ISP for those addresses anyway.
"