Best practice: Scripted DNS registration for virtual machines with multiple NICs
hi technet,
i not deep dns , got research request 1 of colleagues:
we planning automated deployment of virtual machines , have following problem, regarding dns registration:
example:
we deploy single vm (lets call dummy) 2 nics, 1 our administrators anic(admin-nic / dhcp) , 1 users cnic(corporate-nic / dhcp).
the vm can access our dns through anic, automaticly register ip of it's anic, not cnic. or worst case: both!
the problem is: users can access vm through cnic.
if dns entry not available - or if can toggle between anic , cnic in dns, because of round-robin resolution multiple entries - our users go crazy.
is there way manualy (with script?) register cnic ip through anic connection?
possible questions side:
why don't use static dns entries? --> talking automated deployment , deletion of 100+ vms. want automate process , save time our administrators, not create more.
why don't give cnic access dns? --> corporate network security restrictions.
simply tell me when need more information or if isn't clear :)
best regards
alcesh
hi thealcesh,
check if understanding correct, have vm 2 nics, anic with ip address 10.x.x.x, cnic ip address 192.x.x.x, dns server in 10.x.x.x subnet. , want vm register ip 192.x.x.x dns server, not want 10.x.x.x registered dns server. since want other vm or machines use 192.x.x.x ip address visit vm.
normally, if vm has 2 nics, 2 ip addresses both registered dns server. there's no easy gui settings block 1 nic registered dns server.
do other vms in same subnet example vm? if yes, do not need worry dns round robin, may "enable netmask ordering in dns server", 192.x.x.x entry be listed in first order when clients in 192 subnet use dns server resolve example vm.
best regards,
anne
please remember mark replies answers if help.
if have feedback technet subscriber support, contact tnmff@microsoft.com.
Windows Server > IPAM, DHCP, DNS
Comments
Post a Comment