5-23
Cisco ASA Series Firewall CLI Configuration Guide
Chapter 5 NAT Examples and Reference
DNS and NAT
Figure 5-18
DNS Reply Modification, DNS Server on Outside
Procedure
Step 1
Create a network object for the FTP server.
hostname(config)#
object network FTP_SERVER
hostname(config-network-object)#
host 10.1.3.14
Step 2
Configure static NAT with DNS modification.
hostname(config-network-object)#
nat (inside,outside) static 209.165.201.10 dns
DNS Reply Modification, DNS Server, Host, and Server on Separate Networks
The following figure shows a user on the inside network requesting the IP address for ftp.cisco.com,
which is on the DMZ network, from an outside DNS server. The DNS server replies with the mapped
address (209.165.201.10) according to the static rule between outside and DMZ even though the user is
not on the DMZ network. The ASA translates the address inside the DNS reply to 10.1.3.14.
DN
S
S
erver
O
u
t
s
ide
In
s
ide
U
s
er
1
3
0021
1
2
3
4
5
DN
S
Reply Modific
a
tion
209.165.201.10
10.1.
3
.14
DN
S
Reply
209.165.201.10
DN
S
Reply
10.1.
3
.14
DN
S
Q
u
ery
ftp.ci
s
co.com?
FTP Re
qu
e
s
t
10.1.
3
.14
S
ec
u
rity
Appli
a
nce
ftp.ci
s
co.com
10.1.
3
.14
S
t
a
tic Tr
a
n
s
l
a
tion
on O
u
t
s
ide to:
209.165.201.10
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: ......