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/08/05 17:56]
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 ===== ===== 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> | <clippy>sudo dscacheutil -flushcache</clippy> |+  <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>
-<sxh>sudo dscacheutil -flushcache</sxh> | <clippy>sudo dscacheutil -flushcache</clippy> |+
  
-=== 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>+
- +
-=== 10.4 and earlier === +
-Open a Terminal and type +
-^ ^ ^ +
-| <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 ===== ===== 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 | <clippy>clear host </clippy| +  Clear all domains <sxh>clear host *</sxh>
-Clear all domains | clear host * | <clippy>clear host *</clippy|+
  
 ==== Juniper ==== ==== Juniper ====
 === JunOS === === JunOS ===
-^ ^ ^ ^ +  * Clear all domains <sxh>clear dns</sxh
-Clear all domains | clear dns | <clippy>clear dns</clippy| +  Clear specific domain <sxh>clear security dns-cache domain.tld</sxh>
-Clear specific domain clear security dns-cache domain.tld | <clippy>clear security dns-cache </clippy|+
  
 ==== FritzBox ==== ==== FritzBox ====
Line 71: Line 62:
 </WRAP> </WRAP>
  
-Enable Telnet mode by dialing: #96*7* <clippy>#96*7*</clippy>+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 | <clippy>multid -s</clippy| +  Start DNS Service <sxh>multid</sxh> 
-Start DNS Service | multid | <clippy>multid</clippy|+ 
 +===== 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 | <clippy>chrome://net-internals/#dns</clippy> |+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.