Dns resolver to ACL of Vander Routers/Switchs

Description

dirrecly convert any domain to ip access-list(ipv4)


support muilt-vander cisco_xr,cisco_xe,cisco_nexus,huawei,mikrotik

Executing program

1- update config file (config.ini) with information


ipaddress = [ip address of Host]
username = [username of host]
password = [password of host]
osHost = [vander type (cisco_xr,cisco_xe,cisco_nexus,huawei,mikrotik)]
acl_name =[ACL of name will generate ]
acl_type =[ACL action (deny | permit)]
output_folder_name = [folder name wll be storage of output files]

2- execute a software with use Argument


--config : choose file of config (like config.ini)
--apply_on_host : for apply ACL to host dirreclty
example :
#python3 py-dns.py --config config.ini --apply_on_host

alt text


alt text
alt text

Help

Any advise for common problems or issues.

Authors

Contributors names and contact info

ex. Anas abdullkarim

Version History

View code on GitHub
  • Owner

  • Contributors

    +2Github contributors
  • Categories

  • Programming Languages

    Python
  • License

    MIT License

Code Exchange Community

Get help, share code, and collaborate with other developers in the Code Exchange community.View Community
Disclaimer:
Cisco provides Code Exchange for convenience and informational purposes only, with no support of any kind. This page contains information and links from third-party websites that are governed by their own separate terms. Reference to a project or contributor on this page does not imply any affiliation with or endorsement by Cisco.