Skip to content

Commit

Permalink
Support "address-list" and "match-subdomain" in static DNS records
Browse files Browse the repository at this point in the history
RouterOS 7.5 added `address-list` and `match-subdomain` as fields for
static DNS records.

Changelog: https://forum.mikrotik.com/viewtopic.php?t=188851

Signed-off-by: Michael Hanselmann <[email protected]>
  • Loading branch information
hansmi committed Aug 16, 2023
1 parent ed2f326 commit 396ad7e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
minor_changes:
- api_info, api_modify - add support for ``address-list`` and ``match-subdomain`` introduced in RouterOS 7.5 (https://github.com/ansible-collections/community.routeros/pull/197).
2 changes: 2 additions & 0 deletions plugins/module_utils/_api_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -1408,10 +1408,12 @@ def join_path(path):
mutually_exclusive=[['name', 'regexp']],
fields={
'address': KeyInfo(),
'address-list': KeyInfo(),
'cname': KeyInfo(),
'comment': KeyInfo(can_disable=True, remove_value=''),
'disabled': KeyInfo(default=False),
'forward-to': KeyInfo(),
'match-subdomain': KeyInfo(default=False),
'mx-exchange': KeyInfo(),
'mx-preference': KeyInfo(),
'name': KeyInfo(),
Expand Down

0 comments on commit 396ad7e

Please sign in to comment.