So bereinigen Sie Ihren DNS-Cache auf Mac, Windows, Linux und Chrome

- macOS
- Windows 
- Linux
- Google Chrome

macOS

To clear the DNS cache on a Mac, you’ll need to open the native command-line interface known as Terminal and run the appropriate command. This process varies based on which version of macOS you’re running.

If you’re not sure what version you’re working with, click on the ‘apple’ icon in the top-left corner of your desktop, and select About This Mac:

Screen_Shot_2022-03-01_am_14.02.05.png

Ihre aktuelle Version wird als erste Information aufgelistet:

Screen_Shot_2022-03-01_am_14.03.39.png

Sobald Sie diese Informationen kennen, können Sie die entsprechenden Schritte unten ausführen.

- macOS El Capitan (10.11), Sierra (10.12), High Sierra (10.13), Mojave (10.14) und Catalina (10.15)

If you’re working on macOS version 10.11 or above, open the command line interface by clicking on Go > Utilities: 

Screen_Shot_2022-03-01_am_14.06.47.png

Then, select Terminal. Once it opens, run the following command:

sudo killall -HUP mDNSResponder

Sie werden aufgefordert, Ihr Computerkennwort einzugeben:

Screen_Shot_2022-03-01_at_14.12.24.png

Danach sollte Ihr DNS-Cache leer sein.

- macOS Yosemite (10.10)

You can access Terminal by the same method described above for any macOS version. In Yosemite (10.10), once the window opens you’ll need to run the following command:

sudo discoveryutil udnsflushcaches

Geben Sie das Passwort Ihres Computers ein und der DNS-Cache sollte erfolgreich geleert werden.

- macOS Lion (10.7), Mountain Lion (10.8) und Mavericks (10.9)

Öffnen Sie für die macOS-Versionen 10.7 bis 10.9 das Terminal und führen Sie den folgenden Befehl aus, um Ihren DNS-Cache zu löschen:

sudo killall -HUP mDNSResponder

You may notice that this is the same command used by versions 10.11 and above. Enter your password to execute it.

- macOS Schneeleopard (10.6)

Wenn Sie macOS Snow Leopard (10.6) ausführen, öffnen Sie Terminal und geben Sie diesen Befehl ein:

sudo dscacheutil -flushcache

Geben Sie dann Ihr Passwort ein, um das Löschen des DNS-Cache abzuschließen.

- macOS-Leopard (10.5)

Schließlich sollten Benutzer von macOS Leopard (10.5) den folgenden Befehl im Terminal ausführen:

sudo lookupd -flushcache

Sobald Sie Ihr Passwort eingegeben haben, sollte der DNS-Cache geleert werden.

Clearing your DNS cache is also the solution for fixing the ERR_SPDY_PROTOCOL_ERROR.

 

WINDOWS

Flushing your DNS cache on a Windows computer is fairly simple. Here’s how to accomplish this task on Windows 10, 8, 7, and XP.

- Windows 10

To clear your DNS cache on a Windows OS, you’ll need to open Command Prompt, the system’s command line interface. You can access this program in Windows 10 by clicking on the Start button. Then navigate to Windows Systems > Command Prompt:

 

Eingabeaufforderung-1.png

Sobald die Befehlszeilenschnittstelle geöffnet ist, geben Sie die folgende Zeile ein:

ipconfig /flushdns

Dieser Befehl sollte eine Bestätigung zurückgeben, dass der DNS-Cache erfolgreich geleert wurde:

Erfolgsmeldung.png

Sie können dann das Eingabeaufforderungsfenster schließen.

- Windows 8

Clearing your DNS cache in older versions of Windows requires the same command ipconfig /flushdns. However, the steps for accessing Command Prompt are slightly different between versions.

In Windows 8, open the Apps screen. On the far right side, find Windows Systems and select Command Prompt.

Once the program opens, run ipconfig /flushdns. You should receive a confirmation once the DNS cache has been cleared successfully.

- Windows 7 und Windows XP

In Windows 7 or Windows XP, click on the Start button. Navigate to All Programs > Accessories and select Command Prompt.

In the command line interface, run ipconfig /flushdns. You should receive a confirmation message once the DNS cache is flushed.

 

LINUX

Flushing your DNS cache on Linux machines is fairly similar to the process of doing so on a Mac or Windows computer. Here’s how.

-Ubuntu

Linux uses Terminal as its command line interface, just like macOS. To open it, click on Activities in the top-left corner of your desktop This will provide you with a search bar, where you can enter “terminal” to find and launch the program.

Sobald die Befehlszeilenschnittstelle geöffnet ist, führen Sie diesen Befehl aus:

sudo systemd-resolve --flush-caches

Terminal will then prompt you for your password. Enter it to finish executing the command and flushing your DNS cache.

- Andere Distributionen

Wenn Sie eine andere Linux-Distribution als Ubuntu verwenden, können Sie Ihren DNS-Cache leeren, indem Sie Ihre Befehlszeilenschnittstelle öffnen und diesen Befehl ausführen:

sudo /etc/init.d/dns-clean start

Sobald der Befehl ausgeführt wurde, sollte Ihr Cache leer sein.

 

GOOGLE CHROME 

Finally, as we mentioned at the beginning of this post, you may have cause to clear your browser’s DNS cache rather than your OS’s. In Google Chrome, you can do so by entering the following into the address bar:

chrome://net-internals/#dns

Then click on the Clear host cache button:

Screen_Shot_2022-03-01_at_14.59.54.png

Dies sollte den DNS-Cache von Chrome für Sie leeren.

War dieser Beitrag hilfreich?
3 von 3 fanden dies hilfreich

Kommentare

0 Kommentare

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.