Solved

Cisco 1721 access-list and dns

Posted on 2006-10-19
8
309 Views
Last Modified: 2008-02-01
ACCESS LIST:
access-list 100 permit tcp any xx.xx.xx.xx28 0.0.0.127 established
access-list 100 permit tcp any host xx.xx.xx.xx31 eq www
access-list 100 permit tcp any host xx.xx.xx.xx31 eq 443
access-list 100 permit tcp any host xx.xx.xx.xx31 eq 990
access-list 100 permit tcp any host xx.xx.xx.xx31 eq ftp
access-list 100 permit tcp any host xx.xx.xx.xx31 eq pop3
access-list 100 permit tcp any host xx.xx.xx.xx31 eq smtp

access-list 100 permit tcp any host xx.xx.xx.xx32 eq 1433
access-list 100 permit tcp any host xx.xx.xx.xx32 eq 6000

access-list 100 permit udp any eq domain host xx.xx.xx.xx80
access-list 100 permit udp any host xx.xx.xx.xx80 eq domain
access-list 100 permit tcp any host xx.xx.xx.xx80 eq domain

access-list 100 permit tcp any host xx.xx.xx.xx80 eq www
access-list 100 permit tcp any host xx.xx.xx.xx80 eq pop3
access-list 100 permit tcp any host xx.xx.xx.xx80 eq smtp
access-list 100 permit icmp any any


access-list 100 permit 47 any any
access-list 100 permit udp any any eq 4500
access-list 100 permit udp any any eq 500
access-list 100 permit tcp any any eq 50
access-list 100 permit esp any any
access-list 100 permit tcp any any eq 20
access-list 100 permit tcp any host xx.xx.xx.xx31 range 2900 3000

access-list 100 permit tcp any host xx.xx.xx.xx33 eq 3389

access-list 100 permit tcp any host xx.xx.xx.xx80 eq 6001
access-list 100 permit tcp any host xx.xx.xx.xx80 eq 6002
access-list 100 permit tcp any host xx.xx.xx.xx80 eq 6004
access-list 100 permit tcp any host xx.xx.xx.xx80 eq 443


access-list 100 permit udp any host xx.xx.xx.xx30 eq domain
access-list 100 permit tcp any host xx.xx.xx.xx30 eq domain



access-list 100 permit tcp any host xx.xx.xx.xx33 eq 1723
____
xx.xx.xx.xx80 and xx.xx.xx.xx30 are both DNS servers.  However, 30 is failing unless I kill the entire access-list.  Not very fluent in Cisco.  I know port 53 is typically for DNS but when I do "access-list 100 permit udp any host xx.xx.xx.xx30 eq 53" it seems to look at that as the same as "access-list 100 permit udp any host xx.xx.xx.xx30 eq domain".  So I would think that it should be working as is.  It only functions when the entire list is killed - so I must be missing something.
Thank you.
0
Comment
Question by:bingboo
  • 4
  • 2
8 Comments
 
LVL 79

Expert Comment

by:lrmoore
Comment Utility
Can you be more descriptive in how you are making these changes, and where this acl is applied?

Cut/paste all of existing acl 100 into Notepad
Edit to place the new acl entries in the correct order (before any deny)

Example:
\\-- remove from interface
interface serial 0/0
  no access-group 100 in

\\-- delete acl
no access-list 100

\\-- re-create acl from top down
<paste edited acl 100>

\\-- re-apply to the interface
interface serial 0/0
  access-group 100 in

permit udp any host x.x.x.x eq 53  
\\-- is exactly same as, and will show in config as:
permit udp any host x.x.x.x eq domain
0
 

Author Comment

by:bingboo
Comment Utility
WAN interface.
That is complete ACL.
Everything functions perfectly with this ACL except DNS for server ending .X30 <-- which does work only if I remove the entire ACL
0
 

Author Comment

by:bingboo
Comment Utility
Could this be the cause:
access-list 100 permit udp any eq domain host xx.xx.xx.xx80

The reason why I ask this is because originally .x30 was the primary AD/DNS server - it went down for several weeks and was replaced with .x80 for AD/DNS, etc. The only way I could get .x80 to service requests was to change the above line in ACL.  Doing so, however seems to have killed .x30 ability to service dns requests.

what is function of:
access-list 100 permit udp any eq domain host xx.xx.xx.xx80
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

Author Comment

by:bingboo
Comment Utility
PLEASE DELETE QUESTION
0
 
LVL 79

Expert Comment

by:lrmoore
Comment Utility
Did you find a solution?
0
 

Author Comment

by:bingboo
Comment Utility
I added:
access-list 100 permit UDP HOST <internet provider dns server ip address>  eq domain any gt 1023
This works however, I am concerned that I might have just placed a patch on a larger problem as I did not have to enter this into the access list when I only had one DNS server.
Thoughts?
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
Comment Utility
PAQed with points refunded (125)

Computer101
EE Admin
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

While it is possible to put two routes in place with the secondary having a higher metric, this may not always work. In the event of a failure that does not bring down the physical interface on the router the primary route is not removed. There is a…
Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now