File tree Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -2207,11 +2207,21 @@ unset or <a for=request>keepalive</a> is false, <a lt=terminated for=fetch>termi
2207
2207
<h3 id=resolving-domains>Resolving domains</h3>
2208
2208
2209
2209
<p tracking-vector> To <dfn>resolve a domain</dfn> , given a <a for=/>network partition key</a>
2210
- <var> key</var> and a <a for=/>domain</a> <var> domain</var> , perform an <a>implementation-defined</a>
2211
- operation to turn <var> domain</var> into a <a for=/>set</a> of one or more
2212
- <a for=/>IP addresses</a> . If this operation succeeds, return the <a for=/>set</a> of
2213
- <a for=/>IP addresses</a> . If it fails, return failure. The results of this operation may be cached.
2214
- If they are cached, <var> key</var> should be used as part of the cache key.
2210
+ <var> key</var> and a <a for=/>domain</a> <var> domain</var> :
2211
+
2212
+ <ol>
2213
+ <li><p> If <var> domain</var> is a <a for=/>host</a> whose <a for=host>public suffix</a> is
2214
+ "<code> localhost</code> ", then return « <code> ::1</code> , <code> 127.0.0.1</code> ».
2215
+
2216
+ <li><p> Perform an <a>implementation-defined</a> operation to turn <var> domain</var> into a
2217
+ <a for=/>set</a> of one or more <a for=/>IP addresses</a> . If this operation succeeds, return the
2218
+ <a for=/>set</a> of <a for=/>IP addresses</a> .
2219
+
2220
+ <li><p> Return failure.
2221
+ </ol>
2222
+
2223
+ <p> The results of <a>resolve a domain</a> may be cached. If they are cached, <var> key</var> should
2224
+ be used as part of the cache key.
2215
2225
2216
2226
<div class=note>
2217
2227
<p> Typically this operation would involve DNS and as such caching can happen on DNS servers without
You can’t perform that action at this time.
0 commit comments