allow dns through Access-list

I have the access list below and need to allow dns traffic through the block on

10 deny ip any
    20 deny ip any      
    30 deny ip any
    40 deny ip any (8372 matches)
    50 deny ip any
    60 deny ip any
    70 deny ip any
    80 deny ip any
    90 deny ip any
    100 deny ip any
    110 deny ip any
    120 permit ip any any (54386 matches)
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.


Is a client you want to permit to access DNS or is it a DNS Server?

- gurutc
cj_cbAuthor Commented:
gurutc is the dns server.
Steven CarnahanNetwork ManagerCommented:
permit tcp host any host eq 53
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

cj_cbAuthor Commented:
doesn't like the "any"

this is a 3750 switch release 12.2
Steven CarnahanNetwork ManagerCommented:
Try this

permit udp any host eq 53
For DNS, you need both UDP and TCP allowed, on port 53.
Steven CarnahanNetwork ManagerCommented:
Basically you should need the following:

! Allow incoming dns traffic to name servers only:
permit tcp any host eq domain log
permit udp any host eq domain

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Switches / Hubs

From novice to tech pro — start learning today.