Link to home
Start Free TrialLog in
Avatar of cbob
cbob

asked on

local DNS-Cache ?

Hi,
is there a local DNS-cache for NT-WS? Or must the WS connect to the DNS-Server erverytime when she want to know the IP-Adress for a Hostname? (I know the function for the etc/hosts. To use this file is not the answer!)
thanks cbob
Avatar of Tim Holman
Tim Holman
Flag of United Kingdom of Great Britain and Northern Ireland image

There's a NetBIOS name cache to resolve NetBIOS names to IP address (nbtstat -c).
The only other place hostnames and IP addresses are stored on NT WS is the etc\hosts file, or the WINS server on the local network, or a DNS server.
Specifying that you want to use DNS in TCP/IP properties just points you to a database of hostnames and IP addresses - it doesn't take any information off it, but once you've contacted the other machine, then this machines' hostname and IP address will be stored in nbtstat -c.

Hope this helps...

Avatar of cbob
cbob

ASKER

Thanks Tin,
that means there is no DNS_cache at NT Workstations (exception etc\hosts)?
ASKER CERTIFIED SOLUTION
Avatar of mcdonc
mcdonc

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
Mcdonc,
  That's a terrible answer.  Point stealer.
Cbob,
  I'm not sure why you accepted that answer.
  Mcdonc's 'test' is not valid in all situations, as he's not taking into account name resolution by initial local broadcast, the hosts file, WINS or the lmhosts file.
 
He wasn't talking about name resolution in general.  He was talking about DNS name resolution in specific.  In that context, the answer is right.

That said, you're right.  I'm not proud.  My apologies.
But TTL caching is still in effect, no?

See this PAQ, for how changes to the DNS
were not seen by my NT WS client until the
TTL expired   (in my case, one hour later.)

https://www.experts-exchange.com/jsp/qShow.jsp?ta=winntnet&qid=10423716