Configuring Dns Rewrite - Cisco FirePOWER ASA 5500 series Configuration Manual

Security appliance command line
Hide thumbs Also See for FirePOWER ASA 5500 series:
Table of Contents

Advertisement

Chapter 25
Configuring Application Layer Protocol Inspection
Figure 25-1
server.example.com
http://server.example.com
DNS rewrite also works if the client making the DNS request is on a DMZ network and the DNS server
is on an inside interface. For an illustration and configuration instructions for this scenario, see the
Rewrite with Three NAT Zones" section on page

Configuring DNS Rewrite

You configure DNS rewrite using the alias, static, or nat commands. The alias and static command can
be used interchangeably; however, we recommend using the static command for new deployments
because it is more precise and unambiguous. Also, DNS rewrite is optional when using the static
command.
This section describes how to use the alias and static commands to configure DNS rewrite. It provides
configuration procedures for using the static command in a simple scenario and in a more complex
scenario. Using the nat command is similar to using the static command except that DNS Rewrite is
based on dynamic translation instead of a static mapping.
This section includes the following topics:
For detailed syntax and additional functions for the alias, nat, and static command, see the appropriate
command page in the Cisco Security Appliance Command Reference.
Using the Static Command for DNS Rewrite
The static command causes addresses on an IP network residing on a specific interface to be translated
into addresses on another IP network on a different interface. The syntax for this command is as follows:
hostname(config)# static (real_ifc,mapped_ifc) mapped-address real-address dns
The following example specifies that the address 192.168.100.10 on the inside interface is translated into
209.165.200.5 on the outside interface:
hostname(config)# static (inside,outside) 209.165.200.225 192.168.100.10 dns
OL-10088-01
Translating the Address in a DNS Reply (DNS Rewrite)
Web server
192.168.100.1
192.168.100.1IN A 209.165.200.5
Web client
192.168.100.2
Using the Static Command for DNS Rewrite, page 25-15
Using the Static Command for DNS Rewrite, page 25-15
Configuring DNS Rewrite with Two NAT Zones, page 25-16
DNS Rewrite with Three NAT Zones, page 25-17
Configuring DNS Rewrite with Three NAT Zones, page 25-19
DNS server
server.example.com IN A 209.165.200.5
ISP Internet
Security appliance
25-17.
Cisco Security Appliance Command Line Configuration Guide
DNS Inspection
"DNS
25-15

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pix 500 seriesCisco asa 5500 series

Table of Contents