This may be due to my settings. I found a way around it by using an alternative script and switching to dnsmasq.