Configuring dynamic domain name resolution

Restrictions and guidelines

Procedure

  1. Enter system view.

    system-view

  2. (Optional.) Configure a DNS suffix.

    dns domain domain-name [ vpn-instance vpn-instance-name ]

    By default, no DNS suffix is configured and only the domain name that a user enters is resolved.

  3. Specify a DNS server address.

    IPv4:

    dns server ip-address [ vpn-instance vpn-instance-name ]

    IPv6:

    ipv6 dns server ipv6-address [ interface-type interface-number ] [ vpn-instance vpn-instance-name ]

    By default, no DNS server address is specified.