Link to home
Start Free TrialLog in
Avatar of IanTh
IanThFlag 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
SOLUTION
Avatar of ltsweb
ltsweb
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of 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
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of IanTh

ASKER

User generated image
so if I just use 192.168.1.202 my dc inside the host would that work
I do not know, what you are trying to achieve here?
Avatar of IanTh

ASKER

just my vm are on the domain nothing else
Avatar of IanTh

ASKER

I dont get you ?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of 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
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of 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
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of IanTh

ASKER

asking new question for thanks andy
Avatar of IanTh

ASKER