hosts-Datei in den Originalzustand versetzen

Die hosts-Datei ist wichtig, wenn es um die Umleitung von Adressen geht. Damit kann man einfach Domains auf andere IP-Adressen lenken oder umgekehrt.

Doch was macht man, wenn man in dieser Datei falsche Angaben gemacht hat? Auch kann es sein, dass durch Schadsoftware Änderungen gemacht wurden, die man natürlich wieder rückgängig machen sollte. Oft weiß man aber gar nicht mehr, wie die Datei im Originalzustand aussah.

Aus diesem Grund sind hier nun die Inhalte der Datei aufgelistet, wie sie standardmäßig vorhanden sind.

Windows 7 und später

# Copyright (c) 1993-2006 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
# localhost name resolution is handle within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost

Windows Vista und Windows Server 2008

# Copyright (c) 1993-2006 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

127.0.0.1 localhost
::1 localhost

Windows XP und Windows Server 2003

# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

127.0.0.1 localhost

Die Datei befindet sich normalerweise unter folgendem Pfad:

32-Bit:
%windir%\System32\drivers\etc\

Bei manchen 64-Bit Systemen:
%windir%\SysWOW64\drivers\etc\

Geöffnet werden kann sie mit jedem handelsüblichen Editor, z. B. mit Notepad.

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.