diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2022-02-03 09:48:10 +0100 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2022-02-03 09:48:10 +0100 |
commit | 9670d85678e00b223edba74f1a3599bb954a2692 (patch) | |
tree | 777a127e296c02cc43e5d85098a184e320dbbd8a | |
parent | f0c137ec2691128050263337049d31ff993c18c3 (diff) | |
download | lsd0001-9670d85678e00b223edba74f1a3599bb954a2692.tar.gz lsd0001-9670d85678e00b223edba74f1a3599bb954a2692.zip |
some REDIRECT; private and relative considerations
-rw-r--r-- | draft-schanzen-gns.xml | 45 |
1 files changed, 18 insertions, 27 deletions
diff --git a/draft-schanzen-gns.xml b/draft-schanzen-gns.xml index 4df89c5..7658fa2 100644 --- a/draft-schanzen-gns.xml +++ b/draft-schanzen-gns.xml | |||
@@ -1284,37 +1284,27 @@ NONCE := HKDF-Expand (PRK_n, label, 128 / 8) | |||
1284 | <section anchor="gnsrecords_rdr" numbered="true" toc="default"> | 1284 | <section anchor="gnsrecords_rdr" numbered="true" toc="default"> |
1285 | <name>REDIRECT</name> | 1285 | <name>REDIRECT</name> |
1286 | <t> | 1286 | <t> |
1287 | FIXME description | 1287 | A REDIRECT record is the GNS equivalent of a CNAME record in DNS. |
1288 | A REDIRECT DATA entry is illustrated in <xref target="figure_redirectrecord"/>.</t> | 1288 | A REDIRECT DATA entry is illustrated in <xref target="figure_redirectrecord"/>.</t> |
1289 | <figure anchor="figure_redirectrecord"> | 1289 | <figure anchor="figure_redirectrecord"> |
1290 | <artwork name="" type="" align="left" alt=""><![CDATA[ | 1290 | <artwork name="" type="" align="left" alt=""><![CDATA[ |
1291 | 0 8 16 24 32 40 48 56 | 1291 | 0 8 16 24 32 40 48 56 |
1292 | +-----+-----+-----+-----+-----+-----+-----+-----+ | 1292 | +-----+-----+-----+-----+-----+-----+-----+-----+ |
1293 | | DNS NAME | | 1293 | | GNS NAME | |
1294 | / / | 1294 | / / |
1295 | / / | 1295 | / / |
1296 | | | | 1296 | | | |
1297 | +-----+-----+-----+-----+-----+-----+-----+-----+ | 1297 | +-----+-----+-----+-----+-----+-----+-----+-----+ |
1298 | | DNS SERVER NAME | | ||
1299 | / / | ||
1300 | / / | ||
1301 | | | | ||
1302 | +-----------------------------------------------+ | ||
1303 | ]]></artwork> | 1298 | ]]></artwork> |
1304 | </figure> | 1299 | </figure> |
1305 | <t> The REDIRECT DATA Wire Format</t> | 1300 | <t> The REDIRECT DATA Wire Format</t> |
1306 | <dl> | 1301 | <dl> |
1307 | <dt>FIXME</dt> | 1302 | <dt>GNS NAME</dt> |
1308 | <dd> | 1303 | <dd> |
1309 | The name to continue with in DNS. The value is UTF-8 encoded and | 1304 | The name to continue with in GNS. The value is UTF-8 encoded and |
1310 | 0-terminated. | 1305 | 0-terminated. |
1311 | </dd> | 1306 | </dd> |
1312 | </dl> | 1307 | </dl> |
1313 | <t> | ||
1314 | NOTE: If an application uses DNS names obtained from GNS2DNS records | ||
1315 | in a DNS request they must first be converted to a punycode representation | ||
1316 | <xref target="RFC5890" />. | ||
1317 | </t> | ||
1318 | </section> | 1308 | </section> |
1319 | <section anchor="gnsrecords_gns2dns" numbered="true" toc="default"> | 1309 | <section anchor="gnsrecords_gns2dns" numbered="true" toc="default"> |
1320 | <name>GNS2DNS</name> | 1310 | <name>GNS2DNS</name> |
@@ -1928,7 +1918,7 @@ example.com = zk2 | |||
1928 | appended to the remaining name, except if the remaining name | 1918 | appended to the remaining name, except if the remaining name |
1929 | is empty and the desired record type is REDIRECT, in which case | 1919 | is empty and the desired record type is REDIRECT, in which case |
1930 | the resolution concludes with the REDIRECT record. | 1920 | the resolution concludes with the REDIRECT record. |
1931 | If the canonical name ends in ".+", | 1921 | If the redirect name ends in ".+", <!-- FIXME Do we need this? --> |
1932 | resolution continues in GNS with the new name in the | 1922 | resolution continues in GNS with the new name in the |
1933 | current zone. Otherwise, the resulting name is resolved via the | 1923 | current zone. Otherwise, the resulting name is resolved via the |
1934 | default operating system name resolution process. | 1924 | default operating system name resolution process. |
@@ -2256,17 +2246,18 @@ NICK: john (Supplemental) | |||
2256 | are expected to be the exception. | 2246 | are expected to be the exception. |
2257 | </t> | 2247 | </t> |
2258 | <t> | 2248 | <t> |
2259 | FIXME integrate | 2249 | In order to ensure availability of records beyond their |
2260 | The expiration time value of the record is a relative time (still in microseconds) | 2250 | absolute expiration times, implementations MAY allow to locally |
2261 | and not an absolute time. This flag should never be encountered by a resolver | 2251 | define relative expiration time values of records. |
2262 | for records obtained from the storage, but might be present when a resolver looks up | 2252 | Records can then be published recurringly with updated |
2263 | private records of a zone hosted locally. | 2253 | absolute expiration times by the implementation. |
2264 | This is a private record of this peer and it should thus not be | 2254 | </t> |
2265 | published. Thus, this flag should never be encountered by | 2255 | <t> |
2266 | a resolver for records obtained from the storage. | 2256 | Implementations MAY allow users to manage private records in |
2267 | Private records should still be considered just like | 2257 | their zones. |
2268 | regular records when resolving labels in local zones. | 2258 | Such private records should not be published in the storage. |
2269 | 2259 | Private records should still be considered just like | |
2260 | regular records when resolving labels in local zones. | ||
2270 | </t> | 2261 | </t> |
2271 | </section> | 2262 | </section> |
2272 | <section anchor="security_dht" numbered="true" toc="default"> | 2263 | <section anchor="security_dht" numbered="true" toc="default"> |