C:\WINDOWS\system32\drivers\etc>type hosts
# 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
127.0.0.2 *.platinumantivir.com
127.0.0.3 myantivir.com
www.myantivir.com
C:\WINDOWS\system32\drivers\etc>ping -n 1 platinumantivir.com
Ping request could not find host platinumantivir.com. Please check the name and try again.
C:\WINDOWS\system32\drivers\etc>ping -n 1
www.platinumantivir.com
Ping request could not find host
www.platinumantivir.com. Please check the name and try again.
C:\WINDOWS\system32\drivers\etc>ping -n 1
www.myantivir.com
Pinging myantivir.com [127.0.0.3] with 32 bytes of data:
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Ping statistics for 127.0.0.3:
Packets: Sent = 1, Received = 1, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
C:\WINDOWS\system32\drivers\etc>ping -n 1 myantivir.com
Pinging myantivir.com [127.0.0.3] with 32 bytes of data:
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Ping statistics for 127.0.0.3:
Packets: Sent = 1, Received = 1, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
C:\WINDOWS\system32\drivers\etc>