OPNsense Forum

English Forums => 26.1, 26,4 Series => Topic started by: thelittleblackbird on June 28, 2026, 05:25:17 PM

Title: unable to get DNSmasq to provide A and AAAA records from leases
Post by: thelittleblackbird on June 28, 2026, 05:25:17 PM
so thats the question, I rather prefer to avoid static pinning or assignments because that defeats the purpose of the DHCP server.

some extra details:

I have a network with dual stack and 2 separate segments (LAN and DMZ), my dnsmasq is acting as DHCP server for both protocols and dns server, the upstream in the unbound.

up to now, i am not able to get to get both records for a name resolution, does anyone know to achieve it?

NOTE: as a side effect of the investigation i realized that in the leases file the domain name is not included even if the required full fqdn is set. is this the expected behavior? --> every independent segment of the network has a different domain name and it may happen that there is a collision of the names of the devices in different segments.
Title: Re: unable to get DNSmasq to provide A and AAAA records from leases
Post by: dseven on June 28, 2026, 07:19:11 PM
If you want Unbound (as your resolver) to be able to lookup internal domains managed by dnsmasq, you'll need to configure query forwarding as described at https://docs.opnsense.org/manual/dnsmasq.html#dhcpv4-with-dns-registration