Service Product Area

Forum Affairs

When a user device accesses the internal server using a domain name, whether the domain name contains the host name varies. Therefore, you have to configure different DNS domain names in the following two situations. For example, you want to access the domain name www.hbjs.gov.cn.

When the DNS Request packet sent by the user device contains the host name, that is, the user device uses the domain name www.hbjs.gov.cn to access the internal server, run the nat dns-mapwww.hbjs.gov.cnglobal-address global-port { tcp | udp } command.

When the DNS Request packet sent by the user device does not contain the host name, that is, the user device uses the domain name hbjs.gov.cn to access the internal server, run the nat dns-maphbjs.gov.cnglobal-address global-port { tcp | udp } command.

NOTE:

If you are not sure whether the DNS Request packet sent by the device contains the host name or not, it is recommended that you configure both the preceding commands.

Other related questions:

Q: Intranet users cannot access the internal server using a domain name, but they can access the internal server using an IP address.
A: Ping the domain name and check whether the public IP address can be parsed. If the IP address cannot be correctly parsed, check whether the account password and DNS information are correct. Configure DDNS software on the PC to check whether the IP address can be parsed. If no error is found in the preceding operations, contact the carrier to check the DDNS server. Check whether the DDNS server synchronizes the updated domain name to the DNS server.
The causes are as follows:
It is used in the scenario where terminals use PPPoE dial-up. The router runs normally when users can access the internal server using IP addresses. DNS resolution is the first step to access a domain name. Because the PPPoE interface dynamically obtains an IP address from a carrier, the DDNS server must send the updated mapping between the domain name and IP address to the DNS server in real time. Check whether the DDNS server synchronizes the updated domain name to the DNS server.

An intranet user cannot use a public address to access an intranet server. Use the following method:
1. Check whether services on the intranet NAT server are running properly.
2. Check whether the NAT server is configured correctly.
3. Check the connection between the external host and NAT server and the configurations of the connected interfaces.
4. Check that the intranet NAT server is configured with the correct gateway address or route.