diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-02-02 17:30:50 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-02-02 17:30:50 +0100 |
commit | a928ebf3def4adec7767c7e52c0699e7202606bf (patch) | |
tree | d81b323163f11f12aaedde3e9b49f4343984afbb | |
parent | 1717a4af900c0d1492143a063d406f6429f2fb66 (diff) | |
download | lsd0001-a928ebf3def4adec7767c7e52c0699e7202606bf.tar.gz lsd0001-a928ebf3def4adec7767c7e52c0699e7202606bf.zip |
clarify recursions, make LEHO synthesis a SHOULD
-rw-r--r-- | draft-schanzen-gns.xml | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/draft-schanzen-gns.xml b/draft-schanzen-gns.xml index 8150e21..ac04d78 100644 --- a/draft-schanzen-gns.xml +++ b/draft-schanzen-gns.xml | |||
@@ -2051,8 +2051,8 @@ example.com = zk2 | |||
2051 | authoritative DNS servers. | 2051 | authoritative DNS servers. |
2052 | The first successful recursive name resolution result | 2052 | The first successful recursive name resolution result |
2053 | is returned to the client. | 2053 | is returned to the client. |
2054 | In addition, the resolver returns the queried DNS name as a | 2054 | In addition, the resolver SHOULD return the queried DNS name as a |
2055 | supplemental LEHO record (<xref target="gnsrecords_leho" />) with a | 2055 | supplemental LEHO record (see <xref target="gnsrecords_leho" />) with a |
2056 | relative expiration time of one hour. | 2056 | relative expiration time of one hour. |
2057 | </t> | 2057 | </t> |
2058 | <t> | 2058 | <t> |
@@ -2086,22 +2086,24 @@ example.com = zk2 | |||
2086 | resolution continues in GNS with the new name in the | 2086 | resolution continues in GNS with the new name in the |
2087 | current zone. Otherwise, the resulting name is resolved via the | 2087 | current zone. Otherwise, the resulting name is resolved via the |
2088 | default operating system name resolution process. | 2088 | default operating system name resolution process. |
2089 | This may in turn again trigger a GNS resolution process depending | 2089 | This may in turn trigger a GNS name resolution process depending |
2090 | on the system configuration. | 2090 | on the system configuration. |
2091 | <!-- Note: this permits non-DNS resolvers to be triggered via NSS! --> | 2091 | <!-- Note: this permits non-DNS resolvers to be triggered via NSS! --> |
2092 | </t> | 2092 | </t> |
2093 | <t> | 2093 | <t> |
2094 | The recursive DNS resolution process may yield a CNAME as well | ||
2095 | which in turn may either point into the DNS or GNS namespace | ||
2096 | (if it ends in a label representation of a zone key). | ||
2097 | In order to prevent infinite loops, the resolver MUST | 2094 | In order to prevent infinite loops, the resolver MUST |
2098 | implement loop detections or limit the number of recursive | 2095 | implement loop detections or limit the number of recursive |
2099 | resolution steps. | 2096 | resolution steps. The loop detection MUST be effective even |
2100 | If the last CNAME was a DNS name, the resolver returns the DNS name | 2097 | if a CNAME found in GNS triggers subsequent GNS lookups via |
2101 | as a supplemental LEHO record (<xref target="gnsrecords_leho" />) | 2098 | the default operating system name resolution process. |
2099 | </t> | ||
2100 | <t> | ||
2101 | If the last CNAME encountered was a DNS name, the resolver | ||
2102 | SHOULD return the DNS name | ||
2103 | as a supplemental LEHO record (see <xref target="gnsrecords_leho" />) | ||
2102 | with a relative expiration time of one hour. | 2104 | with a relative expiration time of one hour. |
2103 | <!-- Note: Martin: do we actually implement this in GNS today? | 2105 | <!-- Note: Martin: do we actually implement this in GNS today? |
2104 | Seems rather tricky to detect if we go via NSS... --> | 2106 | Seems rather tricky to detect if we go via NSS... --> |
2105 | </t> | 2107 | </t> |
2106 | </section> | 2108 | </section> |
2107 | <section anchor="box_processing" numbered="true" toc="default"> | 2109 | <section anchor="box_processing" numbered="true" toc="default"> |