diff --git a/changelogs/fragments/235-add-missing-dns-attributes.yml b/changelogs/fragments/235-add-missing-dns-attributes.yml new file mode 100644 index 0000000..f2bf2f5 --- /dev/null +++ b/changelogs/fragments/235-add-missing-dns-attributes.yml @@ -0,0 +1,2 @@ +minor_changes: + - api_info, api_modify - add missing DoH parameters ``doh-max-concurrent-queries``, ``doh-max-server-connections``, and ``doh-timeout`` to the ``ip dns`` path (https://github.com/ansible-collections/community.routeros/issues/230, https://github.com/ansible-collections/community.routeros/pull/235) diff --git a/plugins/module_utils/_api_data.py b/plugins/module_utils/_api_data.py index 50ad1d0..f786de8 100644 --- a/plugins/module_utils/_api_data.py +++ b/plugins/module_utils/_api_data.py @@ -1873,6 +1873,11 @@ PATHS = { unversioned=VersionedAPIData( single_value=True, fully_understood=True, + versioned_fields=[ + ([('7.8', '>=')], 'doh-max-concurrent-queries', KeyInfo(default=50)), + ([('7.8', '>=')], 'doh-max-server-connections', KeyInfo(default=5)), + ([('7.8', '>=')], 'doh-timeout', KeyInfo(default='5s')), + ], fields={ 'allow-remote-requests': KeyInfo(), 'cache-max-ttl': KeyInfo(default='1w'),