Menu
Newbedev LogoNEWBEDEV Python Javascript Linux Cheat sheet
Newbedev LogoNEWBEDEV
  • Python 1
  • Javascript
  • Linux
  • Cheat sheet
  • Contact

How to block external access to the DNS service running on a Cisco router?

!Deny DNS from Public 
 ip access-list extended ACL-IN_FROM-WAN
  remark allow OpenDNS lookups
  permit udp 208.67.222.222 0.0.0.0 any eq domain
  permit tcp 208.67.220.220 0.0.0.0 any eq domain
  remark deny all others and log the attempts
  deny   udp any any eq domain log
  deny   tcp any any eq domain log
  permit ip any any

! Apply to WAN interface
 int WAN
  ip access-group ACLIN-TO_WAN in

Tags:

Router

Cisco

Domain Name System

Access Control List

Related

How to replace permissions and everything inside with icacls on Windows Server 2012? RSA certificate configured for SERVER does NOT include an ID which matches the server name Is it possible to disable msiexec help GUI? Install only dependencies of a given package in Debian or Ubuntu (apt) LDAP: backup with slapcat vs ldapsearch Postfix - Host or domain not found Clear a permanent ZFS error in a healthy pool How do I know if a DLL is registered? Docker volume backup and restore Reliability of SSD vs HDD (Over large temperature variations) Redirect non-www requests to www on Amazon Route 53 Use nginx reverse proxy for redirection

Recent Posts

Pandas how to find column contains a certain value Recommended way to install multiple Python versions on Ubuntu 20.04 Build super fast web scraper with Python x100 than BeautifulSoup How to convert a SQL query result to a Pandas DataFrame in Python How to write a Pandas DataFrame to a .csv file in Python
© 2021 newbedevPrivacy Policy