From fce73919a484d3a985e1acd5a099796cd9a563f2 Mon Sep 17 00:00:00 2001 From: Bob Halley Date: Sun, 28 Nov 2021 11:29:11 -0800 Subject: [PATCH] more doco for CNAME-and-other-data --- dns/node.py | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/dns/node.py b/dns/node.py index 261de37a..4a750eb0 100644 --- a/dns/node.py +++ b/dns/node.py @@ -26,7 +26,20 @@ import dns.renderer class Node: - """A Node is a set of rdatasets.""" + """A Node is a set of rdatasets. + + A node is either a CNAME node or an "other data" node. A CNAME + node contains only CNAME, RRSIG(CNAME), NSEC, RRSIG(NSEC), NSEC3, + or RRSIG(NSEC3) rdatasets. An "other data" node contains any + rdataset other than a CNAME or RRSIG(CNAME) rdataset. When + changes are made to a node, the CNAME or "other data" state is + always consistent with the update, i.e. the most recent change + wins. For example, if you have a node which contains a CNAME + rdataset, and then add an MX rdataset to it, then the CNAME + rdataset will be deleted. Likewise if you have a node containing + an MX rdataset and add a CNAME rdataset, the MX rdataset will be + deleted. + """ __slots__ = ['rdatasets'] -- 2.47.3