windows 10 hosts file add ip code example Example: driver hosts file C:\Windows\System32\Drivers\etc\hosts