@ECHO OFF
TITLE Batch Command to Change DNS
:retry
ECHO Welcome girl!
SET /P no= So do what you want! press 1 for Google DNS, 2 for Cloudflare DNS, 3 for Automatic Dynamic DNS :
IF "%no%"=="1" GOTO Google DNS
IF "%no%"=="2" GOTO Cloudflare DNS
IF "%no%"=="3" GOTO Automatic Dynamic DNS
exit /b 0
:Google DNS
netsh interface ip set dns "WiFi" dhcp
netsh interface ip add dns name="WiFi" addr=8.8.8.8
netsh interface ip add dns name="WiFi" addr=8.8.4.4 index=2
pause
exit /b 0
:Cloudflare DNS
netsh interface ip set dns "WiFi" dhcp
netsh interface ip add dns name="WiFi" addr=1.1.1.1
netsh interface ip add dns name="WiFi" addr=1.0.0.1 index=2
pause
exit /b 0
:Automatic Dynamic DNS
rem netsh interface ip set address "WiFi" dhcp
netsh interface ip set dns "WiFi" dhcp
pause
Batch Command to Change DNS
Save the code below and paste in Notepad and save to .bat