R2511-HP MSR Router Series Layer 3 - IP Services Command Reference(V5)

162
[Sysname] nat alg ftp
nat dns-map
Use nat dns-map to map the domain name to the public network information about an internal server.
Use undo nat dns-map to remove a DNS mapping.
Syntax
nat dns-map domain domain-name protocol pro-type ip global-ip port global-port
undo nat dns-map domain domain-name
Views
System view
Default command level
2: System level
Parameters
domain domain-name: Specifies the domain name of an internal server. A domain name is a string
containing no more than 255 case-insensitive characters. It consists of several labels separated by dots
(.). Each label has no more than 63 characters that must begin and end with letters or digits. Dashes (-)
can also be included.
protocol pro-type: Specifies the protocol type used by the internal server, tcp or udp.
ip global-ip: Specifies the public IP address used by the internal server to provide services to the external
network.
port global-port: Specifies the port number used by the internal server to provide services to the external
network. The global-port argument is in the range of 1 to 65535.
Usage guidelines
All MSR routers support this command. The following matrix shows the maximum mappings that each
router model supports:
Hardware Maximum ma
pp
in
g
s
MSR900 32
MSR93X 32
MSR20-1X 32
MSR20 32
MSR30
MSR30-10: 32
MSR30-11E-F: 32
MSR30-16: 64
MSR30: 64
MSR50
MSR50-40: 128
MSR50-60: 128
MSR50 (MPU-G2): 128
MSR1000 32