Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
You may experience some slow load times, errors, and slight inconsistencies. We ask for your patience as we finalize the launch. Thank you.

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

dns lookup Cisco ASA

Hi,

dnslookp on Cisca ASA works :

fw-asa/pri/act# ping imap.gmail.com
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 173.194.67.109, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/28/30 ms

 

object network obj-imap.gmail.com
 fqdn v4 imap.gmail.com

access-list ACL_APP extended permit tcp host 192.168.100.81 object obj-imap.gmail.com eq 993

 

WHY acl above have hit=0 ? acl works I'm sure cause if I disable it then 192.168.100.81 cannot connect to imap.gmail.com

ALSO on syslog server searching for destination fqdn there is no entry

 

 

  • Firewalling
1 ACCEPTED SOLUTION

Accepted Solutions
VIP Purple

The FQDN-object is only used

The FQDN-object is only used to populate the ACL with ACEs that have the corresponding IP(s) as the destination. These Lines have the relevant hitcounts. On the log, you also have to search for the real IP which would be 173.194.67.109 in your example.

-- Don't stop after you've improved your network! Improve the world by lending money to the working poor: http://www.kiva.org/invitedby/karsteni
2 REPLIES
VIP Purple

The FQDN-object is only used

The FQDN-object is only used to populate the ACL with ACEs that have the corresponding IP(s) as the destination. These Lines have the relevant hitcounts. On the log, you also have to search for the real IP which would be 173.194.67.109 in your example.

-- Don't stop after you've improved your network! Improve the world by lending money to the working poor: http://www.kiva.org/invitedby/karsteni
New Member

Thanks for your answer.I'm

Thanks for your answer.

I'm facing some problems anyway, I have two firewalls and same dns server,

the first one ASA:

fw-asa1/pri/act# sh dns host pop.gmail.com
Name: pop.gmail.com
  Address: 173.194.66.109                                TTL 11:35:28
  Address: 173.194.66.108                                TTL 11:35:28
  Address: 173.194.78.108                                TTL 03:48:47
  Address: 173.194.78.109                                TTL 03:48:47

 

..while the second one ASA:

fw-asa2/pri/act# sh dns host pop.gmail.com
Name: pop.gmail.com
  Address: 173.194.66.109                                TTL 11:35:34
  Address: 173.194.66.108                                TTL 11:35:34
  Address: 173.194.78.108                                TTL 10:44:28
  Address: 173.194.78.109                                TTL 10:44:28
  Address: 173.194.67.109                                TTL 10:49:28
  Address: 173.194.67.108                                TTL 10:49:28

 

I cant understand the reason why they have different entries. Sometimes something is missing so traffic to pop.gmail.com is blocked. Server which has to connect by pop to gmail pop server is targeting pop.gmail.com resolving it through the same dns server used by ASA. Do I have to work with timers (I've changed expire timeout to 12 hours but there are still some missed entries sometimes)? Don't really know.

258
Views
0
Helpful
2
Replies