>_
linuxcommand.dev
Home
Roadmap
Contact
EN
Dark
>_
>_
linuxcommand.dev
Home
Roadmap
Contact
Legal Notice
Privacy Policy
Language
DE
EN
Design
Dark
Startseite
›
-n
Netcat
-n
Turn off DNS resolution for IP addresses and hostnames.
Ubuntu
CentOS
Debian
Arch
SUSE
Slackware
Alpine
Fedora
Last updated:
2025-10-07
Report error
Syntax
Copy
$
nc -n [host] [port]
Examples
Examples
$
nc -n 192.168.59.1 80
Typical use cases
Disable DNS
nc -n host port
Note
No DNS resolution.
Export
Text
JSON
Script