Dnsmasq questions (from ISC)

Started by jstarta, August 30, 2025, 03:42:00 AM

Previous topic - Next topic
Hey all, I've done a full reinstall of Opnsense and have been learning the difference between Dnsmasq and ISC. Previous in ISC I could put in static leases with basically just the hostname, ip address, and the mac address. It would also automatically register leases into Unbound.

As far as i'm aware i've setup Dnsmasq as required - I've created DHCP Ranges for each interface and then created a bunch of Hosts entries, I found I needed to put in a Domain in order for it to resolvem, Is that correct or did I do something wrong? One thing I've also noticed is that under Hosts when I select a filter say for the LAN interface nothing actually shows up, does that mean i've set the Hosts incorrectly? I couldn't see an interface assignment or something when I created the host overrides.

I've set Dnsmasq to listen to 53053, enabled "Do not forward to system defined DNS servers", DHCP FQDN, DHCP local domain, and DHCP register firewall rules. In unbound i've set Register DHCP Static Mappings, and " Do not register system A/AAAA records" with an override to only return the LAN Ip for opnsense.