From d65c4bd41929a960eb0579e55be58249e616a481 Mon Sep 17 00:00:00 2001 From: Gisle Vanem Date: Sat, 12 Sep 2020 15:29:29 +0200 Subject: [PATCH] [adig] Update man-page for the '-x' option (#357) Fix By: Gisle Vanem (@gvanem) --- docs/adig.1 | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/adig.1 b/docs/adig.1 index 76e96891..1a78b0e1 100644 --- a/docs/adig.1 +++ b/docs/adig.1 @@ -46,6 +46,19 @@ PTR, PX, RP, RT, SIG, SOA, SRV, TXT, WKS, X25, .TP \fB\-U\fR port Use specified UDP port to connect to DNS server. +.TP +\fB\-x\fR +For an IPv4 \fB-t PTR a.b.c.d\fR lookup, query for +.br +\fBd.c.b.a.in-addr.arpa.\fR +This more often gives correct names in the \fBANSWER\fR. +.br +For an IPv6 \fB-t PTR addr\fR lookup, query for \fBa.b.c....z.IP6.ARPA.\fR +.TP +\fB\-xx\fR +As for \fB-x\fR and an IPv6 address, compact \fBa.b.c....z.IP6.ARPA.\fR into a RFC-2673 bit-string. +This compacted \fBbit-string\fR form is not supported by many DNS-servers. + .SH "REPORTING BUGS" Report bugs to the c-ares mailing list: \fBhttp://cool.haxx.se/mailman/listinfo/c-ares\fR