Specifying DNS servers for DHCP clients

About DNS servers for DHCP clients

To access hosts on the Internet through domain names, a DHCP client must contact a DNS server to resolve names. You can specify up to eight DNS servers in a DHCP address pool.

Procedure

  1. Enter system view.

    system-view

  2. Enter DHCP address pool view.

    dhcp server ip-pool pool-name

  3. Specify DNS servers.

    dns-list ip-address&<1-8>

    By default, no DNS server is specified.