Link to home
Create AccountLog in
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
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

local lookup first before DNS.
Avatar of philb19
philb19

ASKER

Thanks but where is the local mapping it was not in any hosts file?
It does not have to be in a local hosts file.
Avatar of 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
Avatar of Dirk Mare
Dirk Mare
Flag of South Africa image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of 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
The interface metric would also cause this. the second NIC should have a higher metric value.

User generated image
DirkMare