Discussion Locked

W2K's ipconfig /flushdns equal in '98

0 helpful
14 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Is there an equal command in Windows'98 that is the same as Windows2000 ipconfig /flushdns command? I need to dump any cached dns entries that may be hanging around some '98 boxes I have here.

14 replies

by darkchilde

hello,
if you go to MS-DOS prompt and type ipconfig /? it shows you the related commands. I think the one you are looking for is ipconfig /release_all. That will release all entries for all adapters.
Hope this helps.

by iiajason

Hi there. Release_all releases IP info from a dynamically assigned IP to all adapters. I need a way to clear its DNS cache.
Thanks.

by saihib

Maybe I don't understand what you want to do but only DNS servers cache previously resolved addresses. Since Win98 is a client, not a DNS server, it has no cache to flush.

by iiajason

I know about caching servers ... but no, Win98 IS definatly holding a DNS entry somewhere for some of our internal site info. As I mentioned, W2K client has the flushdns command.

Thanks.

by ian mclaws

I think there's a little confusion here. A Win 98 system does not have a DNS cache to flush. The ipconfig /flushDNS command sends a command to the 2K clients DNS server to flush any dynamic entries pertaining to that client, even in 2K, there is no DNS client cache.
The only 98 cache that may appear to be related to DNS is the NetBIOS cache, which flushes itself automatically within 10 minutes by default, or on reboot. This is also affected by any LMHOSTS entries with a #PRE tag. (This tag causes entries in the NetBIOS cache to remain.)

Hope this helps,

Ian

by iiajason

Hmmm ... interesting answer. But "ipconfig /flushDNS command sends a command to the 2K clients DNS server to flush any dynamic entries" makes me wonder in that I would hope NO user could do such a thing on a DNS server. Thats just my admin security side showing. As I said, interesting. Is there any MS doc that says iconfig /flushdns does just that?

Thanks in advance.

by ian mclaws

Jeez I hate it when I'm wrong!
My apologies! I dug into it and discovered the following (Microsoft Win 2K resource kit, pages 985-987):
Windows 2000 is the first Microsoft O/S to have a client side DNS cache, emptiable with ipconfig /flushdns. Previous Microsoft O/S's (including 98 and ME) do not have this cache at all.

Sorry about the misinformation, but thanks for the push to dig further.

Good luck,

Ian

by ian mclaws

By the way, my original answer came from Microsoft Official Curriculum, (course 2152) which states that the /flushdns causes that particular clients dynamic dns entries to be flushed from his server, given appropriate permissions).

by iiajason

"given appropriate permissions" ... thanks for adding that, I was about to undo my rollout of 2000! haha
Thanks man

by zbopz

run regedit and go to HKEY_Local_Machine> System> Current Control Set> Services> VxD> MSTCP and delete the values or modify from there. Just to make sure, do a regestry search for NameServer.

Good Luck

This discussion is closed to new replies.