In Ubuntu port 53 is used by systemd-resolved. If you want to run your own service behind this port you'll have to free it up.
To do this, simply edit /etc/systemd/resolved.conf
and uncomment DNSStubListener=no
.
After that restart the service with sudo systemctl restart systemd-resolved
.