Netcat
-u
Use UDP instead of the default TCP option.
Ubuntu
CentOS
Debian
Arch
SUSE
Slackware
Alpine
Fedora
Verified: 2025-10-07
Syntax
$nc -u [host] [port]
Examples
$nc -u 192.168.59.1 53
Typical use cases
?
Standard usage
-u --help
Note
UDP mode.
Export