Get Edge Gateway Dns
Retrieves DNS configuration of the edge gateway.
gatewayId
gatewayId
OK
{
"enabled": false,
"listenerIp": "string",
"defaultForwarderZone": {
"id": "string",
"displayName": "string",
"dnsDomainNames": [
"string"
],
"upstreamServers": [
"string"
]
},
"conditionalForwarderZones": [
{
"id": "string",
"displayName": "string",
"dnsDomainNames": [
"string"
],
"upstreamServers": [
"string"
]
}
],
"version": {
"version": 0
},
"snatRuleEnabled": false
}
True means that the forwarder is enabled. False means it's disabled.
The IP on which the DNS forwarder listens. If the Edge Gateway has a dedicated external network, this can be changed.
The list of forwarder zones with its matching DNS domains.
Whether there is an SNAT rule exists for the DNS forwarder or not. In NAT routed environments, an SNAT rule is required for the Edge DNS forwarder to send traffic to an upstream server. In fully routed environments, this is not needed if the listener IP is on an advertised subnet. If the Edge Gateway has a dedicated external network and the listener IP has been changed, there will not be an SNAT rule for the DNS forwarder. In all other cases the SNAT rule will exist.
The specified resource was not found
{
"minorErrorCode": "string",
"message": "string",
"stackTrace": "string"
}
minorErrorCode
message
stackTrace