|
@@ -279,6 +279,8 @@ public:
|
|
|
/// It performs minimum level of validation on the specified RRset:
|
|
|
/// - Whether the RR class is identical to that for the zone to be updated
|
|
|
/// - Whether the RRset is not empty, i.e., it has at least one RDATA
|
|
|
+ /// - Whether the RRset is not associated with an RRSIG, i.e.,
|
|
|
+ /// whether \c getRRsig() on the RRset returns a NULL pointer.
|
|
|
///
|
|
|
/// and otherwise does not check any oddity. For example, it doesn't
|
|
|
/// check whether the owner name of the specified RRset is a subdomain
|
|
@@ -289,6 +291,12 @@ public:
|
|
|
/// the existing data beforehand using the \c ZoneFinder returned by
|
|
|
/// \c getFinder().
|
|
|
///
|
|
|
+ /// The validation requirement on the associated RRSIG is temporary.
|
|
|
+ /// If we find it more reasonable and useful to allow adding a pair of
|
|
|
+ /// RRset and its RRSIG RRset as we gain experiences with the interface,
|
|
|
+ /// we may remove this restriction. Until then we explicitly check it
|
|
|
+ /// to prevent accidental misuse.
|
|
|
+ ///
|
|
|
/// Conceptually, on successful call to this method, the zone will have
|
|
|
/// the specified RRset, and if there is already an RRset of the same
|
|
|
/// name and RR type, these two sets will be "merged". "Merged" means
|
|
@@ -368,6 +376,8 @@ public:
|
|
|
/// RRset:
|
|
|
/// - Whether the RR class is identical to that for the zone to be updated
|
|
|
/// - Whether the RRset is not empty, i.e., it has at least one RDATA
|
|
|
+ /// - Whether the RRset is not associated with an RRSIG, i.e.,
|
|
|
+ /// whether \c getRRsig() on the RRset returns a NULL pointer.
|
|
|
///
|
|
|
/// This method must not be called once commit() is performed. If it
|
|
|
/// calls after \c commit() the implementation must throw a
|