Setting up dnsmasq as a DNS and DHCP server on a LAN

That's not a problem, that's expected behavior. It you want to register the DHCP leases in DNS the DHCP server must do so. Your off the shelf router most probably just can't, so you will have to disable DHCP on the router and enable it in Dnsmasq.