Avatar of IanTh
IanTh
Flag for United Kingdom of Great Britain and Northern Ireland asked on

dhcp for virtual machines

I have a question I have 3 esx hosts on 1 host I have a dc doing dns my router does dhcp

so I want my vm's to use the dc dns and all others use my router

what I do at the moment is give the vm a static dns 1st to my router and 2nd to my dc so over 1 they get out to the net and on 2nd they can do domain stuff as if I dont have the 2nd dns pointing to my dc I cannot join the vm's to the domain for instance

so how can I do this automatically
VMwareNetwork Architecture

Avatar of undefined
Last Comment
IanTh

8/22/2022 - Mon
SOLUTION
ltsweb

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
IanTh

ASKER
I was hoping to have a different dns setting inside the vm's only

the dc is not on most of the time its on my vsphere lab I am getting in to wds

what is the dns inside vmware for if I could just use 2nd dns ie dc in the esx host that would mean only the vm's using the dc dns
wouldn't that work?
SOLUTION
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
IanTh

ASKER
ee dns
so if I just use 192.168.1.202 my dc inside the host would that work
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

I do not know, what you are trying to achieve here?
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
IanTh

ASKER
just my vm are on the domain nothing else
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

use your DC DNS.
IanTh

ASKER
I dont get you ?
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
IanTh

ASKER
but when I build a new vm from wds wont it need to have the dc dns done manually then
ASKER CERTIFIED SOLUTION
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
IanTh

ASKER
actually couldn't that be done from wds to set dns and joinjom or is that always going to be manual step
SOLUTION
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
IanTh

ASKER
asking new question for thanks andy
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
IanTh

ASKER