@echo off
:: See https://ss64.com/nt/delayedexpansion.html
setlocal enabledelayedexpansion

ipconfig /renew

netsh advfirewall firewall delete rule name="Block DNS UDP 53 (All)" dir=out
netsh advfirewall firewall delete rule name="Block DNS TCP 53 (All)" dir=out

echo OK
exit /b 0