How to Block Websites Using Microsoft DNS

Domain name system (DNS) is a part of the Internet protocol that translates computer or website names to their IP addresses. Microsoft Windows has a special configuration network file named "hosts." To block a website access it is sufficient to add a simple command to that system file. Website blocking allows you to restrict access to inappropriate Internet pages or malignant sites that attempt to install spyware or viruses on your computer.

Instructions

    • 1

      Log in to the administrator account in Windows Vista/XP and click the "Start" button in the lower left corner of the screen.

    • 2

      Click "All Programs" and open the folder "Accessories." Click "Notepad" to launch the text editor.

    • 3

      Click the menu "File" In Notepad and then choose "Open." Browse to the folder "C:\Windows\System32\Drivers\etc" on your computer.

    • 4

      Type "hosts" in the field "File name" and click "Open." The content of the file "hosts" will appear in the editor window.

    • 5

      Go to the end of the "hosts" file using the arrow or "PgDn" keys on the keyboard.

    • 6

      Add the following line at the end of the file:
      "127.0.0.1 website address"
      For instance, "127.0.0.1 www.ddd.ord."

    • 7

      Repeat Step 6 to add other websites you need to block.

    • 8

      Click the menu "File" and "Save" to save the "hosts" file. Then click "File" and "Exit" to close Notepad.

    • 9

      Click the "Start" button in the lower left corner of the screen.
      In Windows Vista, choose "Restart."
      In Windows XP, click "Turn off Computer" and then "Restart."

Related Searches:

References

Comments

You May Also Like

Related Ads

Featured