Correct way to setup AdGuard

I have setup OpenWRT on my dlink dir 2660 router.Recently I have tried to configure adguard home after expanding /overlays using extroot method.After following the steps on I have been able to make adguardhome work but my dhcp stops working. I have tried alternative method as well in which I do not run the setup script of adguardhome suggested in above link, but edit the dnsmasq config to forward dns traffic to myroutersip:5353 as suggested in [HowTo] Running Adguard Home on OpenWrt

I see that adguardhome still works but the dhcp leasing stops.
please help.

Check the logs why dnsmasq is failing.
logread -e dnsmasq