Enabling 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.

If the traffic volume on the link to a DNS server exceeds the maximum protection bandwidth multiplied by the bandwidth ratio, the DNS server is busy and will not be selected. If the traffic volume drops below the maximum protection bandwidth multiplied by the bandwidth recovery ratio, the DNS server participates in scheduling again. For more information about setting the bandwidth ratio, see "Setting the bandwidth ratio and maximum protection bandwidth."

To enable the link protection feature:

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. Enable the link protection feature.

bandwidth busy-protection enable

By default, the link protection feature is disabled.