Checking Whether Address Resolution of the DNS Server Is Correct

Procedure

  1. If a single uplink is used, we encourage you to use the DNS server address provided by the ISP for Internet access. Run the dhcp server dns-list ip-address command in the interface view to change the DNS server address specified in the interface address pool to the DNS server address provided by the ISP.

    <Huawei> system-view
    [Huawei] interface GigabitEthernet 1/0/0
    [Huawei-GigabitEthernet1/0/0] display this
    # 
    interface GigabitEthernet1/0/0
    description connect to inside network
    ip address 1.1.1.1 255.255.255.248
    dhcp select interface
    dhcp server dns-list 1.1.1.1  //The current DNS server address is 1.1.1.1.
    # 
    return
    [Huawei-GigabitEthernet1/0/0] undo dhcp server dns-list all
    [Huawei-GigabitEthernet1/0/0] dhcp server dns-list 8.8.8.8  //Change the DNS server address to the DNS server address 8.8.8.8 provided by the ISP.
    

  2. If multi-ISP uplinks are used, the possible cause is that the interoperability between the DNS servers of different ISPs is poor. As a result, the PC cannot access the Internet. In this instance, perform the following operations to confirm it, assuming that the PC accesses the Internet through the uplinks of ISP A and ISP B:

    • Set the IP address of the DNS server provided by ISP A on the PC, and use the uplink of ISP A to access the Internet. Check whether the Internet access is normal.

    • Set the IP address of the DNS server provided by ISP B on the PC, and use the uplink of ISP B to access the Internet. Check whether the Internet access is normal.

    If the PC fails to access the Internet in one of the preceding scenarios, change the DNS server address to 114.114.114.114 and perform a test. If the fault persists, contact the ISP.

    If the PC cannot access the Internet in both the preceding scenarios, connect the PC directly to the ISP's network. If the PC still fails to access the Internet, contact the ISP.

Back | Previous | Next


Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.