InlineDnsForwarder1
{
"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"
}
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.
Log level of the dns forwarder
Specify the LogicalRouter where the DnsForwarder runs. The HA mode of the hosting LogicalRouter must be Active/Standby.
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.
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.