From 25c28a052b56f2e4cd6e66bee181466cc8b57e1c Mon Sep 17 00:00:00 2001 From: Litr0 Date: Thu, 16 Nov 2023 13:28:11 -0300 Subject: [PATCH] Add RFC 1035 reference to CNAME Rdata struct --- src/message/rdata/cname_rdata.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/message/rdata/cname_rdata.rs b/src/message/rdata/cname_rdata.rs index d1230cff..412d0196 100644 --- a/src/message/rdata/cname_rdata.rs +++ b/src/message/rdata/cname_rdata.rs @@ -6,6 +6,7 @@ use crate::message::resource_record::{FromBytes, ResourceRecord, ToBytes}; use std::str::SplitWhitespace; #[derive(Clone, PartialEq, Debug)] +/// [RFC 1035]: https://datatracker.ietf.org/doc/html/rfc1035#section-3.3.1 /// An struct that represents the `Rdata` for cname type. /// /// ```text