Specifying an LB policy

By referencing an LB policy, the transparent DNS proxy load balances matching DNS requests based on the packet contents. For more information about configuring an LB policy, see "Configuring an LB policy."

To specify an LB policy:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter transparent DNS proxy view.

loadbalance dns-proxy dns-proxy-name

N/A

3. Specify an LB policy for the transparent DNS proxy.

lb-policy policy-name

By default, a transparent DNS proxy does not reference any LB policies.