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
network:clear_dns [2016/12/25 10:57]
eServices Greece
network:clear_dns [2021/11/19 23:52] (current)
eServices Greece
Line 1: Line 1:
-====== Clear DNS ====== 
 {{howhard>1}} {{howhard>1}}
 +====== Clear DNS ======
 ===== Operating Systems ===== ===== Operating Systems =====
 ==== Windows ==== ==== Windows ====
-=== XP, 2000, VISTA, 7, 8, 8.1, 10 ===+=== XP, 2000, VISTA, 7, 8, 8.1, 10, 11 ===
 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> |+
  
 ==== MAC OS ==== ==== MAC OS ====
 === 10.10 === === 10.10 ===
 Open a Terminal and type Open a Terminal and type
-^ ^ + 
-<sxh>sudo discoveryutil mdnsflushcache</sxh> | +  <sxh>sudo discoveryutil mdnsflushcache</sxh> 
-<sxh>sudo dscacheutil -flushcache</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> | +  <sxh>sudo dscacheutil -flushcache</sxh>
-<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> +
- +
-=== 10.4 and earlier === +
-Open a Terminal and type +
-^ ^ +
-| <sxh>sudo dscacheutil -flushcache</sxh> |+
  
 ==== 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 | +  Reload Service <sxh>service nscd reload</sxh>
-Reload Service service nscd reload |+
  
 === dnsmasq === === dnsmasq ===
 Open a Terminal and type Open a Terminal and type
-^ ^ ^ +  * Restart service <sxh> service dnsmasq restart</sxh>
-Restart service service dnsmasq restart |+
  
 === BIND === === BIND ===
 Open a Terminal and type Open a Terminal and type
-^ ^ ^ +  * Restart service <sxh>rndc restart</sxh> 
-Restart service rndc restart | +  Flash specific domain <sxh>rndc flushname domain.tld</sxh> 
-Flash specific domain rndc flushname domain.tld | +  Flash view (LAN) <sxh>rndc flush lan</sxh>
-Flash view (LAN) rndc flush lan |+
  
 ===== Routers ===== ===== Routers =====
Line 56: Line 49:
 === IOS === === IOS ===
 Switch to enable mode Switch to enable mode
-^ ^ ^ +  * Clear specific domain <sxh>clear host domain.tld</sxh> 
-Clear specific domain clear host domain.tld | +  Clear all domains <sxh>clear host *</sxh>
-Clear all domains clear host * |+
  
 ==== Juniper ==== ==== Juniper ====
 === JunOS === === JunOS ===
-^ ^ ^ +  * Clear all domains <sxh>clear dns</sxh> 
-Clear all domains clear dns | +  Clear specific domain <sxh>clear security dns-cache domain.tld</sxh>
-Clear specific domain clear security dns-cache domain.tld |+
  
 ==== FritzBox ==== ==== FritzBox ====
Line 73: Line 64:
 Enable Telnet mode by dialing: #96*7* Enable Telnet mode by dialing: #96*7*
 Connect with a telnet client to the router and type Connect with a telnet client to the router and type
-^ ^ ^ +  * Stop DNS Service <sxh>multid -s</sxh> 
-Stop DNS Service multid -s | +  Start DNS Service <sxh>multid</sxh> 
-Start DNS Service multid |+ 
 +===== 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 ===== ===== Web Browsers =====
 ==== Google Chrome ==== ==== Google Chrome ====
 Visit the following URL Visit the following URL
-^ ^ ^ +<sxh>chrome://net-internals/#dns</sxh> 
-<sxh>chrome://net-internals/#dns</sxh> | chrome://net-internals/#dns |+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. In the page click on the Clear host cache button.