adig.1 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. .TH ADIG "1" "April 2011" "c-ares utilities"
  2. .SH NAME
  3. adig \- print information collected from Domain Name System (DNS) servers
  4. .SH SYNOPSIS
  5. .B adig
  6. [\fIOPTION\fR]... \fINAME\fR...
  7. .SH DESCRIPTION
  8. .PP
  9. .\" Add any additional description here
  10. .PP
  11. Send queries to DNS servers about \fINAME\fR and print received
  12. information, where \fINAME\fR is a valid DNS name (e.g. www.example.com,
  13. 1.2.3.10.in-addr.arpa).
  14. .PP
  15. This utility comes with the \fBc\-ares\fR asynchronous resolver library.
  16. .SH OPTIONS
  17. .TP
  18. \fB\-c\fR class
  19. Set the query class.
  20. Possible values for class are
  21. NY, CHAOS, HS, IN (default).
  22. .TP
  23. \fB\-d\fR
  24. Print some extra debugging output.
  25. .TP
  26. \fB\-f\fR flag
  27. Add a flag.
  28. Possible values for flag are
  29. igntc, noaliases, norecurse, primary, stayopen, usevc.
  30. .TP
  31. \fB\-h\fR, \fB\-\-help\fR
  32. Display this help and exit.
  33. .TP
  34. \fB\-T\fR port
  35. Use specified TCP port to connect to DNS server.
  36. .TP
  37. \fB\-s\fR server
  38. Connect to specified DNS server, instead of the system's default one(s).
  39. .TP
  40. \fB\-t\fR type
  41. Query records of specified type.
  42. Possible values for type are
  43. A (default), AAAA, AFSDB, ANY, AXFR, CNAME, GPOS, HINFO, ISDN, KEY, LOC, MAILA,
  44. MAILB, MB, MD, MF, MG, MINFO, MR, MX, NAPTR, NS, NSAP, NSAP_PTR, NULL,
  45. PTR, PX, RP, RT, SIG, SOA, SRV, TXT, URI, WKS, X25,
  46. .TP
  47. \fB\-U\fR port
  48. Use specified UDP port to connect to DNS server.
  49. .TP
  50. \fB\-x\fR
  51. For an IPv4 \fB-t PTR a.b.c.d\fR lookup, query for
  52. .br
  53. \fBd.c.b.a.in-addr.arpa.\fR
  54. This more often gives correct names in the \fBANSWER\fR.
  55. .br
  56. For an IPv6 \fB-t PTR addr\fR lookup, query for \fBa.b.c....z.IP6.ARPA.\fR
  57. .TP
  58. \fB\-xx\fR
  59. As for \fB-x\fR and an IPv6 address, compact \fBa.b.c....z.IP6.ARPA.\fR into a RFC-2673 bit-string.
  60. This compacted \fBbit-string\fR form is not supported by many DNS-servers.
  61. .SH "REPORTING BUGS"
  62. Report bugs to the c-ares mailing list:
  63. .br
  64. \fBhttps://lists.haxx.se/listinfo/c-ares\fR
  65. .SH "SEE ALSO"
  66. .PP
  67. acountry(1), ahost(1).
  68. .SH COPYRIGHT
  69. This utility is based on code/ideas contained in sofware written by Greg Hudson (ares)
  70. carrying the following notice:
  71. .br
  72. Copyright 1998 by the Massachusetts Institute of Technology.
  73. .br
  74. Permission to use, copy, modify, and distribute this software and its
  75. documentation for any purpose and without fee is hereby granted,
  76. provided that the above copyright notice appear in all copies and that
  77. both that copyright notice and this permission notice appear in
  78. supporting documentation, and that the name of M.I.T. not be used in
  79. advertising or publicity pertaining to distribution of the software
  80. without specific, written prior permission. M.I.T. makes no
  81. representations about the suitability of this software for any
  82. purpose. It is provided "as is" without express or implied warranty.
  83. .br
  84. No further copyright claims are being made by the author(s) of this utility.