🧰 AutoHotkey v2

Flush DNS Hotkey

Ctrl+Alt+D runs ipconfig /flushdns in the background and shows a tooltip confirmation, no console window needed.

By WindowsScripting.com · 450 B
FlushDnsHotkey.ahk
; ============================================================
; FlushDnsHotkey.ahk
;
; Ctrl+Alt+D flushes the DNS resolver cache silently and shows a
; confirmation tooltip.
;
; Requirements: AutoHotkey v2 (https://www.autohotkey.com/)
; ============================================================

#Requires AutoHotkey v2.0

^!d::{
    RunWait('ipconfig /flushdns', , "Hide")
    ToolTip("DNS cache flushed")
    SetTimer(() => ToolTip(), -1500)
}