Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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