GitHunt
SF

sfc9982/dig4cisco

A dig command for Cisco IOS

dig4cisco

A dig command for Cisco IOS

How to use

  1. Copy the dig.tcl into the CompactFlash card (or other flash)
  2. Use dir command to carefully check the filename (sometimes Cisco IOS recognize the filename as Upper-case)
  3. configure terminal alias exec dig tclsh flash:<FILENAME>
  4. Now the alias is binded in exec mode, if you want to bind more, use alias configure dig tclsh flash:<FILENAME> alias interface dig tclsh flash:<FILENAME>
  5. Use dig 8.8.8.8 and dig dns.google now and see the result!

Requirement

  • Cisco IOS 12.4 +
  • Access to flash or other storage

Release

Download

Languages

Tcl100.0%

Contributors

Other
Created February 24, 2022
Updated February 27, 2026