Skip to content

Commit

Permalink
Add RFC 1034 links to AsyncResolver documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Litr0 committed Nov 16, 2023
1 parent 57493a5 commit 0d5eec1
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/resolver/async_resolver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ impl AsyncResolver {
async_resolver
}

/// RFC 1034
/// [RFC 1034]: https://datatracker.ietf.org/doc/html/rfc1034#section-5.2
/// 5.2. Client-resolver interface
///
/// 1. Host name to host address translation
Expand Down Expand Up @@ -200,7 +200,7 @@ impl AsyncResolver {
response
}

/// RFC 1034
/// [RFC 1034]: https://datatracker.ietf.org/doc/html/rfc1034#section-5.2
/// 5.2. Client-resolver interface
///
/// Host address to host name translation
Expand All @@ -220,7 +220,7 @@ impl AsyncResolver {
unimplemented!()
}

/// RFC 1034
/// [RFC 1034]: https://datatracker.ietf.org/doc/html/rfc1034#section-5.2
/// 5.2 Client-resolver interface
///
/// 3. General lookup function
Expand Down Expand Up @@ -266,7 +266,8 @@ impl AsyncResolver {
// }
}

/// RFC 1035: 7.4. Using the cache
/// [RFC 1035]: https://datatracker.ietf.org/doc/html/rfc1035#section-7.4
/// 7.4. Using the cache
///
/// In general, we expect a resolver to cache all data which it receives in
/// responses since it may be useful in answering future client requests.
Expand Down

0 comments on commit 0d5eec1

Please sign in to comment.