5-25
Cisco ASA Series Firewall CLI Configuration Guide
Chapter 5 NAT Examples and Reference
DNS and NAT
Figure 5-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
1
3
0022
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 5512-X
Page 5: ...P A R T 1 Service Policies and Access Control ...
Page 6: ......
Page 51: ...P A R T 2 Network Address Translation ...
Page 52: ......
Page 127: ...P A R T 3 Application Inspection ...
Page 128: ......
Page 255: ...P A R T 4 Connection Settings and Quality of Service ...
Page 256: ......
Page 303: ...P A R T 5 Advanced Network Protection ...
Page 304: ......
Page 339: ...P A R T 6 ASA Modules ...
Page 340: ......