gnunet-gns.1 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. .\" This file is part of GNUnet.
  2. .\" Copyright (C) 2001-2019 GNUnet e.V.
  3. .\"
  4. .\" Permission is granted to copy, distribute and/or modify this document
  5. .\" under the terms of the GNU Free Documentation License, Version 1.3 or
  6. .\" any later version published by the Free Software Foundation; with no
  7. .\" Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A
  8. .\" copy of the license is included in the file
  9. .\" FDL-1.3.
  10. .\"
  11. .\" A copy of the license is also available from the Free Software
  12. .\" Foundation Web site at http://www.gnu.org/licenses/fdl.html}.
  13. .\"
  14. .\" Alternately, this document is also available under the General
  15. .\" Public License, version 3 or later, as published by the Free Software
  16. .\" Foundation. A copy of the license is included in the file
  17. .\" GPL3.
  18. .\"
  19. .\" A copy of the license is also available from the Free Software
  20. .\" Foundation Web site at http://www.gnu.org/licenses/gpl.html
  21. .\"
  22. .\" SPDX-License-Identifier: GPL3.0-or-later OR FDL1.3-or-later
  23. .\"
  24. .Dd March 23, 2018
  25. .Dt GNUNET-GNS 1
  26. .Os
  27. .Sh NAME
  28. .Nm gnunet-gns
  29. .Nd
  30. access to GNU Name System
  31. .Sh SYNOPSIS
  32. .Nm
  33. .Op Fl c Ar FILENAME | Fl \-config= Ns Ar FILENAME
  34. .Op Fl h | \-help
  35. .Op Fl L Ar LOGLEVEL | Fl \-loglevel= Ns Ar LOGLEVEL
  36. .Op Fl l Ar FILENAME | Fl \-logfile= Ns Ar FILENAME
  37. .Op Fl r | \-raw
  38. .Op Fl t Ar TYPE | Fl \-type= Ns Ar TYPE
  39. .Op Fl u Ar NAME | Fl \-lookup= Ns Ar NAME
  40. .Op Fl v | \-version
  41. .Sh DESCRIPTION
  42. .Nm
  43. can be used to lookup and process GNU Name Service names.
  44. .Bl -tag -width indent
  45. .It Fl c Ar FILENAME | Fl \-config= Ns Ar FILENAME
  46. Use the configuration file FILENAME.
  47. .It Fl h | \-help
  48. Print short help on options.
  49. .It Fl L Ar LOGLEVEL | Fl \-loglevel= Ns Ar LOGLEVEL
  50. Use LOGLEVEL for logging.
  51. Valid values are DEBUG, INFO, WARNING and ERROR.
  52. .It Fl l Ar FILENAME | Fl \-logfile= Ns Ar FILENAME
  53. Write logs to FILENAME.
  54. .It Fl r | \-raw
  55. No unneeded output.
  56. This is a quiet mode where only important information is displayed.
  57. For example a lookup for an IP address will only yield the IP address, no descriptive text.
  58. .It Fl t Ar TYPE | Fl \-type= Ns Ar TYPE
  59. Resource Record Type (TYPE) to look for.
  60. Supported TYPE's are: A, AAAA, CNAME, NS, PKEY, PSEU, TLSA, SRV, SOA, MX, LEHO, VPN, REV, PTR, TXT.
  61. Defaults to "A".
  62. .It Fl u Ar NAME | Fl \-lookup= Ns Ar NAME
  63. Name to lookup.
  64. Resolve the specified name using the GNU Name System.
  65. .It Fl T Ar TIMEOUT | Fl \-timeout= Ns Ar TIMEOUT
  66. How much time to wait for a resolution to finish.
  67. Example: "5s" for 5 seconds or "3m" for 3 minutes.
  68. Defaults to "forver" (No timeout).
  69. .It Fl v | \-version
  70. Print GNUnet version number.
  71. .El
  72. .Sh DIAGNOSTICS
  73. .Nm
  74. will return 0 on success, 1 on internal failures, 2 on
  75. launch failures, 4 if the given name is not configured to use GNS.
  76. .Sh SEE ALSO
  77. .Xr gnunet-namestore 1 ,
  78. .Xr gnunet-identity 1
  79. .sp
  80. The full documentation for gnunet is maintained as a Texinfo manual.
  81. If the
  82. .Xr info 1
  83. and gnunet programs are properly installed at your site, the command
  84. .Pp
  85. .Dl info gnunet
  86. .Pp
  87. should give you access to the complete handbook,
  88. .Pp
  89. .Dl info gnunet-c-tutorial
  90. .Pp
  91. will give you access to a tutorial for developers.
  92. .sp
  93. Depending on your installation, this information is also available in
  94. .Xr gnunet 7 and
  95. .Xr gnunet-c-tutorial 7 .
  96. .\".Sh HISTORY
  97. .\".Sh AUTHORS
  98. .Sh BUGS
  99. Report bugs by using
  100. .Lk https://bugs.gnunet.org
  101. or by sending electronic mail to
  102. .Aq Mt gnunet-developers@gnu.org .