VDJPedia

快速登录:  


 checking_hosts_file

Checking Your Hosts File



Altered hosts files may prevent vdj validating your licence. The hosts file is a system file that can override DNS and redirect URLs or IP addresses to different locations. A typical home internet user will not have a modified hosts file.

Note: If your hosts file was modified, run a virus scan. Viruses and malware can modify the hosts file to try to redirect your computer to malicious websites.

Checking for Modifications


Windows

Press Windows Key + R.
Type %WinDir%\System32\Drivers\Etc into the Run window and click OK.
Open the hosts file with a text editor such as Notepad. Hosts will not have a file extension.
Compare your hosts file with the Microsoft defaults listed below. If yours is different, it has been modified. Remove any lines that contain virtualdj URLs or addresses.
Save the file.

Resetting the Hosts File to Microsoft Defaults

To reset the Hosts file back to the default, follow these steps:

Press Windows Key + R.
Type notepad into the Run window.
Click OK.
Copy the following text to the Notepad window:

# 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

On the File menu, select Save as, type "hosts" (including the quotation marks) in the File name box, and then save the file to the desktop.
Press Windows Key + R again.
Type %WinDir%\System32\Drivers\Etc into the Run window and click OK.
Rename the Hosts file to "Hosts.old".
Copy or move the Hosts file that you created from your desktop to the %WinDir%\System32\Drivers\Etc folder. If you are prompted to enter an administrator password, select Continue.




Mac

1. Launch the macOS Terminal application.
2. Go to the Finder, then Click Go.
3. Click Utilities.
4. Double-click Terminal to launch the Terminal window.
5. Now, enter the following command: sudo nano /etc/hosts
6. Then, enter the sudo password for your user to allow edit access to the file.
7. Delete any lines that reference virtualdj
8. Next, press Control+O to overwrite the existing file, then press Enter to confirm the overwriting. This saves the changes to the file.
9. Now, press Control+X to exit the nano editor.