1
We have an application that references the database connection via a common alias, let's say datatier
, and futher that alias is generally stored in the HOSTS file. However, it's not in the HOSTS file on this server I'm working with.
Two questions:
- Where else could the alias be stored?
- Is there a way I can determine the IP anyway?
P.S. -- I've tried running an nslookup datatier
to determine the IP address but that didn't work.
Thanks all!
OK, so that got me the IP address ... where else could that alias be stored? – Mike Perrenoud – 2012-11-28T11:18:03.730
It might be cached by Windows and possibly be returned by a non-standard DNS (i.e. not the ones set as the default DNS in your TCP/IP configuration). By default
nslookup
will only query the standard DNS servers. You could try clearing the cache usingipconfig /flushdns
, then try pinging again. – Mario – 2012-11-28T11:21:18.847OK, well I'll go down that road and see what I find -- however, you got me exactly what I needed, the IP address, thanks for your help Mario! – Mike Perrenoud – 2012-11-28T11:24:18.490