aboutsummaryrefslogtreecommitdiff
path: root/doc/handbook/chapters/developer.texi
diff options
context:
space:
mode:
authorrexxnor <rexxnor+gnunet@brief.li>2019-01-20 15:03:24 +0100
committerrexxnor <rexxnor+gnunet@brief.li>2019-01-25 17:27:29 +0100
commitd91f5dcc352b6116e346c2a45edfd72ed4de3f9a (patch)
tree2dde9969f4ea3ef41e3055ce97ad8377791c802b /doc/handbook/chapters/developer.texi
parent2798cec3ad8c31397ccedef2dfca7f957efa0fa7 (diff)
downloadgnunet-d91f5dcc352b6116e346c2a45edfd72ed4de3f9a.tar.gz
gnunet-d91f5dcc352b6116e346c2a45edfd72ed4de3f9a.zip
fixed typos, improved ascension documentation
Diffstat (limited to 'doc/handbook/chapters/developer.texi')
-rw-r--r--doc/handbook/chapters/developer.texi27
1 files changed, 13 insertions, 14 deletions
diff --git a/doc/handbook/chapters/developer.texi b/doc/handbook/chapters/developer.texi
index af3ac0197..1d3e1d3fb 100644
--- a/doc/handbook/chapters/developer.texi
+++ b/doc/handbook/chapters/developer.texi
@@ -8079,11 +8079,8 @@ This includes some of well known utilities, like "ping" and "nslookup".
8079 8079
8080@c %**end of header 8080@c %**end of header
8081 8081
8082This section will mainly comprise of the challenges and problems faced when 8082This section discusses the challenges and problems faced when writing the
8083writing the ascension tool. 8083ascension tool. It also takes a look at possible improvements in the future.
8084
8085When considering to migrate existing into GNS there are a few things to
8086consider.
8087 8084
8088@menu 8085@menu
8089* Conversions between DNS and GNS:: 8086* Conversions between DNS and GNS::
@@ -8095,19 +8092,16 @@ consider.
8095@subsubsection Conversions between DNS and GNS 8092@subsubsection Conversions between DNS and GNS
8096 8093
8097The differences between the two name systems lies in the details 8094The differences between the two name systems lies in the details
8098and is not visible from the start. For instance an SRV record is converted to a 8095and is not always transparent. For instance an SRV record is converted to a
8099gnunet only BOX record. 8096gnunet only BOX record.
8100 8097
8101This is done by building a BOX record from an existing SRV record: 8098This is done by converting to a BOX record from an existing SRV record:
8102 8099
8103@example 8100@example
8101# SRV
8104# _service._proto.name. TTL class SRV priority weight port target 8102# _service._proto.name. TTL class SRV priority weight port target
8105_sip._tcp.example.com. 14000 IN SRV 0 0 5060 www.example.com. 8103_sip._tcp.example.com. 14000 IN SRV 0 0 5060 www.example.com.
8106@end example 8104# BOX
8107
8108Which can be transformed to a GNS BOX record by converting it like this:
8109
8110@example
8111# TTL BOX flags port protocol recordtype priority weight port target 8105# TTL BOX flags port protocol recordtype priority weight port target
811214000 BOX n 5060 6 33 0 0 5060 www.example.com 810614000 BOX n 5060 6 33 0 0 5060 www.example.com
8113@end example 8107@end example
@@ -8137,7 +8131,7 @@ gnunet-namestore -z example.com -n mail -R 3600 MX n 10,mail
8137@end example 8131@end example
8138 8132
8139Finally, one of the biggest struggling points was the NS records that are found 8133Finally, one of the biggest struggling points was the NS records that are found
8140in top level domain zones. The inteded behaviour for those is to add GNS2DNS 8134in top level domain zones. The intended behaviour for those is to add GNS2DNS
8141records for the zone so that gnunet-gns can resolve the for those domain on it's 8135records for the zone so that gnunet-gns can resolve the for those domain on it's
8142own. Also a very important aspect of this is, that gnunet needs to be able to 8136own. Also a very important aspect of this is, that gnunet needs to be able to
8143resolve the nameservers from it's own database. This requires migration of the 8137resolve the nameservers from it's own database. This requires migration of the
@@ -8167,6 +8161,11 @@ resolvable even if they expired. However this would introduce the problem of how
8167to detect if a record has been removed from the zone and would require deletion 8161to detect if a record has been removed from the zone and would require deletion
8168of said record(s). 8162of said record(s).
8169 8163
8164Another problem that still persists is how to refresh records. Expired records
8165are still displayed when calling gnunet-namestore but do not resolve with
8166gnunet-gns. When doing incremental zone transfers this becomes especially
8167apparent.
8168
8170@node Performance 8169@node Performance
8171@subsubsection Performance 8170@subsubsection Performance
8172The performance when migrating a zone using the ascension tool is limited by a 8171The performance when migrating a zone using the ascension tool is limited by a
@@ -8178,7 +8177,7 @@ resource heavy and was optimized during development by adding the '-R'
8178at once using the CLI. 8177at once using the CLI.
8179 8178
8180The result of this was a much faster migration of TLD zones, as most records 8179The result of this was a much faster migration of TLD zones, as most records
8181with the same label have two nameservers. 8180with the same label have two name servers.
8182 8181
8183Another improvement that could be made is with the addition of multiple threads 8182Another improvement that could be made is with the addition of multiple threads
8184when opening the gnunet CLI tools. This could be implemented by simply creating 8183when opening the gnunet CLI tools. This could be implemented by simply creating