If it was the case
nmap
from a remote server would report TCP:53 as closed:
- When I tested my server which has DNS on 127.0.0.1 only, I got the following:
Bash:
$ nslookup domain.com ns.example.net
;; connection timed out; no servers could be reached
- nmap (example):
Code:
PORT STATE SERVICE
21/tcp open ftp
22/tcp filtered ssh
43/tcp filtered whois
80/tcp open http
110/tcp open pop3
113/tcp filtered ident
143/tcp open imap
443/tcp open https
993/tcp open imaps
995/tcp open pop3s
2222/tcp open EtherNetIP-1
TCP:53 on the target host is opened. But nslookup reports
connection timed out; no servers could be reached
. I guess the DNS service receives requests and even responds, but replies from DNS services is not routed outside the network/server.