>_ linuxcommand.dev
Netcat

-n

Turn off DNS resolution for IP addresses and hostnames.

Ubuntu CentOS Debian Arch SUSE Slackware Alpine Fedora
Verified: 2025-10-07
Syntax
$nc -n [host] [port]
Examples
$nc -n 192.168.59.1 80
Typical use cases
?
Standard usage
-n --help
Note No DNS resolution.
Export