routeros 1.83.1 published on Monday, Apr 28, 2025 by terraform-routeros
routeros.Dns
Explore with Pulumi AI
routeros 1.83.1 published on Monday, Apr 28, 2025 by terraform-routeros
# routeros.Dns (Resource)
This is an alias for backwards compatibility between plugin versions.
Please see documentation for routeros.IpDns
Create Dns Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Dns(name: string, args?: DnsArgs, opts?: CustomResourceOptions);
@overload
def Dns(resource_name: str,
args: Optional[DnsArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Dns(resource_name: str,
opts: Optional[ResourceOptions] = None,
___id_: Optional[float] = None,
___path_: Optional[str] = None,
address_list_extra_time: Optional[str] = None,
allow_remote_requests: Optional[bool] = None,
cache_max_ttl: Optional[str] = None,
cache_size: Optional[float] = None,
dns_id: Optional[str] = None,
doh_max_concurrent_queries: Optional[float] = None,
doh_max_server_connections: Optional[float] = None,
doh_timeout: Optional[str] = None,
max_concurrent_queries: Optional[float] = None,
max_concurrent_tcp_sessions: Optional[float] = None,
max_udp_packet_size: Optional[float] = None,
mdns_repeat_ifaces: Optional[Sequence[str]] = None,
query_server_timeout: Optional[str] = None,
query_total_timeout: Optional[str] = None,
servers: Optional[Sequence[str]] = None,
use_doh_server: Optional[str] = None,
verify_doh_cert: Optional[bool] = None,
vrf: Optional[str] = None)
func NewDns(ctx *Context, name string, args *DnsArgs, opts ...ResourceOption) (*Dns, error)
public Dns(string name, DnsArgs? args = null, CustomResourceOptions? opts = null)
type: routeros:Dns
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DnsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DnsArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DnsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DnsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DnsArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Dns Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Dns resource accepts the following input properties:
- Address
List stringExtra Time - Allow
Remote boolRequests - Specifies whether to allow network requests.
- Cache
Max stringTtl - Maximum time-to-live for cache records. In other words, cache records will expire unconditionally after cache-max-ttl time. Shorter TTL received from DNS servers are respected. Default: 1w
- Cache
Size double - Specifies the size of DNS cache in KiB (64..4294967295). Default: 2048
- Dns
Id string - Doh
Max doubleConcurrent Queries - Specifies how many DoH concurrent queries are allowed.
- Doh
Max doubleServer Connections - Specifies how many concurrent connections to the DoH server are allowed.
- Doh
Timeout string - Specifies how long to wait for query response from the DoH server.
- Max
Concurrent doubleQueries - Specifies how much concurrent queries are allowed. Default: 100
- Max
Concurrent doubleTcp Sessions - Specifies how much concurrent TCP sessions are allowed. Default: 20
- Max
Udp doublePacket Size - Maximum size of allowed UDP packet. Default: 4096
- Mdns
Repeat List<string>Ifaces - An option to enable mDNS repeater on specified interfaces. This option is available in RouterOS starting from version 7.16.
- Query
Server stringTimeout - Specifies how long to wait for query response from one server. Time can be specified in milliseconds. Default: 2s
- Query
Total stringTimeout - Specifies how long to wait for query response in total. Note that this setting must be configured taking into account query_server_timeout and number of used DNS server. Time can be specified in milliseconds. Default: 10s
- Servers List<string>
- List of DNS server IPv4/IPv6 addresses.
- Use
Doh stringServer - DNS over HTTPS (DoH) server URL. > Mikrotik strongly suggest not use third-party download links for certificate fetching. Use the Certificate Authority's own website. > RouterOS prioritize DoH over DNS server if both are configured on the device.
- Verify
Doh boolCert - DoH certificate verification. See docs.
- Vrf string
- The VRF table this resource operates on.
- ___
id_ double - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ string - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- Address
List stringExtra Time - Allow
Remote boolRequests - Specifies whether to allow network requests.
- Cache
Max stringTtl - Maximum time-to-live for cache records. In other words, cache records will expire unconditionally after cache-max-ttl time. Shorter TTL received from DNS servers are respected. Default: 1w
- Cache
Size float64 - Specifies the size of DNS cache in KiB (64..4294967295). Default: 2048
- Dns
Id string - Doh
Max float64Concurrent Queries - Specifies how many DoH concurrent queries are allowed.
- Doh
Max float64Server Connections - Specifies how many concurrent connections to the DoH server are allowed.
- Doh
Timeout string - Specifies how long to wait for query response from the DoH server.
- Max
Concurrent float64Queries - Specifies how much concurrent queries are allowed. Default: 100
- Max
Concurrent float64Tcp Sessions - Specifies how much concurrent TCP sessions are allowed. Default: 20
- Max
Udp float64Packet Size - Maximum size of allowed UDP packet. Default: 4096
- Mdns
Repeat []stringIfaces - An option to enable mDNS repeater on specified interfaces. This option is available in RouterOS starting from version 7.16.
- Query
Server stringTimeout - Specifies how long to wait for query response from one server. Time can be specified in milliseconds. Default: 2s
- Query
Total stringTimeout - Specifies how long to wait for query response in total. Note that this setting must be configured taking into account query_server_timeout and number of used DNS server. Time can be specified in milliseconds. Default: 10s
- Servers []string
- List of DNS server IPv4/IPv6 addresses.
- Use
Doh stringServer - DNS over HTTPS (DoH) server URL. > Mikrotik strongly suggest not use third-party download links for certificate fetching. Use the Certificate Authority's own website. > RouterOS prioritize DoH over DNS server if both are configured on the device.
- Verify
Doh boolCert - DoH certificate verification. See docs.
- Vrf string
- The VRF table this resource operates on.
- ___
id_ float64 - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ string - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- ___
id_ Double - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ String - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- address
List StringExtra Time - allow
Remote BooleanRequests - Specifies whether to allow network requests.
- cache
Max StringTtl - Maximum time-to-live for cache records. In other words, cache records will expire unconditionally after cache-max-ttl time. Shorter TTL received from DNS servers are respected. Default: 1w
- cache
Size Double - Specifies the size of DNS cache in KiB (64..4294967295). Default: 2048
- dns
Id String - doh
Max DoubleConcurrent Queries - Specifies how many DoH concurrent queries are allowed.
- doh
Max DoubleServer Connections - Specifies how many concurrent connections to the DoH server are allowed.
- doh
Timeout String - Specifies how long to wait for query response from the DoH server.
- max
Concurrent DoubleQueries - Specifies how much concurrent queries are allowed. Default: 100
- max
Concurrent DoubleTcp Sessions - Specifies how much concurrent TCP sessions are allowed. Default: 20
- max
Udp DoublePacket Size - Maximum size of allowed UDP packet. Default: 4096
- mdns
Repeat List<String>Ifaces - An option to enable mDNS repeater on specified interfaces. This option is available in RouterOS starting from version 7.16.
- query
Server StringTimeout - Specifies how long to wait for query response from one server. Time can be specified in milliseconds. Default: 2s
- query
Total StringTimeout - Specifies how long to wait for query response in total. Note that this setting must be configured taking into account query_server_timeout and number of used DNS server. Time can be specified in milliseconds. Default: 10s
- servers List<String>
- List of DNS server IPv4/IPv6 addresses.
- use
Doh StringServer - DNS over HTTPS (DoH) server URL. > Mikrotik strongly suggest not use third-party download links for certificate fetching. Use the Certificate Authority's own website. > RouterOS prioritize DoH over DNS server if both are configured on the device.
- verify
Doh BooleanCert - DoH certificate verification. See docs.
- vrf String
- The VRF table this resource operates on.
- ___
id_ number - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ string - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- address
List stringExtra Time - allow
Remote booleanRequests - Specifies whether to allow network requests.
- cache
Max stringTtl - Maximum time-to-live for cache records. In other words, cache records will expire unconditionally after cache-max-ttl time. Shorter TTL received from DNS servers are respected. Default: 1w
- cache
Size number - Specifies the size of DNS cache in KiB (64..4294967295). Default: 2048
- dns
Id string - doh
Max numberConcurrent Queries - Specifies how many DoH concurrent queries are allowed.
- doh
Max numberServer Connections - Specifies how many concurrent connections to the DoH server are allowed.
- doh
Timeout string - Specifies how long to wait for query response from the DoH server.
- max
Concurrent numberQueries - Specifies how much concurrent queries are allowed. Default: 100
- max
Concurrent numberTcp Sessions - Specifies how much concurrent TCP sessions are allowed. Default: 20
- max
Udp numberPacket Size - Maximum size of allowed UDP packet. Default: 4096
- mdns
Repeat string[]Ifaces - An option to enable mDNS repeater on specified interfaces. This option is available in RouterOS starting from version 7.16.
- query
Server stringTimeout - Specifies how long to wait for query response from one server. Time can be specified in milliseconds. Default: 2s
- query
Total stringTimeout - Specifies how long to wait for query response in total. Note that this setting must be configured taking into account query_server_timeout and number of used DNS server. Time can be specified in milliseconds. Default: 10s
- servers string[]
- List of DNS server IPv4/IPv6 addresses.
- use
Doh stringServer - DNS over HTTPS (DoH) server URL. > Mikrotik strongly suggest not use third-party download links for certificate fetching. Use the Certificate Authority's own website. > RouterOS prioritize DoH over DNS server if both are configured on the device.
- verify
Doh booleanCert - DoH certificate verification. See docs.
- vrf string
- The VRF table this resource operates on.
- ___
id_ float - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ str - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- address_
list_ strextra_ time - allow_
remote_ boolrequests - Specifies whether to allow network requests.
- cache_
max_ strttl - Maximum time-to-live for cache records. In other words, cache records will expire unconditionally after cache-max-ttl time. Shorter TTL received from DNS servers are respected. Default: 1w
- cache_
size float - Specifies the size of DNS cache in KiB (64..4294967295). Default: 2048
- dns_
id str - doh_
max_ floatconcurrent_ queries - Specifies how many DoH concurrent queries are allowed.
- doh_
max_ floatserver_ connections - Specifies how many concurrent connections to the DoH server are allowed.
- doh_
timeout str - Specifies how long to wait for query response from the DoH server.
- max_
concurrent_ floatqueries - Specifies how much concurrent queries are allowed. Default: 100
- max_
concurrent_ floattcp_ sessions - Specifies how much concurrent TCP sessions are allowed. Default: 20
- max_
udp_ floatpacket_ size - Maximum size of allowed UDP packet. Default: 4096
- mdns_
repeat_ Sequence[str]ifaces - An option to enable mDNS repeater on specified interfaces. This option is available in RouterOS starting from version 7.16.
- query_
server_ strtimeout - Specifies how long to wait for query response from one server. Time can be specified in milliseconds. Default: 2s
- query_
total_ strtimeout - Specifies how long to wait for query response in total. Note that this setting must be configured taking into account query_server_timeout and number of used DNS server. Time can be specified in milliseconds. Default: 10s
- servers Sequence[str]
- List of DNS server IPv4/IPv6 addresses.
- use_
doh_ strserver - DNS over HTTPS (DoH) server URL. > Mikrotik strongly suggest not use third-party download links for certificate fetching. Use the Certificate Authority's own website. > RouterOS prioritize DoH over DNS server if both are configured on the device.
- verify_
doh_ boolcert - DoH certificate verification. See docs.
- vrf str
- The VRF table this resource operates on.
- ___
id_ Number - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ String - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- address
List StringExtra Time - allow
Remote BooleanRequests - Specifies whether to allow network requests.
- cache
Max StringTtl - Maximum time-to-live for cache records. In other words, cache records will expire unconditionally after cache-max-ttl time. Shorter TTL received from DNS servers are respected. Default: 1w
- cache
Size Number - Specifies the size of DNS cache in KiB (64..4294967295). Default: 2048
- dns
Id String - doh
Max NumberConcurrent Queries - Specifies how many DoH concurrent queries are allowed.
- doh
Max NumberServer Connections - Specifies how many concurrent connections to the DoH server are allowed.
- doh
Timeout String - Specifies how long to wait for query response from the DoH server.
- max
Concurrent NumberQueries - Specifies how much concurrent queries are allowed. Default: 100
- max
Concurrent NumberTcp Sessions - Specifies how much concurrent TCP sessions are allowed. Default: 20
- max
Udp NumberPacket Size - Maximum size of allowed UDP packet. Default: 4096
- mdns
Repeat List<String>Ifaces - An option to enable mDNS repeater on specified interfaces. This option is available in RouterOS starting from version 7.16.
- query
Server StringTimeout - Specifies how long to wait for query response from one server. Time can be specified in milliseconds. Default: 2s
- query
Total StringTimeout - Specifies how long to wait for query response in total. Note that this setting must be configured taking into account query_server_timeout and number of used DNS server. Time can be specified in milliseconds. Default: 10s
- servers List<String>
- List of DNS server IPv4/IPv6 addresses.
- use
Doh StringServer - DNS over HTTPS (DoH) server URL. > Mikrotik strongly suggest not use third-party download links for certificate fetching. Use the Certificate Authority's own website. > RouterOS prioritize DoH over DNS server if both are configured on the device.
- verify
Doh BooleanCert - DoH certificate verification. See docs.
- vrf String
- The VRF table this resource operates on.
Outputs
All input properties are implicitly available as output properties. Additionally, the Dns resource produces the following output properties:
- Cache
Used double - Shows the currently used cache size in KiB.
- Dynamic
Servers string - List of dynamically added DNS server from different services, for example, DHCP.
- Id string
- The provider-assigned unique ID for this managed resource.
- Cache
Used float64 - Shows the currently used cache size in KiB.
- Dynamic
Servers string - List of dynamically added DNS server from different services, for example, DHCP.
- Id string
- The provider-assigned unique ID for this managed resource.
- cache
Used Double - Shows the currently used cache size in KiB.
- dynamic
Servers String - List of dynamically added DNS server from different services, for example, DHCP.
- id String
- The provider-assigned unique ID for this managed resource.
- cache
Used number - Shows the currently used cache size in KiB.
- dynamic
Servers string - List of dynamically added DNS server from different services, for example, DHCP.
- id string
- The provider-assigned unique ID for this managed resource.
- cache_
used float - Shows the currently used cache size in KiB.
- dynamic_
servers str - List of dynamically added DNS server from different services, for example, DHCP.
- id str
- The provider-assigned unique ID for this managed resource.
- cache
Used Number - Shows the currently used cache size in KiB.
- dynamic
Servers String - List of dynamically added DNS server from different services, for example, DHCP.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing Dns Resource
Get an existing Dns resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: DnsState, opts?: CustomResourceOptions): Dns
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
___id_: Optional[float] = None,
___path_: Optional[str] = None,
address_list_extra_time: Optional[str] = None,
allow_remote_requests: Optional[bool] = None,
cache_max_ttl: Optional[str] = None,
cache_size: Optional[float] = None,
cache_used: Optional[float] = None,
dns_id: Optional[str] = None,
doh_max_concurrent_queries: Optional[float] = None,
doh_max_server_connections: Optional[float] = None,
doh_timeout: Optional[str] = None,
dynamic_servers: Optional[str] = None,
max_concurrent_queries: Optional[float] = None,
max_concurrent_tcp_sessions: Optional[float] = None,
max_udp_packet_size: Optional[float] = None,
mdns_repeat_ifaces: Optional[Sequence[str]] = None,
query_server_timeout: Optional[str] = None,
query_total_timeout: Optional[str] = None,
servers: Optional[Sequence[str]] = None,
use_doh_server: Optional[str] = None,
verify_doh_cert: Optional[bool] = None,
vrf: Optional[str] = None) -> Dns
func GetDns(ctx *Context, name string, id IDInput, state *DnsState, opts ...ResourceOption) (*Dns, error)
public static Dns Get(string name, Input<string> id, DnsState? state, CustomResourceOptions? opts = null)
public static Dns get(String name, Output<String> id, DnsState state, CustomResourceOptions options)
resources: _: type: routeros:Dns get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Address
List stringExtra Time - Allow
Remote boolRequests - Specifies whether to allow network requests.
- Cache
Max stringTtl - Maximum time-to-live for cache records. In other words, cache records will expire unconditionally after cache-max-ttl time. Shorter TTL received from DNS servers are respected. Default: 1w
- Cache
Size double - Specifies the size of DNS cache in KiB (64..4294967295). Default: 2048
- Cache
Used double - Shows the currently used cache size in KiB.
- Dns
Id string - Doh
Max doubleConcurrent Queries - Specifies how many DoH concurrent queries are allowed.
- Doh
Max doubleServer Connections - Specifies how many concurrent connections to the DoH server are allowed.
- Doh
Timeout string - Specifies how long to wait for query response from the DoH server.
- Dynamic
Servers string - List of dynamically added DNS server from different services, for example, DHCP.
- Max
Concurrent doubleQueries - Specifies how much concurrent queries are allowed. Default: 100
- Max
Concurrent doubleTcp Sessions - Specifies how much concurrent TCP sessions are allowed. Default: 20
- Max
Udp doublePacket Size - Maximum size of allowed UDP packet. Default: 4096
- Mdns
Repeat List<string>Ifaces - An option to enable mDNS repeater on specified interfaces. This option is available in RouterOS starting from version 7.16.
- Query
Server stringTimeout - Specifies how long to wait for query response from one server. Time can be specified in milliseconds. Default: 2s
- Query
Total stringTimeout - Specifies how long to wait for query response in total. Note that this setting must be configured taking into account query_server_timeout and number of used DNS server. Time can be specified in milliseconds. Default: 10s
- Servers List<string>
- List of DNS server IPv4/IPv6 addresses.
- Use
Doh stringServer - DNS over HTTPS (DoH) server URL. > Mikrotik strongly suggest not use third-party download links for certificate fetching. Use the Certificate Authority's own website. > RouterOS prioritize DoH over DNS server if both are configured on the device.
- Verify
Doh boolCert - DoH certificate verification. See docs.
- Vrf string
- The VRF table this resource operates on.
- ___
id_ double - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ string - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- Address
List stringExtra Time - Allow
Remote boolRequests - Specifies whether to allow network requests.
- Cache
Max stringTtl - Maximum time-to-live for cache records. In other words, cache records will expire unconditionally after cache-max-ttl time. Shorter TTL received from DNS servers are respected. Default: 1w
- Cache
Size float64 - Specifies the size of DNS cache in KiB (64..4294967295). Default: 2048
- Cache
Used float64 - Shows the currently used cache size in KiB.
- Dns
Id string - Doh
Max float64Concurrent Queries - Specifies how many DoH concurrent queries are allowed.
- Doh
Max float64Server Connections - Specifies how many concurrent connections to the DoH server are allowed.
- Doh
Timeout string - Specifies how long to wait for query response from the DoH server.
- Dynamic
Servers string - List of dynamically added DNS server from different services, for example, DHCP.
- Max
Concurrent float64Queries - Specifies how much concurrent queries are allowed. Default: 100
- Max
Concurrent float64Tcp Sessions - Specifies how much concurrent TCP sessions are allowed. Default: 20
- Max
Udp float64Packet Size - Maximum size of allowed UDP packet. Default: 4096
- Mdns
Repeat []stringIfaces - An option to enable mDNS repeater on specified interfaces. This option is available in RouterOS starting from version 7.16.
- Query
Server stringTimeout - Specifies how long to wait for query response from one server. Time can be specified in milliseconds. Default: 2s
- Query
Total stringTimeout - Specifies how long to wait for query response in total. Note that this setting must be configured taking into account query_server_timeout and number of used DNS server. Time can be specified in milliseconds. Default: 10s
- Servers []string
- List of DNS server IPv4/IPv6 addresses.
- Use
Doh stringServer - DNS over HTTPS (DoH) server URL. > Mikrotik strongly suggest not use third-party download links for certificate fetching. Use the Certificate Authority's own website. > RouterOS prioritize DoH over DNS server if both are configured on the device.
- Verify
Doh boolCert - DoH certificate verification. See docs.
- Vrf string
- The VRF table this resource operates on.
- ___
id_ float64 - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ string - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- ___
id_ Double - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ String - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- address
List StringExtra Time - allow
Remote BooleanRequests - Specifies whether to allow network requests.
- cache
Max StringTtl - Maximum time-to-live for cache records. In other words, cache records will expire unconditionally after cache-max-ttl time. Shorter TTL received from DNS servers are respected. Default: 1w
- cache
Size Double - Specifies the size of DNS cache in KiB (64..4294967295). Default: 2048
- cache
Used Double - Shows the currently used cache size in KiB.
- dns
Id String - doh
Max DoubleConcurrent Queries - Specifies how many DoH concurrent queries are allowed.
- doh
Max DoubleServer Connections - Specifies how many concurrent connections to the DoH server are allowed.
- doh
Timeout String - Specifies how long to wait for query response from the DoH server.
- dynamic
Servers String - List of dynamically added DNS server from different services, for example, DHCP.
- max
Concurrent DoubleQueries - Specifies how much concurrent queries are allowed. Default: 100
- max
Concurrent DoubleTcp Sessions - Specifies how much concurrent TCP sessions are allowed. Default: 20
- max
Udp DoublePacket Size - Maximum size of allowed UDP packet. Default: 4096
- mdns
Repeat List<String>Ifaces - An option to enable mDNS repeater on specified interfaces. This option is available in RouterOS starting from version 7.16.
- query
Server StringTimeout - Specifies how long to wait for query response from one server. Time can be specified in milliseconds. Default: 2s
- query
Total StringTimeout - Specifies how long to wait for query response in total. Note that this setting must be configured taking into account query_server_timeout and number of used DNS server. Time can be specified in milliseconds. Default: 10s
- servers List<String>
- List of DNS server IPv4/IPv6 addresses.
- use
Doh StringServer - DNS over HTTPS (DoH) server URL. > Mikrotik strongly suggest not use third-party download links for certificate fetching. Use the Certificate Authority's own website. > RouterOS prioritize DoH over DNS server if both are configured on the device.
- verify
Doh BooleanCert - DoH certificate verification. See docs.
- vrf String
- The VRF table this resource operates on.
- ___
id_ number - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ string - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- address
List stringExtra Time - allow
Remote booleanRequests - Specifies whether to allow network requests.
- cache
Max stringTtl - Maximum time-to-live for cache records. In other words, cache records will expire unconditionally after cache-max-ttl time. Shorter TTL received from DNS servers are respected. Default: 1w
- cache
Size number - Specifies the size of DNS cache in KiB (64..4294967295). Default: 2048
- cache
Used number - Shows the currently used cache size in KiB.
- dns
Id string - doh
Max numberConcurrent Queries - Specifies how many DoH concurrent queries are allowed.
- doh
Max numberServer Connections - Specifies how many concurrent connections to the DoH server are allowed.
- doh
Timeout string - Specifies how long to wait for query response from the DoH server.
- dynamic
Servers string - List of dynamically added DNS server from different services, for example, DHCP.
- max
Concurrent numberQueries - Specifies how much concurrent queries are allowed. Default: 100
- max
Concurrent numberTcp Sessions - Specifies how much concurrent TCP sessions are allowed. Default: 20
- max
Udp numberPacket Size - Maximum size of allowed UDP packet. Default: 4096
- mdns
Repeat string[]Ifaces - An option to enable mDNS repeater on specified interfaces. This option is available in RouterOS starting from version 7.16.
- query
Server stringTimeout - Specifies how long to wait for query response from one server. Time can be specified in milliseconds. Default: 2s
- query
Total stringTimeout - Specifies how long to wait for query response in total. Note that this setting must be configured taking into account query_server_timeout and number of used DNS server. Time can be specified in milliseconds. Default: 10s
- servers string[]
- List of DNS server IPv4/IPv6 addresses.
- use
Doh stringServer - DNS over HTTPS (DoH) server URL. > Mikrotik strongly suggest not use third-party download links for certificate fetching. Use the Certificate Authority's own website. > RouterOS prioritize DoH over DNS server if both are configured on the device.
- verify
Doh booleanCert - DoH certificate verification. See docs.
- vrf string
- The VRF table this resource operates on.
- ___
id_ float - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ str - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- address_
list_ strextra_ time - allow_
remote_ boolrequests - Specifies whether to allow network requests.
- cache_
max_ strttl - Maximum time-to-live for cache records. In other words, cache records will expire unconditionally after cache-max-ttl time. Shorter TTL received from DNS servers are respected. Default: 1w
- cache_
size float - Specifies the size of DNS cache in KiB (64..4294967295). Default: 2048
- cache_
used float - Shows the currently used cache size in KiB.
- dns_
id str - doh_
max_ floatconcurrent_ queries - Specifies how many DoH concurrent queries are allowed.
- doh_
max_ floatserver_ connections - Specifies how many concurrent connections to the DoH server are allowed.
- doh_
timeout str - Specifies how long to wait for query response from the DoH server.
- dynamic_
servers str - List of dynamically added DNS server from different services, for example, DHCP.
- max_
concurrent_ floatqueries - Specifies how much concurrent queries are allowed. Default: 100
- max_
concurrent_ floattcp_ sessions - Specifies how much concurrent TCP sessions are allowed. Default: 20
- max_
udp_ floatpacket_ size - Maximum size of allowed UDP packet. Default: 4096
- mdns_
repeat_ Sequence[str]ifaces - An option to enable mDNS repeater on specified interfaces. This option is available in RouterOS starting from version 7.16.
- query_
server_ strtimeout - Specifies how long to wait for query response from one server. Time can be specified in milliseconds. Default: 2s
- query_
total_ strtimeout - Specifies how long to wait for query response in total. Note that this setting must be configured taking into account query_server_timeout and number of used DNS server. Time can be specified in milliseconds. Default: 10s
- servers Sequence[str]
- List of DNS server IPv4/IPv6 addresses.
- use_
doh_ strserver - DNS over HTTPS (DoH) server URL. > Mikrotik strongly suggest not use third-party download links for certificate fetching. Use the Certificate Authority's own website. > RouterOS prioritize DoH over DNS server if both are configured on the device.
- verify_
doh_ boolcert - DoH certificate verification. See docs.
- vrf str
- The VRF table this resource operates on.
- ___
id_ Number - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ String - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- address
List StringExtra Time - allow
Remote BooleanRequests - Specifies whether to allow network requests.
- cache
Max StringTtl - Maximum time-to-live for cache records. In other words, cache records will expire unconditionally after cache-max-ttl time. Shorter TTL received from DNS servers are respected. Default: 1w
- cache
Size Number - Specifies the size of DNS cache in KiB (64..4294967295). Default: 2048
- cache
Used Number - Shows the currently used cache size in KiB.
- dns
Id String - doh
Max NumberConcurrent Queries - Specifies how many DoH concurrent queries are allowed.
- doh
Max NumberServer Connections - Specifies how many concurrent connections to the DoH server are allowed.
- doh
Timeout String - Specifies how long to wait for query response from the DoH server.
- dynamic
Servers String - List of dynamically added DNS server from different services, for example, DHCP.
- max
Concurrent NumberQueries - Specifies how much concurrent queries are allowed. Default: 100
- max
Concurrent NumberTcp Sessions - Specifies how much concurrent TCP sessions are allowed. Default: 20
- max
Udp NumberPacket Size - Maximum size of allowed UDP packet. Default: 4096
- mdns
Repeat List<String>Ifaces - An option to enable mDNS repeater on specified interfaces. This option is available in RouterOS starting from version 7.16.
- query
Server StringTimeout - Specifies how long to wait for query response from one server. Time can be specified in milliseconds. Default: 2s
- query
Total StringTimeout - Specifies how long to wait for query response in total. Note that this setting must be configured taking into account query_server_timeout and number of used DNS server. Time can be specified in milliseconds. Default: 10s
- servers List<String>
- List of DNS server IPv4/IPv6 addresses.
- use
Doh StringServer - DNS over HTTPS (DoH) server URL. > Mikrotik strongly suggest not use third-party download links for certificate fetching. Use the Certificate Authority's own website. > RouterOS prioritize DoH over DNS server if both are configured on the device.
- verify
Doh BooleanCert - DoH certificate verification. See docs.
- vrf String
- The VRF table this resource operates on.
Package Details
- Repository
- routeros terraform-routeros/terraform-provider-routeros
- License
- Notes
- This Pulumi package is based on the
routeros
Terraform Provider.
routeros 1.83.1 published on Monday, Apr 28, 2025 by terraform-routeros