10-25
Cisco ASA Series Firewall CLI Configuration Guide
Chapter 10 NAT Examples and Reference
DNS and NAT
Figure 10-20
DNS Reply Modification, DNS Server on Host Network
Procedure
Step 1
Create a network object for the FTP server.
hostname(config)#
object network FTP_SERVER
hostname(config-network-object)#
host 209.165.201.10
Step 2
Configure static NAT with DNS modification.
hostname(config-network-object)#
nat (outside,inside) static 10.1.2.56 dns
DNS64 Reply Modification Using Outside NAT
The following figure shows an FTP server and DNS server on the outside IPv4 network. The ASA has a
static translation for the outside server. In this case, when an inside IPv6 user requests the address for
ftp.cisco.com from the DNS server, the DNS server responds with the real address, 209.165.200.225.
Because you want inside users to use the mapped address for ftp.cisco.com (2001:DB8::D1A5:C8E1)
you need to configure DNS reply modification for the static translation. This example also includes a
static NAT translation for the DNS server, and a PAT rule for the inside IPv6 hosts.
ftp.ci
s
co.com
209.165.201.10
DN
S
S
erver
O
u
t
s
ide
In
s
ide
U
s
er
10.1.2.27
S
t
a
tic Tr
a
n
s
l
a
tion on In
s
ide to:
10.1.2.56
130022
1
2
7
6
5
4
3
DN
S
Q
u
ery
ftp.ci
s
co.com?
DN
S
Reply
209.165.201.10
DN
S
Reply Modific
a
tion
209.165.201.10
10.1.2.56
DN
S
Reply
10.1.2.56
FTP Re
qu
e
s
t
209.165.201.10
De
s
t Addr. Tr
a
n
s
l
a
tion
209.165.201.10
10.1.2.56
FTP Re
qu
e
s
t
10.1.2.56
S
ec
u
rity
Appli
a
nce
Summary of Contents for ASA 5508-X
Page 11: ...P A R T 1 Access Control ...
Page 12: ......
Page 157: ...P A R T 2 Network Address Translation ...
Page 158: ......
Page 233: ...P A R T 3 Service Policies and Application Inspection ...
Page 234: ......
Page 379: ...P A R T 4 Connection Management and Threat Detection ...
Page 380: ......