mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-06-21 09:35:45 +02:00
Added support for 'ip dns forwarders' (#343)
This commit is contained in:
parent
9e4b6c197d
commit
e302fed6cf
4 changed files with 20 additions and 0 deletions
|
@ -2997,6 +2997,22 @@ PATHS = {
|
|||
)),
|
||||
],
|
||||
),
|
||||
('ip', 'dns', 'forwarders'): APIData(
|
||||
versioned=[
|
||||
('7.17', '>=', VersionedAPIData(
|
||||
fully_understood=True,
|
||||
required_one_of=[['dns-servers', 'doh-servers']],
|
||||
fields={
|
||||
'comment': KeyInfo(can_disable=True, remove_value=''),
|
||||
'disabled': KeyInfo(default=False),
|
||||
'dns-servers': KeyInfo(default=''),
|
||||
'doh-servers': KeyInfo(default=''),
|
||||
'name': KeyInfo(required=True),
|
||||
'verify-doh-cert': KeyInfo(default=True),
|
||||
},
|
||||
)),
|
||||
],
|
||||
),
|
||||
('ip', 'dns', 'static'): APIData(
|
||||
unversioned=VersionedAPIData(
|
||||
fully_understood=True,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue