How to check DNS in present in the Domain Controller or Not?

I want to check whether the DNS is present in the Domain Controller or not? or is there a way to filter out domain controllers without the DNS?


Solution 1:

Technically a none dns server shouldnt have port 53 open as a request will goto port 53 but generated on a different port for the source computer. However to avoid systems that are misconfigured, use the nslookup command and specify the query server as the DC host. If it isnt running DNS, then it should fail to respond to your query.