I'm trying to set up a DNS server with bind9 on Debain 10.
I can query the server from the local network, but when I try to
dig on the server's public IP, I get
connection timed out; no servers could be reached.
The server is a Debian 10 VM in Azure.
Ports 95 and 953 are open in Azure.
$ netstat -lnpu ... udp 0 0 10.0.1.4:53 0.0.0.0:* 2991/named udp 0 0 127.0.0.1:53 0.0.0.0:* 2991/named udp6 0 0 :::53 :::* 2991/named ...
Edit: I have no idea why I was using port 95. DNS uses port 53.