P
pcmangler2000
Hi,
I can't see a way to use NETSH to set the alternate DNS server
address. I currently use a batch file to reconfigure my work laptop
for use at home thus:-
"netsh interface ip set address "Local Area Connection" static
192.168.1.4 255.255.255.0 192.168.1.1 1
netsh interface ip set dns "Local Area Connection" static 192.168.1.1"
This works ok, giving me an IP of 192.168.1.4, subnet 255.255.255.0,
gateway 192.168.1.1 and DNS 192.168.1.1
But... my router/DNS box at 192.168.1.1 doesn't always behave with
it's DNS cache so I wanted to add my ISP's one as an alternate, but
fot the life of me can't see how to do this using NETSH.
Any takers ?
Cheers,
Kev.
I can't see a way to use NETSH to set the alternate DNS server
address. I currently use a batch file to reconfigure my work laptop
for use at home thus:-
"netsh interface ip set address "Local Area Connection" static
192.168.1.4 255.255.255.0 192.168.1.1 1
netsh interface ip set dns "Local Area Connection" static 192.168.1.1"
This works ok, giving me an IP of 192.168.1.4, subnet 255.255.255.0,
gateway 192.168.1.1 and DNS 192.168.1.1
But... my router/DNS box at 192.168.1.1 doesn't always behave with
it's DNS cache so I wanted to add my ISP's one as an alternate, but
fot the life of me can't see how to do this using NETSH.
Any takers ?
Cheers,
Kev.