aboutsummaryrefslogtreecommitdiff
path: root/doc/man/gnunet-zoneimport.1
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-04-23 15:02:30 +0200
committerChristian Grothoff <christian@grothoff.org>2018-04-23 15:02:30 +0200
commit3e2b9dc6d520b6be53a3c41a112f224df12d9f99 (patch)
treee00acaef75ca58a934f51a9bc848d28f88f0583c /doc/man/gnunet-zoneimport.1
parentd6e1cea9a8b3a1eee91e52eb46adc82e2005b975 (diff)
parente1f46c052dca3cd7a390f18f97b10162fe537a15 (diff)
downloadgnunet-3e2b9dc6d520b6be53a3c41a112f224df12d9f99.tar.gz
gnunet-3e2b9dc6d520b6be53a3c41a112f224df12d9f99.zip
merge conflict resolution
Diffstat (limited to 'doc/man/gnunet-zoneimport.1')
-rw-r--r--doc/man/gnunet-zoneimport.145
1 files changed, 45 insertions, 0 deletions
diff --git a/doc/man/gnunet-zoneimport.1 b/doc/man/gnunet-zoneimport.1
new file mode 100644
index 000000000..d268bf9ff
--- /dev/null
+++ b/doc/man/gnunet-zoneimport.1
@@ -0,0 +1,45 @@
1.TH GNUNET\-ZONEIMPORT 1 "Apr 23, 2018" "GNUnet"
2
3.SH NAME
4gnunet\-zoneimport \- import DNS zone into GNS zone
5
6.SH SYNOPSIS
7.B gnunet\-zoneimport -s IP
8.br
9
10.SH DESCRIPTION
11\fBgnunet\-zoneimport\fP reads a list of domain names (FQDN) from stdin and issues DNS queries for each of the domain names given. It then checks if a local ego with a name matching the domain exists. Specifically, if the domain name is "example.fr", it will check if an ego "fr" exists, while for a domain "example.com.fr" it will look for an ego called "com.fr"). If so, it will convert the DNS records into GNS records (in particular converting NS records and glue records to GNS2DNS records) and add them to the namestore under the label ("example" in the examples above).
12
13gnunet\-zoneimport will usually never terminate: it will check when DNS records expire, and re-issue requests when the old DNS records have expired so that GNS always has the latest data.
14
15gnunet\-zoneimport will issue many DNS queries in parallel, but is rate-limited in various ways, so most DNS servers should easily handle the load. gnunet\-zoneimport will perform a limited number of retries if queries fail.
16
17gnunet\-zoneimport operates incrementally. It will check if the namestore already has (non-expired) records stored for a given name in the respective zone and not issue those requests again. Thus, it is fine to restart gnunet\-zoneimport whenever the list of domain names changes.
18
19Finally, gnunet\-zoneimport keeps information for each domain name in memory. This consumes about 200 bytes per label, or 2 GB for 10 million labels.
20
21.SH OPTIONS
22.B
23.IP "\-c FILENAME, \-\-config=FILENAME"
24Use the configuration file FILENAME.
25.B
26.IP "\-s IP, \-\-server IP"
27IP address of the DNS server to query. Should be the authoritative server for the domain (lookup the IP address of the NS server!) and not some recursive resolver (which would be both slow and is more likely to return only partial information).
28.B
29.IP "\-h, \-\-help"
30Print short help on options.
31
32.SH NOTES
33
34Typical invocaton would be:
35
36$ gnunet\-zoneimport -s 1.2.3.4 < names.txt
37
38
39
40
41.SH BUGS
42Report bugs by using Mantis <https://gnunet.org/bugs/> or by sending electronic mail to <gnunet\-developers@gnu.org>
43
44.SH SEE ALSO
45gnunet\-gns(1), gnunet\-namestore(1)