diff options
author | 2019-10-24 17:27:08 +0000 | |
---|---|---|
committer | 2019-10-24 17:27:08 +0000 | |
commit | a151982f7b1bf7ba94cbaced58a941f6a56d396d (patch) | |
tree | a5f4156b03c876e46c65da3d138e4a2849027cca | |
parent | Provide ASN1_TYPE_{,un}pack_sequence(). (diff) | |
download | wireguard-openbsd-a151982f7b1bf7ba94cbaced58a941f6a56d396d.tar.xz wireguard-openbsd-a151982f7b1bf7ba94cbaced58a941f6a56d396d.zip |
Service names are still resolved with -n
Just like pfctl(8)'s -N, this flag only avoid DNS;
"nc -vz ::1 socks" still works.
Fix documentation by copying pfctl's wording.
OK deraadt
-rw-r--r-- | usr.bin/nc/nc.1 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/nc/nc.1 b/usr.bin/nc/nc.1 index 6bdfe4f9041..746a0559443 100644 --- a/usr.bin/nc/nc.1 +++ b/usr.bin/nc/nc.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: nc.1,v 1.93 2018/12/27 17:45:36 jmc Exp $ +.\" $OpenBSD: nc.1,v 1.94 2019/10/24 17:27:08 kn Exp $ .\" .\" Copyright (c) 1996 David Sacerdote .\" All rights reserved. @@ -25,7 +25,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: December 27 2018 $ +.Dd $Mdocdate: October 24 2019 $ .Dt NC 1 .Os .Sh NAME @@ -192,8 +192,8 @@ Ask the kernel to drop incoming packets whose TTL / hop limit is under the network socket after EOF on the input. Some servers require this to finish their work. .It Fl n -Do not do any DNS or service lookups on any specified addresses, -hostnames or ports. +Do not perform domain name resolution. +If a name cannot be resolved without DNS, an error will be reported. .It Fl O Ar length Specify the size of the TCP send buffer. .It Fl o Ar staplefile |