cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
928
Views
5
Helpful
2
Replies

DNS ACL Structure

DanH3
Level 1
Level 1

Hello, Can you tell me the difference between these two ACL statements? Usually the port is after the destination address but I've seen examples of DNS ACLs with the port in between the source and destination. Are DNS ACLs the only ACLs that can be structured this way? Thank you.

 

access-list 112 permit tcp any any eq domain
access-list 112 permit tcp any eq domain any

1 Accepted Solution

Accepted Solutions

johnd2310
Level 8
Level 8

Hi,

The first entry permits tcp traffic from any source to any destination port 53. The second entry permits tcp from any source on port 53 to any destination

This is very common in access list when you want to specify source or destination addresses. If you want to be more granular you can specify source ip address source port and destination ip destination port

e.g.

access-list 112 permit tcp any eq domain any eq domain

 

Thanks

John

**Please rate posts you find helpful**

View solution in original post

2 Replies 2

johnd2310
Level 8
Level 8

Hi,

The first entry permits tcp traffic from any source to any destination port 53. The second entry permits tcp from any source on port 53 to any destination

This is very common in access list when you want to specify source or destination addresses. If you want to be more granular you can specify source ip address source port and destination ip destination port

e.g.

access-list 112 permit tcp any eq domain any eq domain

 

Thanks

John

**Please rate posts you find helpful**

Thank you John.

-Dan