cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1236
Views
0
Helpful
4
Replies

Problem resolution DNS behind ASA5505

essaki_ihssan
Level 1
Level 1

Hi all;

I have two server behind a ASA5505, the first one 192.168.1.4 for resolution of DNS domain name (expl: cisco.com) under Windows 2003 and the second one 192.168.1.5 Exchange 2003 for mailing, I forwarde the ports 53 to 192.168.1.4 for DNS server, and the ports 25 and 110 to 192.168.1.5 for the mail server.

But it does not work, I have an error message when I send a message  (copy below) to a mailbox expl "user" of the domain expl "test.com".

======================================================================================================

======================================================================================================

Objet : Delayed Mail (still Being retried)

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #

# THIS IS A WARNING ONLY. YOU DO NOT NEED TO RESEND YOUR MESSAGE. # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #

Your message Could not be Delivered for 0 days, 1 hours, 0 minutes.

It will be retried Until it is 0 days, 3 hours, 0 minutes old.

For further Top assistance, please send mail to <postmaster>

If you do so, please include this problem report. You can delete your own text from the attached returned message.

<user@test.com>: 421 4.4.0 [internal] no MXs for this domain Could be Reached at this time

=======================================================================================================

=======================================================================================================

i think it's resolution domain name problem.

Please help, What should I do.

4 Replies 4

essaki_ihssan
Level 1
Level 1

Hello,

there is no answer????

or it is no clear??

Thanks

Can you post the policy map from the ASA?

HTH,
John

*** Please rate all useful posts ***

HTH, John *** Please rate all useful posts ***

Bjorntimmer
Level 1
Level 1

I don't think this is a problem in your asa. Their could be multiple problems. When I see this error message you got a problem with dns.

When you do a nslookup on the exchange server for the domain Cisco.com, do you get an result?

Sent from Cisco Technical Support iPhone App

Hi Bjorn Timmer;

thanks for your answer but i have the first configuration installed with Cisco routeur 857 + Sever WIndows 2003 AD domain + Trendmicro SMTP Gateway and it work fine and the mail serveur work fine.

when i change the routeur and i add the ASA5505 i have this probleme so i think the probleme is the ASA.

in the router i forward all port to the interface outside of ASA.

Hi John Blakley,

Thanks; below the configuration.

=====================================

Firewall# sh run

: Saved

:

ASA Version 8.4(4)

!

!

hostname Firewall

enable password jDUXMyqeIzxQIVgK encrypted

passwd 2KFQnbNIdI.2KYOU encrypted

names

!

interface Ethernet0/0

switchport access vlan 2

!

interface Ethernet0/1

!

interface Ethernet0/2

!

interface Ethernet0/3

!

interface Ethernet0/4

!

interface Ethernet0/5

!

interface Ethernet0/6

!

interface Ethernet0/7

!

interface Vlan1

nameif inside

security-level 100

ip address 192.168.1.1 255.255.255.0

!

interface Vlan2

nameif outside

security-level 0

ip address 10.10.10.2 255.255.255.0

!

boot system disk0:/asa844-k8.bin

ftp mode passive

dns domain-lookup inside

dns domain-lookup outside

same-security-traffic permit intra-interface

object network obj_any

subnet 0.0.0.0 0.0.0.0

object network remote

host 192.168.1.4

object network domain

host 192.168.1.4

object network Poste_01

host 192.168.1.16

description Poste Hanane

object network poste_02

host 192.168.1.4

description nom

object network inside-net

subnet 192.168.1.0 255.255.255.0

object network uc500

host 192.168.1.190

object network GatewaySMTP

host 192.168.1.5

object network GatewayIMAP

host 192.168.1.5

object network GatewayPOP

host 192.168.1.5

object network dns

host 192.168.1.4

object network domainUDP

host 192.168.1.4

object network 60993TCP

host 192.168.1.4

object network 60993UDP

host 192.168.1.4

object-group service post-remote tcp

description 60993

port-object eq 3389

port-object eq 60993

object-group service post-domain tcp

port-object eq domain

object-group protocol TCPUDP

protocol-object udp

protocol-object tcp

object-group icmp-type Ping

description ping commande

icmp-object 7

object-group service 60993 udp

port-object eq 60993

access-list 101 extended deny icmp object Poste_01 any

access-list 101 extended permit tcp any object GatewayIMAP eq imap4

access-list 101 extended permit tcp any object GatewayPOP eq pop3

access-list 101 extended permit tcp any object GatewaySMTP eq smtp

access-list 101 extended permit tcp any object remote object-group post-remote

access-list 101 extended permit tcp any object domain eq 60993

access-list 101 extended permit udp any eq domain object domain eq domain

access-list 101 extended permit tcp any eq domain object domain eq domain

access-list 101 extended permit icmp any any

access-list 101 extended permit tcp any object uc500 eq telnet

access-list inside_access_in extended permit ip any any

pager lines 24

logging asdm informational

mtu inside 1500

mtu outside 1500

icmp unreachable rate-limit 1 burst-size 1

asdm image disk0:/asdm-649.bin

no asdm history enable

arp timeout 14400

!

object network remote

nat (inside,outside) static interface service tcp 3389 3389

object network domain

nat (inside,outside) static interface service tcp domain domain

object network inside-net

nat (inside,outside) dynamic interface

object network uc500

nat (inside,outside) static interface service tcp telnet telnet

object network GatewaySMTP

nat (inside,outside) static interface service tcp smtp smtp

object network GatewayIMAP

nat (inside,outside) static interface service tcp imap4 imap4

object network GatewayPOP

nat (inside,outside) static interface service tcp pop3 pop3

object network domainUDP

nat (inside,outside) static interface service udp domain domain

object network 60993TCP

nat (inside,outside) static interface service tcp 60993 60993

object network 60993UDP

nat (inside,outside) static interface service udp 60993 60993

access-group inside_access_in in interface inside

access-group 101 in interface outside

route outside 0.0.0.0 0.0.0.0 10.10.10.1 1

timeout xlate 3:00:00

timeout pat-xlate 0:00:30

timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02

timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00

timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00

timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute

timeout tcp-proxy-reassembly 0:01:00

timeout floating-conn 0:00:00

http server enable

http 192.168.1.0 255.255.255.0 inside

http 0.0.0.0 0.0.0.0 outside

no snmp-server location

no snmp-server contact

snmp-server enable traps snmp authentication linkup linkdown coldstart

!

dhcpd address 192.168.1.20-192.168.1.50 inside

dhcpd dns 192.168.1.4 212.217.0.1 interface inside

dhcpd domain sotravo.com interface inside

dhcpd enable inside

!

!

class-map inspection_default

match default-inspection-traffic

!

!

policy-map type inspect dns preset_dns_map

parameters

  message-length maximum client auto

  message-length maximum 512

policy-map global_policy

class inspection_default

  inspect dns preset_dns_map

  inspect ftp

  inspect h323 h225

  inspect h323 ras

  inspect rsh

  inspect rtsp

  inspect esmtp

  inspect sqlnet

  inspect skinny

  inspect sunrpc

  inspect xdmcp

  inspect sip

  inspect netbios

  inspect tftp

  inspect ip-options

class class-default

  user-statistics accounting

!

service-policy global_policy global

prompt hostname context

: end

============================================

Bets regards.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco