0

I'm trying to find hosts in my network, and when I try a command without --system-dns I get for instance if using -v Initiating Parallel DNS resolution of 256 hosts. at 14:10

Completed Parallel DNS resolution of 256 hosts. at 14:10, 0.02s elapsed and I don't get hostnames, just IP's. So it seems like it's skipped. I use various commands, the only difference is that --system-dns makes it super long (even with -sn or -sL) and the whole tool is kind of unusable.

I just noticed it only goes for printers ... users return their hostnames with our without --system-dns

nmap -sn -d2 10.10.10.52 npcap service is already running.

wpcap.dll present, library version: Npcap version 0.99-r2, based on libpcap version 1.8.1

Starting Nmap 7.70 ( https://nmap.org ) at 2018-08-06 08:02 ?rodkowoeuropejski czas letni

Fetchfile found C:\Program Files (x86)\Nmap/nmap.xsl

The max # of sockets we are using is: 0

--------------- Timing report ---------------

hostgroups: min 1, max 100000

rtt-timeouts: init 1000, min 100, max 10000

max-scan-delay: TCP 1000, UDP 1000, SCTP 1000

parallelism: min 0, max 0

max-retries: 10, host-timeout: 0

min-rate: 0, max-rate: 0


Fetchfile found C:\Program Files (x86)\Nmap/nmap-payloads

Initiating ARP Ping Scan at 08:02

Scanning 10.10.10.52 [1 port]

Packet capture filter (device eth0): arp and arp[18:4] = 0xDCFE072E and arp[22:2] = 0xEE8B

ultrascan_host_probe_update called for machine 10.10.10.52 state UNKNOWN -> HOST_UP (trynum 0 time: 0)

Changing ping technique for 10.10.10.52 to ARP

Changing global ping host to 10.10.10.52.

Completed ARP Ping Scan at 08:02, 0.13s elapsed (1 total hosts)

Overall sending rates: 8.00 packets / s, 336.00 bytes / s.

mass_rdns: Using DNS server 192.168.0.10

mass_rdns: Using DNS server 192.168.0.100

mass_rdns: Using DNS server 192.168.0.10

mass_rdns: Using DNS server 192.168.0.100

Interface {846ee342-7039-11de-9d20-806e6f6e6963} is not known; ignoring its nameservers.

Initiating Parallel DNS resolution of 1 host. at 08:02

mass_rdns: 0.28s 0/1 [#: 4, OK: 0, NX: 0, DR: 0, SF: 0, TR: 1]

Completed Parallel DNS resolution of 1 host. at 08:02, 0.00s elapsed

DNS resolution of 1 IPs took 0.28s. Mode: Async [#: 4, OK: 0, NX: 1, DR: 0, SF: 0, TR: 1, CN: 0]

Nmap scan report for 10.10.10.52

Fetchfile found C:\Program Files (x86)\Nmap/nmap-mac-prefixes

NSOCK INFO [0.4680s] nsock_iod_new2(): nsock_iod_new (IOD #1)

NSOCK INFO [0.4680s] nsock_connect_udp(): UDP connection requested to 192.168.0.100:53 (IOD #1) EID 8

NSOCK INFO [0.4680s] nsock_read(): Read request from IOD #1 [192.168.0.100:53] (timeout: -1ms) EID 18

NSOCK INFO [0.4680s] nsock_iod_new2(): nsock_iod_new (IOD #2)

NSOCK INFO [0.4680s] nsock_connect_udp(): UDP connection requested to 192.168.0.10:53 (IOD #2) EID 24

NSOCK INFO [0.4680s] nsock_read(): Read request from IOD #2 [192.168.0.10:53] (timeout: -1ms) EID 34

NSOCK INFO [0.4680s] nsock_iod_new2(): nsock_iod_new (IOD #3)

NSOCK INFO [0.4680s] nsock_connect_udp(): UDP connection requested to 192.168.0.100:53 (IOD #3) EID 40

NSOCK INFO [0.4680s] nsock_read(): Read request from IOD #3 [192.168.0.100:53] (timeout: -1ms) EID 50

NSOCK INFO [0.4680s] nsock_iod_new2(): nsock_iod_new (IOD #4)

NSOCK INFO [0.4680s] nsock_connect_udp(): UDP connection requested to 192.168.0.10:53 (IOD #4) EID 56

NSOCK INFO [0.4680s] nsock_read(): Read request from IOD #4 [192.168.0.10:53] (timeout: -1ms) EID 66

NSOCK INFO [0.4680s] nsock_write(): Write request for 42 bytes to IOD #1 EID 75 [192.168.0.100:53]

NSOCK INFO [0.4680s] nsock_trace_handler_callback(): Callback: CONNECT SUCCESS for EID 8 [192.168.0.100:53]

NSOCK INFO [0.4680s] nsock_trace_handler_callback(): Callback: WRITE SUCCESS for EID 75 [192.168.0.100:53]

NSOCK INFO [0.4680s] nsock_trace_handler_callback(): Callback: CONNECT SUCCESS for EID 24 [192.168.0.10:53]

NSOCK INFO [0.4680s] nsock_trace_handler_callback(): Callback: CONNECT SUCCESS for EID 40 [192.168.0.100:53]

NSOCK INFO [0.4680s] nsock_trace_handler_callback(): Callback: CONNECT SUCCESS for EID 56 [192.168.0.10:53]

NSOCK INFO [0.4680s] nsock_trace_handler_callback(): Callback: READ SUCCESS for EID 18 [192.168.0.100:53] (42 bytes): 0............52.10.10.10.in-addr.arpa.....

NSOCK INFO [0.4680s] nsock_read(): Read request from IOD #1 [192.168.0.100:53] (timeout: -1ms) EID 82

NSOCK INFO [0.4680s] nsock_iod_delete(): nsock_iod_delete (IOD #1)

NSOCK INFO [0.4680s] nevent_delete(): nevent_delete on event #82 (type READ)

NSOCK INFO [0.4680s] nsock_iod_delete(): nsock_iod_delete (IOD #2)

NSOCK INFO [0.4680s] nevent_delete(): nevent_delete on event #34 (type READ)

NSOCK INFO [0.4680s] nsock_iod_delete(): nsock_iod_delete (IOD #3)

NSOCK INFO [0.4680s] nevent_delete(): nevent_delete on event #50 (type READ)

NSOCK INFO [0.4680s] nsock_iod_delete(): nsock_iod_delete (IOD #4)

NSOCK INFO [0.4680s] nevent_delete(): nevent_delete on event #66 (type READ)

MAC prefix 0001C8 is duplicated in C:\Program Files (x86)\Nmap/nmap-mac-prefixes; ignoring duplicates.

MAC prefix 080030 is duplicated in C:\Program Files (x86)\Nmap/nmap-mac-prefixes; ignoring duplicates.

MAC prefix 080030 is duplicated in C:\Program Files (x86)\Nmap/nmap-mac-prefixes; ignoring duplicates.

Host is up, received arp-response (0.00s latency).

MAC Address: 00:C0:EE:DA:1F:C5 (Kyocera Display)

Final times for host: srtt: 0 rttvar: 5000 to: 100000

Read from C:\Program Files (x86)\Nmap: nmap-mac-prefixes nmap-payloads.

Nmap done: 1 IP address (1 host up) scanned in 0.48 seconds

       Raw packets sent: 1 (28B) | Rcvd: 1 (28B)
  • Nmap probably can't find any DNS servers to use. If on Linux, what is in /etc/resolv.conf? If on Windows, run with -d2 and show output about nameservers so we can help diagnose. Or if you know your local DNS resolver's address, you can pass it to --dns-servers option. – bonsaiviking Aug 5 '18 at 20:37

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.