InlineDnsForwarder1

InlineDnsForwarder1
InlineDnsForwarder1
JSON Example
{
    "conditional_forwarders": [
        {
            "upstream_servers": [
                "string"
            ],
            "source_ip": "string",
            "domain_names": [
                "string"
            ]
        }
    ],
    "log_level": "string",
    "logical_router_id": "string",
    "cache_size": 0,
    "default_forwarder": {
        "upstream_servers": [
            "string"
        ],
        "source_ip": "string"
    },
    "listener_ip": "string"
}
conditional_forwarders
Optional

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.

string
log_level
Optional

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.

integer As int32 As int32
cache_size
Optional

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.

default_forwarder
Required

default_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.