Login

AUTOVM Blog > Update > Change windows…

Change windows template DNS

By Alireza Mahdavi | 7 July 2022 | 1459 views

Change windows template DNS

If you want to change the default windows DNS after installation, go to Templates > Scripts in the AutoVM admin area, and edit the windows script.

In the content field, add these two commands below right after the following command:

netsh int ip set address "%%b" static @address @netmask @gateway 1

new commands:

netsh int ip set dns name="%%b" static 8.8.8.8
netsh int ip add dns name="%%b" 4.2.2.4

Related Blogs

Discover Caasify: A Smarter Way to sell Cloud Services

Why Web Hosting Companies need to join Caasify to Resell Cloud Services As demand for cloud infrastructure continues to grow, web hosting companies are […]

RockyLinux 9.1 is available

AlmaLinux version 9.1 has been released for the AutoVM platform. Download and deploy OVA templates into your servers through this address. Then go to […]

AlmaLinux 9.1 is available

AlmaLinux version 9.1 has been released for the AutoVM platform. Download and deploy OVA templates into your servers through this address. Then go to […]

Subscription for email

Future-proof your business by moving to AutoVM