Configuration procedure

Before performing the following configuration, make sure Device A, the DNS server, and the host are reachable to each other and the IP addresses of the interfaces are configured as shown in Figure 48.

  1. Configure the DNS server:

    This configuration may vary with different DNS servers. When a PC running Windows Server 2000 acts as the DNS server, see "Dynamic domain name resolution configuration example" for related configuration information.

  2. Configure the DNS proxy:

    # Specify the DNS server 4.1.1.1.

    <DeviceA> system-view
    [DeviceA] dns server 4.1.1.1
    

    # Enable DNS proxy.

    [DeviceA] dns proxy enable
    
  3. Configure the DNS client:

    # Enable the domain name resolution function.

    <DeviceB> system-view
    [DeviceB] dns resolve
    

    # Specify the DNS server 2.1.1.2.

    [DeviceB] dns server 2.1.1.2