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 - IP Service

AR100, AR120, AR160, AR1200, AR2200, AR3200, and AR3600 V300R003

This document describes the concepts and configuration procedures of IP Service features on the device, and provides the configuration examples.
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).
(Optional) Configuring DNS Mapping

(Optional) Configuring DNS Mapping

Context

If an enterprise has no internal DNS server but needs to access internal servers using the domain name, intranet users of the enterprise must use DNS servers on external networks.

Intranet users can use the external DNS server to access an external server by performing NAT; however, intranet users cannot use the external DNS server to access an internal server because the IP address resolved by the external DNS server is not the real private IP address of the internal server.

When configuring static NAT and DNS mapping at the same time, you can create a mapping entry containing the domain name, public IP address, public interface number, and protocol type. When receiving a DNS resolution packet, the NAT device searches the private IP address mapped to the public address in the mapping entry. The NAT device then replaces the address resolved by the DNS server with the private IP address and forwards the resolution result to users.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run nat dns-map domain-name { global-address | interface interface-type interface-number [ .subnumber ] } global-port protocol-name

    A mapping from a domain name to a public IP address, an interface number, and a protocol type is configured.

    NOTE:

    After DNS mapping is configured, the nat alg dns enable command must be run to enable the ALG DNS function. In this way, DNS response packets can traverse NAT devices. If the ALG DNS function is disabled, internal hosts cannot access internal servers using the domain name.

Translation
Download
Updated: 2019-03-06

Document ID: EDOC1100069333

Views: 35826

Downloads: 182

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