Configure Unbound to only override A Record

Started by Sensler3000, March 31, 2024, 02:59:40 PM

Previous topic - Next topic
March 31, 2024, 02:59:40 PM Last Edit: March 31, 2024, 03:47:50 PM by Sensler3000
Hi all,

i have a setup which uses IPv4 with static local IPs and IPv6 with Dynamic prefix. I run some Server services locally. For that i use Unbound to override some A records to point to the local IP of the Server (for clients in the local net to reach the server).

This works great however unbound also overrides the AAAA record when an A override is set (which i do not want). I also cannot set the AAAA Record in parallel to override manually since the IPv6 has an dynamic prefix and changes regularly. For the firewall rules i can use an IPv6 Alias which works but seems not to be possible for the Unbound override.

So how can i tell unbound to only override the A record and leave the original AAAA record in place ?

Regards

You can't. I'd deploy a static ULA prefix (in addition to the dynamic GUA prefix) and use ULA addresses in internal DNS instead.

Cheers
Maurice
OPNsense virtual machine images
OPNsense aarch64 firmware repository

Commercial support & engineering available. PM for details (en / de).