Ubuntu
comes with systemd-resolve
which you need to disable since it binds to port 53
which will conflict with Dnsmasq
port.
Run the following commands to disable the service:
sudo systemctl disable systemd-resolved
sudo systemctl stop systemd-resolved