This help contains the following topics:
As shown in Figure-1, intranet users of an enterprise can access external servers A and B through link 1 of ISP 1 and link 2 of ISP 2. External servers A and B provide the same services. All DNS requests of intranet users are forwarded to DNS server A, which returns the resolved IP address of external server A to the requesting users. In this way, all traffic of intranet users is forwarded on one link. Link congestion might occur.
The transparent DNS proxy feature can solve this problem by forwarding DNS requests to DNS servers in different ISPs. All traffic from intranet users is evenly distributed on multiple links. This feature can prevent link congestion and ensure service continuity upon a link failure.
Figure-1 Transparent DNS proxy
The transparent DNS proxy is implemented by changing the destination IP address of DNS requests.
As shown in Figure-2, if the destination port number of an incoming DNS request is the same as the port number specified for a transparent DNS proxy, the device processes the DNS request as follows:
Finds the DNS server pool associated with the transparent DNS proxy.
Selects a DNS server to service the DNS request according to the scheduling algorithm of the associated DNS server pool.
The IP address of the selected DNS server is used as the destination IP address of the DNS request.
The DNS server resolves the domain name in the DNS request into the IP address of the external server sends a DNS response.
The intranet user accesses the external server according to the resolved IP address in the DNS response.
Figure-2 Transparent DNS proxy workflow
The transparent DNS proxy and DNS proxy features are mutually exclusive. Do not configure both features on the device. For more information about DNS proxy, see "DNS."
Support of non-default vSystems for this feature depends on the device model. This feature is available on the Web interface only if it is supported.
Figure-3 shows the configuration procedure for transparent DNS proxy.
Figure-3 Transparent DNS proxy configuration procedure
Complete the following tasks before you configure this feature:
Assign IP addresses to interfaces on the
Configure routes on the
(Optional.)
(Optional.)
A class classifies packets by comparing packets against specific rules. Matching packets are further processed by LB actions.
Select
Click
Create a class.
Figure-4 Class settings
Table-1 Class configuration items
Item | Description |
Class name | Enter a name for the class, case insensitive. |
Match type | Select a match type:
|
Match rule | A class can contain a maximum of 65535 match rules. To configure a match rule:
|
Description | Enter a description for the class. |
Click
Perform this task to configure an entity on the LB device for processing DNS requests. DNS servers configured on the LB device correspond to DNS servers in ISP networks. A DNS server can belong to multiple DNS server pools. A DNS server pool can contain multiple DNS servers.
Select
Click
Create a DNS server.
Figure-5 DNS server settings
Table-2 DNS server configuration items
Item | Description |
DNS server name | Enter a name for the DNS server, case insensitive. |
IP address configuration method | Select an IP address configuration method:
|
IPv4 address | Enter an IPv4 address for the DNS server. The IPv4 address cannot be a loopback address, multicast address, broadcast address, or 0.X.X.X. |
IPv6 address | Enter an IPv6 address for the DNS server. The IPv6 address cannot be a loopback address, multicast address, link-local address, or all-zero address. |
Port number | Enter a port number for the DNS server. The value 0 means the port number carried in the packet is used. |
VRF | Select a VRF to which the DNS server belongs. |
Weight | Enter the weight for the DNS server. A greater value means a higher priority to be selected during weighted round-robin scheduling. This parameter is available only when you add a DNS server on the |
Priority | Enter a priority for the real server in the server farm. A greater value means a higher priority to be selected. If the number of real servers with the highest priority is smaller than the configured minimum number, real servers with lower priority are selected to meet the minimum number. This parameter is available only when you add a DNS server on the |
Probe method | Specify a probe template used by the DNS server to detect health and availability. You can also configure this parameter for all DNS servers in a DNS server pool on the You can select an existing probe template or create a probe template. |
Success criteria | Specify the health monitoring success criteria for the DNS server.
|
Link | Specify a link to associate with the DNS server. You can select an existing link or create a link. |
Description | Enter a description for the DNS server. |
Click
By configuring a DNS server pool, you can perform centralized management on DNS servers that have similar functions.
Select
Click
Create a DNS server pool.
Figure-6 DNS server pool settings
Table-3 DNS server pool configuration items
Item | Description |
Pool name | Enter a name for the DNS server pool, case insensitive. |
Scheduling algorithm | Select a scheduling algorithm for the DNS server pool.
|
Priority scheduling | Specify the upper limit and lower limit of DNS servers in a DNS server pool that can be scheduled. By default, all DNS servers with the highest priority in a DNS server pool are scheduled.
The DNS server priority can be configured on the |
Health monitoring method | Specify a probe template used by the DNS server pool to detect the health and availability of its DNS servers. You can also configure this parameter for a single DNS server on the You can select an existing probe template or create a probe template. |
Success criteria | Specify the health monitoring success criteria for the DNS server pool.
|
DNS server list | You can add a DNS server to a DNS server pool in one of the following ways: Create a DNS server and add it to the DNS server pool.
Select an existing DNS server.
|
Description | Enter a description for the DNS server pool. |
Click
A proxy policy associates a class and an action. You can specify an action to take on a class of packets in a proxy policy.
You can specify only one class in a proxy policy. The device matches packets against proxy policies in their configuration order. If a packet matches a class, the device takes the associated action on the packet. If a packet matches no class, the device takes the action associated with the system-defined class named
Select
On the
Figure-7 IPv4/IPv6 proxy policy common settings
Table-4 Common configuration items
Item | Description |
Status | Status of the transparent DNS proxy:
|
Proxy port | Enter a proxy port number. If the destination port number of an incoming DNS request is the same as the proxy port number, the device performs the transparent DNS proxy on the DNS request. |
Transparent DNS proxy | Enable or disable the transparent DNS proxy feature. |
Link protection | Enable or disable the link protection feature. This feature enables a transparent DNS proxy to select a DNS server based on the link bandwidth ratio. If the bandwidth ratio of a link is exceeded, the DNS server is not selected. |
Session extension information synchronization | Enable or disable session extension information synchronization. |
Session persistence entry synchronization | Enable or disable session persistence entry synchronization. The following configuration changes will cause the device to delete existing session persistence entries and generate new ones based on subsequent traffic:
|
Session persistence entry synchronization type | Select the session persistence entry synchronization type:
This feature is available only when session persistence entry synchronization is enabled. |
iShell file | Select an iShell file for the DNS proxy to process matching traffic based on the script. You can select an existing iShell file or create an iShell file. |
Select
Click
Create an IPv4/IPv6 proxy policy.
Figure-8 IPv4/IPv6 proxy policy settings
Table-5 IPv4/IPv6 proxy policy configuration items
Item | Description |
Class | Select an existing class or create a class. |
Forwarding action | Select a forwarding action.
If the IPv4/IPv6 proxy policy is used by a SIP virtual server, the |
ToS | Enter the ToS field value in IP packets sent to the DNS server. |
DNS server pool | Select an existing DNS server pool or create a DNS server pool. |
Session persistence | Select an existing session persistence or create a session persistence. Only address-port session persistences are supported. |
Fallback action | Specify that the next rule is matched when a failure to find a DNS server occurs. |
Busy action | Specify that the next rule is matched when all DNS servers are busy. |
Insert before | Specify an existing proxy policy before which the new policy is inserted. |
Click