Adding a 3th dns ip via cmd

set vardns1=10.10.0.1
set vardns2=10.10.0.2
set vardns3=10.10.0.3


ECHO Setting Primary DNS
netsh int ip set dns name = "Ethernet 2" source = static addr = %vardns1%

ECHO Setting Secondary DNS
netsh int ip add dns name = "Ethernet 2" addr = %vardns2%
ECHO Setting Third DNS
netsh int ip add dns name = "Ethernet 2" addr = %vardns3%