1. Packages
  2. Routeros Provider
  3. API Docs
  4. Dns
routeros 1.83.1 published on Monday, Apr 28, 2025 by terraform-routeros

routeros.Dns

Explore with Pulumi AI

routeros logo
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)
    public Dns(String name, DnsArgs args)
    public Dns(String name, DnsArgs args, CustomResourceOptions options)
    
    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:

    AddressListExtraTime string
    AllowRemoteRequests bool
    Specifies whether to allow network requests.
    CacheMaxTtl string
    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
    CacheSize double
    Specifies the size of DNS cache in KiB (64..4294967295). Default: 2048
    DnsId string
    DohMaxConcurrentQueries double
    Specifies how many DoH concurrent queries are allowed.
    DohMaxServerConnections double
    Specifies how many concurrent connections to the DoH server are allowed.
    DohTimeout string
    Specifies how long to wait for query response from the DoH server.
    MaxConcurrentQueries double
    Specifies how much concurrent queries are allowed. Default: 100
    MaxConcurrentTcpSessions double
    Specifies how much concurrent TCP sessions are allowed. Default: 20
    MaxUdpPacketSize double
    Maximum size of allowed UDP packet. Default: 4096
    MdnsRepeatIfaces List<string>
    An option to enable mDNS repeater on specified interfaces. This option is available in RouterOS starting from version 7.16.
    QueryServerTimeout string
    Specifies how long to wait for query response from one server. Time can be specified in milliseconds. Default: 2s
    QueryTotalTimeout string
    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.
    UseDohServer string
    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.
    VerifyDohCert bool
    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.
    AddressListExtraTime string
    AllowRemoteRequests bool
    Specifies whether to allow network requests.
    CacheMaxTtl string
    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
    CacheSize float64
    Specifies the size of DNS cache in KiB (64..4294967295). Default: 2048
    DnsId string
    DohMaxConcurrentQueries float64
    Specifies how many DoH concurrent queries are allowed.
    DohMaxServerConnections float64
    Specifies how many concurrent connections to the DoH server are allowed.
    DohTimeout string
    Specifies how long to wait for query response from the DoH server.
    MaxConcurrentQueries float64
    Specifies how much concurrent queries are allowed. Default: 100
    MaxConcurrentTcpSessions float64
    Specifies how much concurrent TCP sessions are allowed. Default: 20
    MaxUdpPacketSize float64
    Maximum size of allowed UDP packet. Default: 4096
    MdnsRepeatIfaces []string
    An option to enable mDNS repeater on specified interfaces. This option is available in RouterOS starting from version 7.16.
    QueryServerTimeout string
    Specifies how long to wait for query response from one server. Time can be specified in milliseconds. Default: 2s
    QueryTotalTimeout string
    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.
    UseDohServer string
    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.
    VerifyDohCert bool
    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.
    addressListExtraTime String
    allowRemoteRequests Boolean
    Specifies whether to allow network requests.
    cacheMaxTtl String
    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
    cacheSize Double
    Specifies the size of DNS cache in KiB (64..4294967295). Default: 2048
    dnsId String
    dohMaxConcurrentQueries Double
    Specifies how many DoH concurrent queries are allowed.
    dohMaxServerConnections Double
    Specifies how many concurrent connections to the DoH server are allowed.
    dohTimeout String
    Specifies how long to wait for query response from the DoH server.
    maxConcurrentQueries Double
    Specifies how much concurrent queries are allowed. Default: 100
    maxConcurrentTcpSessions Double
    Specifies how much concurrent TCP sessions are allowed. Default: 20
    maxUdpPacketSize Double
    Maximum size of allowed UDP packet. Default: 4096
    mdnsRepeatIfaces List<String>
    An option to enable mDNS repeater on specified interfaces. This option is available in RouterOS starting from version 7.16.
    queryServerTimeout String
    Specifies how long to wait for query response from one server. Time can be specified in milliseconds. Default: 2s
    queryTotalTimeout String
    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.
    useDohServer String
    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.
    verifyDohCert Boolean
    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.
    addressListExtraTime string
    allowRemoteRequests boolean
    Specifies whether to allow network requests.
    cacheMaxTtl string
    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
    cacheSize number
    Specifies the size of DNS cache in KiB (64..4294967295). Default: 2048
    dnsId string
    dohMaxConcurrentQueries number
    Specifies how many DoH concurrent queries are allowed.
    dohMaxServerConnections number
    Specifies how many concurrent connections to the DoH server are allowed.
    dohTimeout string
    Specifies how long to wait for query response from the DoH server.
    maxConcurrentQueries number
    Specifies how much concurrent queries are allowed. Default: 100
    maxConcurrentTcpSessions number
    Specifies how much concurrent TCP sessions are allowed. Default: 20
    maxUdpPacketSize number
    Maximum size of allowed UDP packet. Default: 4096
    mdnsRepeatIfaces string[]
    An option to enable mDNS repeater on specified interfaces. This option is available in RouterOS starting from version 7.16.
    queryServerTimeout string
    Specifies how long to wait for query response from one server. Time can be specified in milliseconds. Default: 2s
    queryTotalTimeout string
    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.
    useDohServer string
    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.
    verifyDohCert boolean
    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_extra_time str
    allow_remote_requests bool
    Specifies whether to allow network requests.
    cache_max_ttl str
    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_concurrent_queries float
    Specifies how many DoH concurrent queries are allowed.
    doh_max_server_connections float
    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_queries float
    Specifies how much concurrent queries are allowed. Default: 100
    max_concurrent_tcp_sessions float
    Specifies how much concurrent TCP sessions are allowed. Default: 20
    max_udp_packet_size float
    Maximum size of allowed UDP packet. Default: 4096
    mdns_repeat_ifaces Sequence[str]
    An option to enable mDNS repeater on specified interfaces. This option is available in RouterOS starting from version 7.16.
    query_server_timeout str
    Specifies how long to wait for query response from one server. Time can be specified in milliseconds. Default: 2s
    query_total_timeout str
    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_server str
    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_cert bool
    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.
    addressListExtraTime String
    allowRemoteRequests Boolean
    Specifies whether to allow network requests.
    cacheMaxTtl String
    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
    cacheSize Number
    Specifies the size of DNS cache in KiB (64..4294967295). Default: 2048
    dnsId String
    dohMaxConcurrentQueries Number
    Specifies how many DoH concurrent queries are allowed.
    dohMaxServerConnections Number
    Specifies how many concurrent connections to the DoH server are allowed.
    dohTimeout String
    Specifies how long to wait for query response from the DoH server.
    maxConcurrentQueries Number
    Specifies how much concurrent queries are allowed. Default: 100
    maxConcurrentTcpSessions Number
    Specifies how much concurrent TCP sessions are allowed. Default: 20
    maxUdpPacketSize Number
    Maximum size of allowed UDP packet. Default: 4096
    mdnsRepeatIfaces List<String>
    An option to enable mDNS repeater on specified interfaces. This option is available in RouterOS starting from version 7.16.
    queryServerTimeout String
    Specifies how long to wait for query response from one server. Time can be specified in milliseconds. Default: 2s
    queryTotalTimeout String
    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.
    useDohServer String
    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.
    verifyDohCert Boolean
    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:

    CacheUsed double
    Shows the currently used cache size in KiB.
    DynamicServers string
    List of dynamically added DNS server from different services, for example, DHCP.
    Id string
    The provider-assigned unique ID for this managed resource.
    CacheUsed float64
    Shows the currently used cache size in KiB.
    DynamicServers string
    List of dynamically added DNS server from different services, for example, DHCP.
    Id string
    The provider-assigned unique ID for this managed resource.
    cacheUsed Double
    Shows the currently used cache size in KiB.
    dynamicServers String
    List of dynamically added DNS server from different services, for example, DHCP.
    id String
    The provider-assigned unique ID for this managed resource.
    cacheUsed number
    Shows the currently used cache size in KiB.
    dynamicServers 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.
    cacheUsed Number
    Shows the currently used cache size in KiB.
    dynamicServers 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.
    The following state arguments are supported:
    AddressListExtraTime string
    AllowRemoteRequests bool
    Specifies whether to allow network requests.
    CacheMaxTtl string
    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
    CacheSize double
    Specifies the size of DNS cache in KiB (64..4294967295). Default: 2048
    CacheUsed double
    Shows the currently used cache size in KiB.
    DnsId string
    DohMaxConcurrentQueries double
    Specifies how many DoH concurrent queries are allowed.
    DohMaxServerConnections double
    Specifies how many concurrent connections to the DoH server are allowed.
    DohTimeout string
    Specifies how long to wait for query response from the DoH server.
    DynamicServers string
    List of dynamically added DNS server from different services, for example, DHCP.
    MaxConcurrentQueries double
    Specifies how much concurrent queries are allowed. Default: 100
    MaxConcurrentTcpSessions double
    Specifies how much concurrent TCP sessions are allowed. Default: 20
    MaxUdpPacketSize double
    Maximum size of allowed UDP packet. Default: 4096
    MdnsRepeatIfaces List<string>
    An option to enable mDNS repeater on specified interfaces. This option is available in RouterOS starting from version 7.16.
    QueryServerTimeout string
    Specifies how long to wait for query response from one server. Time can be specified in milliseconds. Default: 2s
    QueryTotalTimeout string
    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.
    UseDohServer string
    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.
    VerifyDohCert bool
    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.
    AddressListExtraTime string
    AllowRemoteRequests bool
    Specifies whether to allow network requests.
    CacheMaxTtl string
    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
    CacheSize float64
    Specifies the size of DNS cache in KiB (64..4294967295). Default: 2048
    CacheUsed float64
    Shows the currently used cache size in KiB.
    DnsId string
    DohMaxConcurrentQueries float64
    Specifies how many DoH concurrent queries are allowed.
    DohMaxServerConnections float64
    Specifies how many concurrent connections to the DoH server are allowed.
    DohTimeout string
    Specifies how long to wait for query response from the DoH server.
    DynamicServers string
    List of dynamically added DNS server from different services, for example, DHCP.
    MaxConcurrentQueries float64
    Specifies how much concurrent queries are allowed. Default: 100
    MaxConcurrentTcpSessions float64
    Specifies how much concurrent TCP sessions are allowed. Default: 20
    MaxUdpPacketSize float64
    Maximum size of allowed UDP packet. Default: 4096
    MdnsRepeatIfaces []string
    An option to enable mDNS repeater on specified interfaces. This option is available in RouterOS starting from version 7.16.
    QueryServerTimeout string
    Specifies how long to wait for query response from one server. Time can be specified in milliseconds. Default: 2s
    QueryTotalTimeout string
    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.
    UseDohServer string
    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.
    VerifyDohCert bool
    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.
    addressListExtraTime String
    allowRemoteRequests Boolean
    Specifies whether to allow network requests.
    cacheMaxTtl String
    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
    cacheSize Double
    Specifies the size of DNS cache in KiB (64..4294967295). Default: 2048
    cacheUsed Double
    Shows the currently used cache size in KiB.
    dnsId String
    dohMaxConcurrentQueries Double
    Specifies how many DoH concurrent queries are allowed.
    dohMaxServerConnections Double
    Specifies how many concurrent connections to the DoH server are allowed.
    dohTimeout String
    Specifies how long to wait for query response from the DoH server.
    dynamicServers String
    List of dynamically added DNS server from different services, for example, DHCP.
    maxConcurrentQueries Double
    Specifies how much concurrent queries are allowed. Default: 100
    maxConcurrentTcpSessions Double
    Specifies how much concurrent TCP sessions are allowed. Default: 20
    maxUdpPacketSize Double
    Maximum size of allowed UDP packet. Default: 4096
    mdnsRepeatIfaces List<String>
    An option to enable mDNS repeater on specified interfaces. This option is available in RouterOS starting from version 7.16.
    queryServerTimeout String
    Specifies how long to wait for query response from one server. Time can be specified in milliseconds. Default: 2s
    queryTotalTimeout String
    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.
    useDohServer String
    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.
    verifyDohCert Boolean
    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.
    addressListExtraTime string
    allowRemoteRequests boolean
    Specifies whether to allow network requests.
    cacheMaxTtl string
    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
    cacheSize number
    Specifies the size of DNS cache in KiB (64..4294967295). Default: 2048
    cacheUsed number
    Shows the currently used cache size in KiB.
    dnsId string
    dohMaxConcurrentQueries number
    Specifies how many DoH concurrent queries are allowed.
    dohMaxServerConnections number
    Specifies how many concurrent connections to the DoH server are allowed.
    dohTimeout string
    Specifies how long to wait for query response from the DoH server.
    dynamicServers string
    List of dynamically added DNS server from different services, for example, DHCP.
    maxConcurrentQueries number
    Specifies how much concurrent queries are allowed. Default: 100
    maxConcurrentTcpSessions number
    Specifies how much concurrent TCP sessions are allowed. Default: 20
    maxUdpPacketSize number
    Maximum size of allowed UDP packet. Default: 4096
    mdnsRepeatIfaces string[]
    An option to enable mDNS repeater on specified interfaces. This option is available in RouterOS starting from version 7.16.
    queryServerTimeout string
    Specifies how long to wait for query response from one server. Time can be specified in milliseconds. Default: 2s
    queryTotalTimeout string
    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.
    useDohServer string
    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.
    verifyDohCert boolean
    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_extra_time str
    allow_remote_requests bool
    Specifies whether to allow network requests.
    cache_max_ttl str
    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_concurrent_queries float
    Specifies how many DoH concurrent queries are allowed.
    doh_max_server_connections float
    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_queries float
    Specifies how much concurrent queries are allowed. Default: 100
    max_concurrent_tcp_sessions float
    Specifies how much concurrent TCP sessions are allowed. Default: 20
    max_udp_packet_size float
    Maximum size of allowed UDP packet. Default: 4096
    mdns_repeat_ifaces Sequence[str]
    An option to enable mDNS repeater on specified interfaces. This option is available in RouterOS starting from version 7.16.
    query_server_timeout str
    Specifies how long to wait for query response from one server. Time can be specified in milliseconds. Default: 2s
    query_total_timeout str
    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_server str
    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_cert bool
    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.
    addressListExtraTime String
    allowRemoteRequests Boolean
    Specifies whether to allow network requests.
    cacheMaxTtl String
    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
    cacheSize Number
    Specifies the size of DNS cache in KiB (64..4294967295). Default: 2048
    cacheUsed Number
    Shows the currently used cache size in KiB.
    dnsId String
    dohMaxConcurrentQueries Number
    Specifies how many DoH concurrent queries are allowed.
    dohMaxServerConnections Number
    Specifies how many concurrent connections to the DoH server are allowed.
    dohTimeout String
    Specifies how long to wait for query response from the DoH server.
    dynamicServers String
    List of dynamically added DNS server from different services, for example, DHCP.
    maxConcurrentQueries Number
    Specifies how much concurrent queries are allowed. Default: 100
    maxConcurrentTcpSessions Number
    Specifies how much concurrent TCP sessions are allowed. Default: 20
    maxUdpPacketSize Number
    Maximum size of allowed UDP packet. Default: 4096
    mdnsRepeatIfaces List<String>
    An option to enable mDNS repeater on specified interfaces. This option is available in RouterOS starting from version 7.16.
    queryServerTimeout String
    Specifies how long to wait for query response from one server. Time can be specified in milliseconds. Default: 2s
    queryTotalTimeout String
    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.
    useDohServer String
    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.
    verifyDohCert Boolean
    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 logo
    routeros 1.83.1 published on Monday, Apr 28, 2025 by terraform-routeros