Specifying an IP address and port number

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter DNS server view.

loadbalance dns-server dns-server-name

N/A

3. Specify an IP address for the DNS server.

  • Specify an IPv4 address:ip address ipv4-address

  • Specify an IPv6 address:ipv6 address ipv6-address

By default, no IPv4 or IPv6 address is specified for a DNS server.

4. Specify the port number for the DNS server.

port port-number

By default, the port number of a DNS server is 0. Packets use their own port numbers.