Flush DNS

Linux, MacOSX, PC, Windows Soft! Commenta l'articolo

Come fare Flush DNS in Microsoft Windows

Si lancia il prompt dei comandi e si usa il comando:

C:>ipconfig /flushdns

Se bisogna cancellare spesso la cache del DNS allora consiglio di disabilitare il client-side DNS caching con i due comandi:

net stop dnscache
sc servername stop dnscache


La situazione torna nello stato precedente al riavvio del sistema.

Come fare Flush DNS in Mac OSX

In Mac OSX Leopard e successivi si lancia il Terminale e si usa il comando:

bash-2.05a$ dscacheutil -flushcache

Mentre in Mac 10.5.1 e precedenti il comando è:

bash-2.05a$ lookupd -flushcache

Come fare Flush DNS in Linux

In Linux il Flush del DNS si fa riavviando il demone nscd:

/etc/init.d/nscd restart

Aggiornamento (05/05/2015)
OSX 10.10

sudo discoveryutil udnsflushcaches

OSX 10.9

dscacheutil -flushcache; sudo killall -HUP mDNSResponder

Aggiornamento (02/01/2014)
Mountain Lion or Lion

sudo discoveryutil udnsflushcaches
If you are running Mac OS X 10.7 or 10.8, you need to do the following:

Open up the command terminal.
Run the command

 sudo killall -HUP mDNSResponder

Snow Leopard

If you are running Mac OS X 10.6, you need to do the following:

Open up a command terminal.
Run the command

dscacheutil -flushcache

Leopard and below

If you are running Mac OS X 10.5.1 or below, you need to do the following:

Open a command terminal.
Run the command

lookupd -flushcache

Scrivi un Commento

Home | Graffiti e Disegni | Educazione | Chi siamo | Blog | Progetti | Contatti
RSS Feed Comments RSS Accedi