Clear DNS

Operating Systems

Windows

XP, 2000, VISTA, 7, 8, 8.1, 10

Open a Command Prompt with Administrative Privileges and type

<clippy>ipconfig /flushdns</clippy>

MAC OS

10.10

Open a Terminal and type

<clippy>sudo discoveryutil mdnsflushcache</clippy>
<clippy>sudo dscacheutil -flushcache</clippy>

10.7, 10.8, 10.9

Open a Terminal and type

<clippy>sudo killall -HUP mDNSResponder</clippy>
<clippy>sudo dscacheutil -flushcache</clippy>

10.5, 10.6

Open a Terminal and type

<clippy>sudo dscacheutil -flushcache</clippy>

10.4 and earlier

Open a Terminal and type

<clippy>sudo dscacheutil -flushcache</clippy>

Linux

nscd

Open a Terminal and type

Restart service	service nscd restart	<clippy>service nscd restart</clippy>
Reload Service	service nscd reload	<clippy>service nscd reload</clippy>

dnsmasq

Open a Terminal and type

Restart service	service dnsmasq restart	<clippy>service dnsmasq restart</clippy>

BIND

Open a Terminal and type

Restart service	rndc restart	<clippy>rndc restart</clippy>
Flash specific domain	rndc flushname domain.tld	<clippy>rndc flushname </clippy>
Flash view (LAN)	rndc flush lan	<clippy>rndc flush lan</clippy>

Routers

CISCO

IOS

Switch to enable mode

Clear specific domain	clear host domain.tld	<clippy>clear host </clippy>
Clear all domains	clear host *	<clippy>clear host *</clippy>

Juniper

JunOS

Clear all domains	clear dns	<clippy>clear dns</clippy>
Clear specific domain	clear security dns-cache domain.tld	<clippy>clear security dns-cache </clippy>

FritzBox

Enable Telnet mode by dialing: #96*7* <clippy>#96*7*</clippy> Connect with a telnet client to the router and type

Stop DNS Service	multid -s	<clippy>multid -s</clippy>
Start DNS Service	multid	<clippy>multid</clippy>