I've added the a logon script for specific users so they have no access to the internet
@ECHO OFF
set vardns1=1.1.1.1
set vardns2=1.1.1.1
ECHO Setting Primary DNS
netsh int ip set dns name = "Local Area Connection" source = static addr = %vardns1%
ECHO Setting Secondary DNS
netsh int ip add dns name = "Local Area Connection" addr = %vardns2%
ipconfig /flushdns
exit
How do I put the DNS back to default, that is automatically assigned DNS when they logoff?