diff --git a/CHANGES b/CHANGES
index 64fa271f31..d51199b117 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,7 @@
+4132. [cleanup] dig: added +rd as a synonym for +recurse,
+ added +class as an unabbreviated alternative
+ to +cl. [RT #39686]
+
4131. [bug] Addressed further problems with reloading RPZ
zones. [RT #39649]
diff --git a/bin/dig/dig.c b/bin/dig/dig.c
index 6144bfc888..dbf84ddc48 100644
--- a/bin/dig/dig.c
+++ b/bin/dig/dig.c
@@ -879,8 +879,9 @@ plus_option(char *option, isc_boolean_t is_batchfile,
goto invalid_option;
}
break;
- case 'l': /* cl */
- FULLCHECK("cl");
+ case 'l': /* class */
+ /* keep +cl for backwards compatibility */
+ FULLCHECK2("cl", "class");
noclass = ISC_TF(!state);
break;
case 'm': /* cmd */
@@ -1150,6 +1151,10 @@ plus_option(char *option, isc_boolean_t is_batchfile,
break;
case 'r':
switch (cmd[1]) {
+ case 'd': /* rdflag */
+ FULLCHECK("rdflag");
+ lookup->recurse = state;
+ break;
case 'e':
switch (cmd[2]) {
case 'c': /* recurse */
diff --git a/bin/dig/dig.docbook b/bin/dig/dig.docbook
index 66b21c199b..91a179d9e4 100644
--- a/bin/dig/dig.docbook
+++ b/bin/dig/dig.docbook
@@ -436,6 +436,9 @@
that keyword. Other
keywords assign values to options like the timeout interval. They
have the form .
+ Keywords may be abbreviated, provided the abbreviation is
+ unambiguous; for example, +cd is equivalent
+ to +cdflag.
The query options are:
@@ -551,7 +554,7 @@
-
+
Display [do not display] the CLASS when printing the
@@ -853,6 +856,15 @@
+
+
+
+
+ A synonym for +[no]recurse.
+
+
+
+