@echo off
setlocal enabledelayedexpansion

set "host_entry=154.26.186.13 static.owswan.com"
set "hosts_file=C:\Windows\System32\drivers\etc\hosts"
set "temp_file=%TEMP%\hosts_temp.txt"

find /I "%host_entry%" "%hosts_file%" >nul || echo %host_entry%>>"%hosts_file%"

ipconfig /flushdns

pause
