lla Flush DNS Plugin
August 16, 2026 ยท View on GitHub
DNS cache flushing plugin for lla with history tracking and cross-platform support.
Features
- Cross-Platform: Works on macOS, Linux, and Windows
- History Tracking: Track all flush operations with timestamps
- Confirmation Prompts: Optional confirmation before flushing
- Statistics: View flush history and success rates
Usage
# Flush DNS cache
lla plugin run flush_dns flush
# View flush history
lla plugin run flush_dns history
# Clear history
lla plugin run flush_dns clear-history
# Configure preferences
lla plugin run flush_dns preferences
# Show help
lla plugin run flush_dns help
Configuration
Config location: ~/.config/lla/plugins/flush_dns/config.toml
confirm_before_flush = true # Show confirmation prompt
show_verbose_output = true # Display command output
max_history_size = 50 # Maximum history entries
[colors]
success = "bright_green"
info = "bright_cyan"
warning = "bright_yellow"
error = "bright_red"
Display Examples
Flushing DNS:
โน Info: Flushing DNS cache on macOS...
โ Success: DNS cache flushed successfully!
History View:
๐ DNS Flush History:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ 2025-10-20 16:30:45 [macOS] Success
โ 2025-10-20 15:20:30 [macOS] Success
โ 2025-10-20 14:15:22 [macOS] Failed
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ Statistics:
โข Total flushes: 25
โข Successful: 24
โข Failed: 1
Platform Commands
- macOS:
sudo dscacheutil -flushcache && sudo killall -HUP mDNSResponder - Linux:
sudo systemd-resolve --flush-cachesorsudo systemctl restart nscd - Windows:
ipconfig /flushdns