dnsConfig

dnsConfig
dnsConfig

DNS configuration

JSON Example
{
    "template": "string",
    "cacheSize": 0,
    "listeners": {
        "vnic": [
            "string"
        ],
        "type": "string"
    },
    "featureType": "string",
    "dnsViews": {
        "dnsView": [
            {
                "viewId": "string",
                "viewMatch": {
                    "ipSet": [
                        "string"
                    ],
                    "vnic": [
                        "string"
                    ],
                    "ipAddress": [
                        "string"
                    ]
                },
                "forwarders": {
                    "ipAddress": [
                        "string"
                    ]
                },
                "name": "string",
                "recursion": false,
                "enabled": false
            }
        ]
    },
    "logging": {
        "logLevel": "string",
        "enable": false
    },
    "dnsServers": {
        "ipAddress": [
            "string"
        ]
    },
    "version": 0,
    "enabled": false
}
string
template
Optional

template

integer As int64 As int64
cacheSize
Optional

The cache size of the DNS service.

listeners
Optional

listeners

string
featureType
Optional

featureType

dnsViews
Optional

dnsViews

logging
Optional

logging

dnsServers
Optional

dnsServers

integer As int64 As int64
version
Optional

Version number tracking each configuration change. To avoid problems with overwriting changes, always retrieve and modify the latest configuration to include the current version number in your request. If you provide a version number which is not current, the request is rejected. If you omit the version number, the request is accepted but may overwrite any current changes if your change is not in sync with the latest change.

boolean
enabled
Optional

Value is true if feature is enabled. Default value is true. Optional.