Batch command to change DNS
cd\
netsh int ip set dns "local area connection" static 10।120.135.100 primary 'Add primary DNS
netsh int ip add dns "local area connection" 10.4.148.103 'Add secondary DNS
netsh int ip add dns "local area connection" 10.120.135.101 'Add additional DNS
netsh int ip set dns "local area connection" static 10।120.135.100 primary 'Add primary DNS
netsh int ip add dns "local area connection" 10.4.148.103 'Add secondary DNS
netsh int ip add dns "local area connection" 10.120.135.101 'Add additional DNS
Comments