We are using a Netscaler to load balance our DNS servers internally. This is a new change, so I am trying to update our DHCP scopes with the new IP addresses. We have over 200 scopes, so to do this I want to use netsh.
We are running in a Windows 2008R2 enviroment
The problem I am having is that it wants to verify the DNS server address first, and fails because it cannot due the fact that the IP is a Netscaler.
The VIP itself does work. We have tested by both setting our adapters manually, and manually configuring one of our test scopes. When you manually configure the DNS option on a DHCP scope you also get an error. But it allows you to continue with the change.
Is there a switch that I can use to prevent verification when using netsh?
do I need to create some type of DNS record for the VIP?
Here is the code i am using with the error.
for /f "tokens=1" %%a in (C:\script\cgy.txt) DO netsh DHCP server 184.108.40.206 scope %%a set optionvalue 006 ipaddress 220.127.116.11 18.104.22.168
Changed the current scope context to 22.214.171.124 scope.
Server 126.96.36.199 is not a valid DNS Server.
Server 188.8.131.52 is not a valid DNS Server.