-adding options to gnunet-gns
[oweals/gnunet.git] / doc / man / gnunet-gns.1
1 .TH GNUNET\-GNS 1 "Jan 4, 2012" "GNUnet"
2
3 .SH NAME
4 gnunet\-gns \- manipulate GNUnet GNS zones
5
6 .SH SYNOPSIS
7 .B gnunet\-gns
8 .RI [ options ] -z ZONEFILE
9 .br
10
11 .SH DESCRIPTION
12 \fBgnunet\-gns\fP can be used to create and manipulate a GNS zone.  
13
14 .SH OPTIONS
15 .B
16 .IP "\-a, \-\-add"
17 Desired operation is adding a record
18 .B
19 .IP "\-c FILENAME,  \-\-config=FILENAME"
20 Use the configuration file FILENAME.
21 .B
22 .IP "\-d, \-\-delete"
23 Desired operation is deleting a record
24 .B
25 .IP "\-D, \-\-display"
26 Desired operation is listing of matching records
27 .B
28 .IP "\-e TIME, \-\-expiration=TIME"
29 Specifies expiration time of record to add; format is relative time, i.e "1 h" or "7 d 30 m".  Supported units are "ms", "s", "min" or "minutes", "h" (hours), "d" (days) and "a" (years).
30 .B
31 .IP "\-h, \-\-help"
32 Print short help on options.
33 .B
34 .IP "\-L LOGLEVEL, \-\-loglevel=LOGLEVEL"
35 Use LOGLEVEL for logging.  Valid values are DEBUG, INFO, WARNING and ERROR.
36 .B
37 .IP "\-n NAME, \-\-name=NAME"
38 Name of the record to add/delete/display
39 .B
40 .IP "\-t TYPE, \-\-type=TYPE"
41 Type of the record to add/delete/display (i.e. "A", "AAAA", "NS", "PKEY", "MX" etc.)
42 .B
43 .IP "\-v, \-\-version"
44 Print GNUnet version number.
45 .B
46 .IP "\-V VALUE, \-\-value=VALUE"
47 Value to store or remove from the GNS zone.  Specific format depends on the record type.  A records expect a dotted decimal IPv4 address, AAAA records an IPv6 address, PKEY a public key in GNUnet's printable format, and CNAME and NS records should be a domain name.
48 .B
49 .IP "\-z FILENAME, \-\-zonekey=FILENAME"
50 Specifies the filename with the private key for the zone (mandatory option)
51
52
53 .SH BUGS
54 Report bugs by using Mantis <https://gnunet.org/bugs/> or by sending electronic mail to <gnunet\-developers@gnu.org>
55