InlineDnsForwarder1

InlineDnsForwarder1
InlineDnsForwarder1
JSON Example
{
    "cache_size": 0,
    "conditional_forwarders": [
        {
            "source_ip": "string",
            "upstream_servers": [
                "string"
            ],
            "domain_names": [
                "string"
            ]
        }
    ],
    "default_forwarder": "ForwarderZone Object",
    "enabled": false,
    "listener_ip": "string",
    "log_level": "string",
    "logical_router_id": "string"
}
integer As int32 As int32
cache_size
Optional
Constraints: minimum: 1 maximum: 16777216 default: 1024

One DNS answer cache entry will consume ~120 bytes. Hence 1 KB cache size can cache ~8 DNS answer entries, and the default 1024 KB cache size can hold ~8k DNS answer entries.

conditional_forwarders
Optional
Constraints: maxItems: 5

The conditional zone forwarders. During matching a zone forwarder, the DNS forwarder will use the conditional fowarder with the longest domain name that matches the query.

default_forwarder
Required

default_forwarder

boolean
enabled
Optional
Constraints: default: true

Flag to enable/disable the forwarder

string As ipv4 As ipv4
listener_ip
Required

The ip address the DNS forwarder listens on. It can be an ip address already owned by the logical-router uplink port or router-link, or a loopback port ip address. But it can not be a downlink port address. User needs to ensure the address is reachable via router or NAT from both client VMs and upstream servers. User will need to create Firewall rules if needed to allow such traffic on a Tier-1 or Tier-0.

string
log_level
Optional
Constraints: default: INFO

Log level of the DNS forwarder

Possible values are : DEBUG, INFO, WARNING, ERROR, FATAL,
string
logical_router_id
Required

Specify the LogicalRouter where the DnsForwarder runs. The HA mode of the hosting LogicalRouter must be Active/Standby.