How to Set Up a Specific DNS Server's IP Address on VM Environment

How to Set Up a Specific DNS Server's IP Address on VM Environment

Product Line:  VERDE

ISSUE:

An application the customer installs in their Gold image needs to have a direct pointer to their DNS server to work properly.

We do not provide an input field within the Netcfg import file to specify a DNS server.


SOLUTION:

This can be accomplished by a simple configuration within the Gold image that will override the default Verde DNS setting:  10.0.2.3

 

I tested this process with both a Windows 7 and Windows 10 Gold image.

I am showing the configuration steps below, using a Windows 7 Gold image.

 

Steps to configure a Static DNS Server within a Gold Image

I did a ‘Check-out’ of a Windows 7 Gold image and went to Control Panel – Network and Sharing Center.

I selected the LAN Interface for Verde NAT Network, since this is the default Network used when editing a Gold image.

I went to TCP/IP Properties and set a Static DNS server:  192.168.1.98  (This is my Windows 2016 Active Directory Server with DNS).



I did a ‘Shutdown’ and ‘Check-in’ of the Gold image.

I provisioned Active Directory Users with a Session Settings that has the NETWORK configured for Bridge and imported an Netcfg file with the required fields.


I logged in using my AD Credentials (jborsini@verde) and was able to see my Static IP address and Computer name in Live Sessions on the Management Console.

IP address:  192.168.1.245   Computer Name”  PCLabBr9



From within the Windows 7 virtual Desktop, I started a DOS Command shell and entered:  C:\nslookup

You can see this points to the default DNS server that was configured in the Gold image.




Here is the view of the DOS Command:  C:\ipconfig /all

Notice the Static DNS Server listed:   DNS Servers . . . . . . . . . . . . . . . . .  192.168.1.98



    • Related Articles

    • Windows Server VM Creation for Verde Servers In-a-Box

      Product Line:  VERDE In order to support a one-system/all in one setup, VERDE supports building a Windows Domain/Active Directory server as a Virtual Machine (VM) within the VERDE system's own Gold Image Collection. The following Knowledge Base ...
    • Modifying VERDEOS Server IP Address As of 8.2.7/16500

      Product Line:  VERDE The following instructions will walk you through changing the IP Address of your VERDEOS server.  Ensure all images are shutdown.  From the server (not putty/ssh): ·         Access the VERDE-menu (/usr/lib/verde/bin/verde-menu) ...
    • How to Change the VERDE (rpm) Server's IP Address

      Product Line:  VERDE You may need to modify the IP Address of your VERDE server specific to the RPM install version. Following are the steps to perform: Ensure all Sessions are shutdown Ensure all Gold Images are checked in Modify the target NIC file ...
    • NComputing Management Portal IP Address

      NComputing Management Portal IP Address This article is for customers looking for the port and IP address to configure security settings for access within their network environment. https port 443 Hostname  manage.ncomputing.com
    • Remote Desktop IP Virtualization configuration (with vSpace Pro): using Windows Server 2008 R2, 2012 and 2016

      This article is for IT Administrators looking to enable IP virtualization in their environment for 3rd party network software compatibility. In a Multiuser environment with NComputing, all sessions are coming for the same operating system, therefore ...