← All Kali Issues
Nmap
Cannot resolve hostname
D DNS
High
🔴 Error Message
Failed to resolve hostname/IP address
📖 What This Means
DNS resolution failed for the target.
🔧 Step-by-Step Fix
- Check DNS: nslookup target
- Try IP directly
- Check /etc/resolv.conf
- Use: nmap --dns-servers 8.8.8.8 target