No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

CLI-based Configuration Guide - Security

AR100, AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R010

This document provides the basic concepts, configuration procedures, and configuration examples in different application scenarios of the network management feature supported by the device.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Users Cannot Access the Internet Because the DNS Server Address Is Blocked

Users Cannot Access the Internet Because the DNS Server Address Is Blocked

Fault Description

An ACL is configured on the device to restrict the destination addresses that can be accessed by users; however, the DNS server address is blocked in the ACL. As a result, the query packets sent from users to the DNS server are discarded. The domain names cannot be resolved, so users cannot access the Internet.

Procedure

  1. Run the display acl command in the system view to check ACL rules.

    The following rule is included:

    rule 100 deny ip destination 10.102.192.0 0.0.0.255  //Reject the packets from network segment 10.102.192.0/24.

    The DNS server address configured on user PCs is 10.102.192.68, which belongs to network segment 10.102.192.0/24. Therefore, packets sent from users to the DNS server are discarded. The domain names cannot be resolved, so users cannot access the Internet.

  2. Run the rule (advanced ACL view) command in the ACL view to add a rule to permit the DNS server address.

    rule 99 permit ip destination 10.102.192.68 0  //Permit the packets destined for the DNS server.
    rule 100 deny ip destination 10.102.192.0 0.0.0.255  //Reject the packets destined for network segment 10.102.192.0/24.

    After rule 99 is added, the packets sent from users to the DNS server match rule 99 and pass. The domain names can be resolved, and users can access the Internet.

Translation
Download
Updated: 2019-08-07

Document ID: EDOC1100034077

Views: 119511

Downloads: 221

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next