diff options
author | rexxnor <rexxnor+gnunet@brief.li> | 2019-01-20 15:03:24 +0100 |
---|---|---|
committer | rexxnor <rexxnor+gnunet@brief.li> | 2019-01-25 17:27:29 +0100 |
commit | d91f5dcc352b6116e346c2a45edfd72ed4de3f9a (patch) | |
tree | 2dde9969f4ea3ef41e3055ce97ad8377791c802b /doc/handbook/chapters/developer.texi | |
parent | 2798cec3ad8c31397ccedef2dfca7f957efa0fa7 (diff) | |
download | gnunet-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.texi | 27 |
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 | ||
8082 | This section will mainly comprise of the challenges and problems faced when | 8082 | This section discusses the challenges and problems faced when writing the |
8083 | writing the ascension tool. | 8083 | ascension tool. It also takes a look at possible improvements in the future. |
8084 | |||
8085 | When considering to migrate existing into GNS there are a few things to | ||
8086 | consider. | ||
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 | ||
8097 | The differences between the two name systems lies in the details | 8094 | The differences between the two name systems lies in the details |
8098 | and is not visible from the start. For instance an SRV record is converted to a | 8095 | and is not always transparent. For instance an SRV record is converted to a |
8099 | gnunet only BOX record. | 8096 | gnunet only BOX record. |
8100 | 8097 | ||
8101 | This is done by building a BOX record from an existing SRV record: | 8098 | This 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 | |||
8108 | Which 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 |
8112 | 14000 BOX n 5060 6 33 0 0 5060 www.example.com | 8106 | 14000 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 | ||
8139 | Finally, one of the biggest struggling points was the NS records that are found | 8133 | Finally, one of the biggest struggling points was the NS records that are found |
8140 | in top level domain zones. The inteded behaviour for those is to add GNS2DNS | 8134 | in top level domain zones. The intended behaviour for those is to add GNS2DNS |
8141 | records for the zone so that gnunet-gns can resolve the for those domain on it's | 8135 | records for the zone so that gnunet-gns can resolve the for those domain on it's |
8142 | own. Also a very important aspect of this is, that gnunet needs to be able to | 8136 | own. Also a very important aspect of this is, that gnunet needs to be able to |
8143 | resolve the nameservers from it's own database. This requires migration of the | 8137 | resolve 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 | |||
8167 | to detect if a record has been removed from the zone and would require deletion | 8161 | to detect if a record has been removed from the zone and would require deletion |
8168 | of said record(s). | 8162 | of said record(s). |
8169 | 8163 | ||
8164 | Another problem that still persists is how to refresh records. Expired records | ||
8165 | are still displayed when calling gnunet-namestore but do not resolve with | ||
8166 | gnunet-gns. When doing incremental zone transfers this becomes especially | ||
8167 | apparent. | ||
8168 | |||
8170 | @node Performance | 8169 | @node Performance |
8171 | @subsubsection Performance | 8170 | @subsubsection Performance |
8172 | The performance when migrating a zone using the ascension tool is limited by a | 8171 | The 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' | |||
8178 | at once using the CLI. | 8177 | at once using the CLI. |
8179 | 8178 | ||
8180 | The result of this was a much faster migration of TLD zones, as most records | 8179 | The result of this was a much faster migration of TLD zones, as most records |
8181 | with the same label have two nameservers. | 8180 | with the same label have two name servers. |
8182 | 8181 | ||
8183 | Another improvement that could be made is with the addition of multiple threads | 8182 | Another improvement that could be made is with the addition of multiple threads |
8184 | when opening the gnunet CLI tools. This could be implemented by simply creating | 8183 | when opening the gnunet CLI tools. This could be implemented by simply creating |