Specifying an IP address and port number
Restrictions and guidelines
If server load balancing is configured, make sure the IP address and port number of the transparent DNS proxy are different than the virtual server of the UDP type.
As a best practice, configure an all-zero IP address for a transparent DNS proxy. In this case, all DNS requests are processed by the transparent DNS proxy.
Procedure
To specify an IP address and port number:
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 IP address for the transparent DNS proxy. |
| Use either command. By default, no IP address is specified for a transparent DNS proxy. |
4. Specify the port number for the transparent DNS proxy. | port port-number | By default, the port number is 53 for a transparent DNS proxy. |