Skip to content

Commit 3d8ea92

Browse files
self review
1 parent c29c7d1 commit 3d8ea92

8 files changed

Lines changed: 23 additions & 19 deletions

File tree

src/base/iana/exterr.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,13 +158,13 @@ int_enum! {
158158

159159
/// The client tried to use QUIC session Zero Round Trip Time (0-RTT) with
160160
/// a non-replayable transaction. The server is not allowed to process
161-
/// that and therefore respons with this error.
161+
/// that and therefore responds with this error.
162162
(TOO_EARLY => 26, "Too Early")
163163

164164
/// The resolver encountered an NSEC3 iteration value greater than 0.
165165
(UNSUPPORTED_NSEC3_ITERATIONS_VALUE => 27, "Unsupported NSEC3 Iterations Value")
166166

167-
/// The error is returned the proxy cannot meet the requirements in a
167+
/// The error is returned when the proxy cannot meet the requirements in a
168168
/// PROXY CONTROL Option or the option is malformed.
169169
(UNABLE_TO_CONFORM_TO_POLICY => 28, "Unable to conform to policy")
170170

@@ -186,7 +186,7 @@ int_enum! {
186186
/// queried name, disabling DNSSEC validation.
187187
(NEGATIVE_TRUST_ANCHOR => 33, "Negative Trust Anchor")
188188

189-
/// When there is no NS records for a delegated zone.
189+
/// When there are no NS records for a delegated zone.
190190
(NEW_DELEGATION_ONLY => 34, "New Delegation Only")
191191
}
192192

src/base/iana/ipseckey.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ int_enum! {
4747
/// the gateway field of the [IPSECKEY].
4848
///
4949
/// For the currently registered values see the [IANA registration]. This
50-
/// type is complete as of 2025-09-09.
50+
/// type is complete as of the registry update of 2023-03-15.
5151
///
5252
/// [IPSECKEY]: ../../../rdata/ipseckey/index.html
5353
/// [IANA registration]: https://www.iana.org/assignments/ipseckey-rr-parameters/ipseckey-rr-parameters.xhtml#ipseckey-rr-parameters-2

src/base/iana/opt.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ int_enum! {
189189
/// a DNS QUERY (OpCode=0). Defined in [RFC-ietf-dnssd-multi-qtypes].
190190
///
191191
/// [RFC-ietf-dnssd-multi-qtypes]: https://datatracker.ietf.org/doc/html/draft-ietf-dnssd-multi-qtypes
192-
(MQTYPEQUERY => 20, "MQTYPE-Query")
192+
(MQTYPE_QUERY => 20, "MQTYPE-Query")
193193

194194
/// MQTYPE-Response (21).
195195
///
@@ -198,7 +198,7 @@ int_enum! {
198198
/// (OpCode=0). Defined in [RFC-ietf-dnssd-multi-qtypes].
199199
///
200200
/// [RFC-ietf-dnssd-multi-qtypes]: https://datatracker.ietf.org/doc/html/draft-ietf-dnssd-multi-qtypes
201-
(MQTYPERESPONSE => 21, "MQTYPE-Response")
201+
(MQTYPE_RESPONSE => 21, "MQTYPE-Response")
202202

203203
/// EDE-EXTRA-TEXT-LANGUAGE (22).
204204
///
@@ -240,7 +240,7 @@ int_enum! {
240240
/// which a matched query caused the filtering to occur.
241241
/// Defined in [draft-muks-dns-filtering].
242242
///
243-
/// [draft-muks-dns-filtering]: https://datatracker.ietf.org/doc/html/draft-muks-dns-filtering#name-filtering-organization-edns
243+
/// [draft-muks-dns-filtering]: https://datatracker.ietf.org/doc/html/draft-muks-dns-filtering#name-filtering-db-edns-option
244244
(FILTERING_DB => 25, "FILTERING-DB")
245245

246246
/// Umbrella Ident (20292).
@@ -252,7 +252,7 @@ int_enum! {
252252

253253
/// DeviceID (26946).
254254
///
255-
/// Ths option is used by the [Cisco Umbrella network device API].
255+
/// This option is used by the [Cisco Umbrella network device API].
256256
///
257257
/// [Cisco Umbrella network device API]: https://developer.cisco.com/docs/cloud-security/network-devices-with-cisco-umbrella-dns/#network-devices-with-cisco-umbrella-dns
258258
(DEVICE_ID => 26946, "DeviceId")

src/base/iana/rtype.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ int_enum! {
453453
/// See draft-johnson-dns-ipn-cla-07.
454454
(CLA => 263, "CLA")
455455

456-
/// CLA BP Convergence Layer Adapter.
456+
/// IPN BP Node Number.
457457
///
458458
/// See draft-johnson-dns-ipn-cla-07.
459459
(IPN => 264, "IPN")

src/base/iana/secalg.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,16 @@ int_enum! {
103103

104104
/// SM2 signing algorithm with SM3 hashing algorithm
105105
///
106-
/// This algorithm is described in RFC 9558.
106+
/// This algorithm is described in [RFC 9563].
107+
///
108+
/// [RFC 9563]: https://datatracker.ietf.org/doc/html/rfc9563
107109
(SM2SM3 => 17, "SM2SM3")
108110

109111
/// GOST R 34.10-2012
110112
///
111-
/// This algorithm is described in RFC 9558.
113+
/// This algorithm is described in [RFC 9558].
114+
///
115+
/// [RFC 9558]: https://datatracker.ietf.org/doc/html/rfc9558
112116
(ECC_GOST12 => 23, "ECC-GOST12")
113117

114118
/// Reserved for Indirect Keys

src/base/iana/sshfp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ int_enum! {
4949
/// This type selects the algorithm of the public key associated with the [`Sshfp`].
5050
///
5151
/// For the currently registered values see the [IANA registration]. This
52-
/// type is complete as of 2025-09-04.
52+
/// type is complete as of the registry update of 2020-02-25.
5353
///
5454
/// [`Sshfp`]: crate::rdata::sshfp::Sshfp
5555
/// [IANA registration]: https://www.iana.org/assignments/dns-sshfp-rr-parameters/dns-sshfp-rr-parameters.xhtml#dns-sshfp-rr-parameters-1

src/base/iana/svcb.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,22 +88,22 @@ int_enum! {
8888
/// See [RFC9953].
8989
///
9090
/// [RFC9953]: https://datatracker.ietf.org/doc/html/rfc9953#name-selection-of-a-doc-server
91-
(DOCPATH => 10, "DOCPATH")
91+
(DOCPATH => 10, "docpath")
9292

9393
/// PVD PvD configuration is available at the well-known path.
9494
///
9595
/// See [draft-ietf-intarea-proxy-config].
9696
///
9797
/// [draft-ietf-intarea-proxy-config]: https://datatracker.ietf.org/doc/html/draft-ietf-intarea-proxy-config#section-2.1
98-
(PVD => 11, "PVD")
98+
(PVD => 11, "pvd")
9999

100100
/// OOTS Per-transport operator confidence in serving the nameserver's
101101
/// query load over that transport, as a percentage.
102102
///
103-
/// See [draft-ietf-intarea-proxy-config].
103+
/// See [draft-johani-dnsop-svcb-oots].
104104
///
105-
/// [draft-ietf-intarea-proxy-config]: https://datatracker.ietf.org/doc/html/draft-johani-dnsop-svcb-oots#section-5
106-
(OOTS => 12, "OOTS")
105+
/// [draft-johani-dnsop-svcb-oots]: https://datatracker.ietf.org/doc/html/draft-johani-dnsop-svcb-oots#section-5
106+
(OOTS => 12, "oots")
107107
}
108108

109109
int_enum_str_with_prefix!(SvcParamKey, "key", b"key", u16, "unknown key");

src/base/iana/zonemd.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ int_enum! {
99
/// as input to the hashing function for use with [ZONEMD].
1010
///
1111
/// For the currently registered values see the [IANA registration]. This
12-
/// type is complete as of 2026-07-06.
12+
/// type is complete as of the registry update of 2026-07-06.
1313
///
1414
/// [ZONEMD]: ../../../rdata/zonemd/index.html
1515
/// [IANA registration]: https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#zonemd-schemes
@@ -32,7 +32,7 @@ int_enum! {
3232
/// the [ZONEMD].
3333
///
3434
/// For the currently registered values see the [IANA registration]. This
35-
/// type is complete as of 2024-11-29.
35+
/// type is complete as of the registry update of 2026-07-06.
3636
///
3737
/// [ZONEMD]: ../../../rdata/zonemd/index.html
3838
/// [IANA registration]: https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#zonemd-hash-algorithms

0 commit comments

Comments
 (0)