Avatar of philb19
philb19
 asked on

DNS - added a NIC to a VM set no DNS on the new NIC - from that server if I ping its own name it replies with the new IP on the new NIC

I just noticed this - and now some scripts dont work as they try and egress the new NIC - which in fact is for iscsi SAN - there is no gateway and no DNS set on the new adaptor  - WHY has this happened ? how in the server itself has it registered some sort on name record for the server tieing it to the new adaptor storage van. - i put hosts record in and flushns and now its back to the correct IP - I just want to understand whats going on here?  thanks  OS 2008 r2
VMwareDNSWindows OS

Avatar of undefined
Last Comment
Dirk Mare

8/22/2022 - Mon
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

local lookup first before DNS.
philb19

ASKER
Thanks but where is the local mapping it was not in any hosts file?
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

It does not have to be in a local hosts file.
Your help has saved me hundreds of hours of internet surfing.
fblack61
philb19

ASKER
This article explains the situation very well:

https://support.microsoft.com/en-us/kb/981953

However it still does not tell me "where" the name is mapped. - Ok it uses the first adapter in the bindings - but where is the entry for the mapping if not in the hosts file - An adaptor doesnt have a name assosciated with it? if not hosts and not DNS - is it in another file or in registry - how does it work? - thanks
ASKER CERTIFIED SOLUTION
Dirk Mare

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.
philb19

ASKER
Thanks but I know very well how to do this - change bindings.

Im after an undestanding of where the name mapping takes place if not hosts or DNS
Dirk Mare

The interface metric would also cause this. the second NIC should have a higher metric value.

Binding Providers
DirkMare
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.