DnsSettings Class

Definition

DNS Proxy Settings in Firewall Policy.

public final class DnsSettings
Inheritance
java.lang.Object
DnsSettings

Inherited Members

java.lang.Object.clone() java.lang.Object.equals(java.lang.Object) java.lang.Object.finalize() java.lang.Object.getClass() java.lang.Object.hashCode() java.lang.Object.notify() java.lang.Object.notifyAll() java.lang.Object.toString() java.lang.Object.wait() java.lang.Object.wait(long) java.lang.Object.wait(long,int)

Constructors

DnsSettings()

Methods

enableProxy()

Get the enableProxy property: Enable DNS Proxy on Firewalls attached to the Firewall Policy.

requireProxyForNetworkRules()

Get the requireProxyForNetworkRules property: FQDNs in Network Rules are supported when set to true.

servers()

Get the servers property: List of Custom DNS Servers.

validate()

Validates the instance.

withEnableProxy(Boolean enableProxy)

Set the enableProxy property: Enable DNS Proxy on Firewalls attached to the Firewall Policy.

withRequireProxyForNetworkRules(Boolean requireProxyForNetworkRules)

Set the requireProxyForNetworkRules property: FQDNs in Network Rules are supported when set to true.

withServers(List<String> servers)

Set the servers property: List of Custom DNS Servers.

Applies to