Configuration procedure

Before performing the following configuration, make sure the device and the host are accessible to each other via available routes, and that the IP addresses of the interfaces are configured as shown Figure 44.

This configuration may vary with DNS servers. The following configuration is performed on a PC running Windows Server 2000.

  1. Configure the DNS server:

    1. Select Start > Programs > Administrative Tools > DNS.

      The DNS server configuration page appears, as shown in Figure 45.

    2. Right click Forward Lookup Zones, select New Zone, and then follow the steps to create a new zone named com.

    3. Click Add Host.

      The mapping between the IP address and host name is created.

Figure 45: Creating a zone

  1. On the DNS server configuration page, right click zone com, and select New Host.

  2. Click Add Host.

    The mapping between the IP address and host name is created.

Figure 46: Adding a host

  1. On the page that appears, enter host name host and IP address 3.1.1.1.

  2. Click Add Host.

    The mapping between the IP address and host name is created.

Figure 47: Adding a mapping between domain name and IP address

  1. Configure the DNS client:

    # Enable dynamic domain name resolution.

    <Sysname> system-view
    [Sysname] dns resolve
    

    # Specify the DNS server 2.1.1.2.

    [Sysname] dns server 2.1.1.2
    

    # Configure com as the name suffix.

    [Sysname] dns domain com