Search code examples
dnsnmap

Scanning using nmap


folks.Is there away to use nmap to scan for open resolvers in ones network.I have this command from the nmap page but it seems itsnot working

nmap -sU -p 53 --script=dns-recursion <target>

Solution

  • I did the command and It is working as spected.

    [root@Golgota /home/test]# nmap -sU -p 53 --script=dns-recursion 8.8.8.8
    
    Starting Nmap 6.47 ( http://nmap.org ) at 2015-02-26 22:39 CET
    Nmap scan report for google-public-dns-a.google.com (8.8.8.8)
    Host is up (0.021s latency).
    PORT   STATE SERVICE
    53/udp open  domain
    |_dns-recursion: Recursion appears to be enabled
    
    Nmap done: 1 IP address (1 host up) scanned in 0.50 seconds