From a920caa16af3cc6822b73e356ba7ab7f8419e002 Mon Sep 17 00:00:00 2001 From: hansmi Date: Wed, 26 Mar 2025 06:51:10 +0100 Subject: [PATCH] Add "mdns-repeat-ifaces" field to "ip dns" (#358) RouterOS 7.16 introduced an mDNS proxy, configurable via `mdns-repeat-ifaces` under `/ip/dns`. --- changelogs/fragments/358-mdns-repeat-ifaces.yml | 2 ++ plugins/module_utils/_api_data.py | 1 + 2 files changed, 3 insertions(+) create mode 100644 changelogs/fragments/358-mdns-repeat-ifaces.yml diff --git a/changelogs/fragments/358-mdns-repeat-ifaces.yml b/changelogs/fragments/358-mdns-repeat-ifaces.yml new file mode 100644 index 0000000..3cd6d62 --- /dev/null +++ b/changelogs/fragments/358-mdns-repeat-ifaces.yml @@ -0,0 +1,2 @@ +minor_changes: + - api_info, api_modify - add ``mdns-repeat-ifaces`` to ``ip dns`` for RouterOS 7.16 and newer (https://github.com/ansible-collections/community.routeros/pull/358). diff --git a/plugins/module_utils/_api_data.py b/plugins/module_utils/_api_data.py index 56e487a..f239750 100644 --- a/plugins/module_utils/_api_data.py +++ b/plugins/module_utils/_api_data.py @@ -2967,6 +2967,7 @@ PATHS = { ([('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')), + ([('7.16', '>=')], 'mdns-repeat-ifaces', KeyInfo()), ], fields={ 'allow-remote-requests': KeyInfo(),