{{howhard>1}} ====== Clear DNS ====== ===== Operating Systems ===== ==== Windows ==== === XP, 2000, VISTA, 7, 8, 8.1, 10, 11 === Open a Command Prompt with Administrative Privileges and type * ipconfig /flushdns ==== MAC OS ==== === 10.10 === Open a Terminal and type * sudo discoveryutil mdnsflushcache * sudo dscacheutil -flushcache === 10.7, 10.8, 10.9 === Open a Terminal and type * sudo killall -HUP mDNSResponder * sudo dscacheutil -flushcache === 10.2, 10.3, 10.4, 10.5, 10.6 === Open a Terminal and type * sudo dscacheutil -flushcache ==== Linux ==== === systemd === Open a Terminal and type * resolvectl flush-caches === nscd === Open a Terminal and type * Restart service service nscd restart * Reload Service service nscd reload === dnsmasq === Open a Terminal and type * Restart service service dnsmasq restart === BIND === Open a Terminal and type * Restart service rndc restart * Flash specific domain rndc flushname domain.tld * Flash view (LAN) rndc flush lan ===== Routers ===== ==== CISCO ==== === IOS === Switch to enable mode * Clear specific domain clear host domain.tld * Clear all domains clear host * ==== Juniper ==== === JunOS === * Clear all domains clear dns * Clear specific domain clear security dns-cache domain.tld ==== FritzBox ==== The latest versions of the firmware do not allow for telnet, in those cases a router restart is required Enable Telnet mode by dialing: #96*7* Connect with a telnet client to the router and type * Stop DNS Service multid -s * Start DNS Service multid ===== Other Hardware ===== ==== Synology ==== === DSM 6 === As a root user use the following to restart named. synoservice --restart pkgctl-DNSServer === DSM 7 === As a root user use the following to restart named. systemctl restart pkgctl-DNSServer.service ===== Web Browsers ===== ==== Google Chrome ==== Visit the following URL chrome://net-internals/#dns In the page click on the Clear host cache button. ==== Microsoft Edge ==== Visit the following URL edge://net-internals/#dns In the page click on the Clear host cache button.