Design and consulting agencies often need to troubleshoot domain resolution issues. This article focuses on the practical steps to manage the local DNS resolver cache, specifically viewing its contents and flushing it when necessary. By understanding these operations, you can better control how long responses are stored locally, which is directly influenced by Time to Live (TTL) settings.
Assuming a scenario where a recent domain change does not appear in your browser
Assume a freelance service designer has just switched a small studio site to a new domain and finds the old address still loading in her own browser. She keeps a working note for this kind of setup, and her first step is a simple inventory table with four columns: record name, record type, current TTL, planned TTL. Two invented rows show how she would fill it: an apex A record for studio-example.test pointing at a hosting address, currently at 3600 seconds and planned for 300 during the transition; and a www CNAME for www.studio-example.test pointing at the apex name, also moving from 3600 to 300. A third row could hold a mail-related record, though she marks it "leave for the mail provider" rather than editing it herself.
Her second artifact is a short README titled "DNS change window," with fields for date, records changed, old TTL, new TTL, and a rollback note. Two fictional entries illustrate the format: "Apex A — 3600 to 300 — revert to 3600 after cutover check" and "www CNAME — follows apex — no separate edit." She writes the names exactly as she reads them in the zone editor, treating that spelling as her own record rather than a claim about what any registration form accepts.
For the link question, she keeps two entries in a resolver-check log with fixed destinations and channels: one labelled "authoritative lookup" and one labelled "public resolver query," each with a note to compare answers. She does not assume any recipient or service responds; the note just names where she intends to look.
She picks a shorter TTL for the cutover window and a longer one afterward. Her reasoning is concrete: short values during the change let the old cached answer expire quickly, while restoring the longer value later reduces lookup overhead once the new address is stable. She writes down the tradeoff rather than treating one number as correct for every record. These tables, labels, and the choice between short and long values are her own illustrative examples, not evidence from a real client engagement or a completed test.
Her working rule for this moment is narrow: compare the resolver answer she sees with the recorded plan, and note the difference in the log before changing anything else.
Viewing the current contents of the DNS resolver cache
On Windows 2000, the resolver checks its cache before querying any DNS server, so a cached name is used instead of a new server query. To view the cache contents, the documented step is to type ipconfig /displaydns at a command prompt and press ENTER. The output includes names preloaded from the Hosts file and recently queried names resolved by the system. The resolver discards a name after the time specified by its associated TTL.1
Start with the resolver-check log entry you already keep for the change window, and add one further row per check: the time you ran it, the answer you received, and which of your two destinations—authoritative lookup or resolver lookup—produced it. You can fill this row by hand from what each destination returned, without changing any records first.
For the fictional studio example, that row might read: “Tuesday 09:40, resolver lookup, old address, plan says new address.” Comparing it with the README entry for the same date shows whether the difference is stale caching or a record you have not yet changed. The two destinations remain separate entries; you might note both answers for the same moment so the comparison rests on one time stamp rather than two.
If you want a firm record before touching anything, you can also copy the current TTL value from the plan beside the observed answer, marking it as recorded rather than changed. This keeps the log a snapshot of what you saw, and leaves the decision about shortening or lengthening the value for after you have compared it with the plan.
Understanding how TTL dictates cache expiration
On Windows 2000, the resolver checks its cache before querying any DNS server, so a cached name is used instead of sending a query. After the time specified by the TTL associated with the name, the resolver discards that name from the cache.1
Positive responses are cached for the number of seconds in the query response the resolver received, but never longer than the MaxCacheEntryTtlLimit registry entry, whose default is 86,400 seconds. Negative responses are cached for the seconds in the NegativeCacheTime value, default 300 seconds; setting it to 0 prevents negative caching.1
For the current change-window record, consider adding one field that separates “cache expiry due” from “checked”—for example, “TTL 300, change made Monday 14:00, cache expiry due Monday 14:05, checked Monday 14:06.” For a historical entry from an earlier migration, the same fields might read “TTL 3600, change made 3 March, cache expiry due 3 March 15:00, checked 4 March 09:00.” You can decide which of the two you treat as the live row and which stays as the archived comparison, but keeping both in the same shape lets you see whether an old answer is simply still inside its allowed window rather than a new fault.
When the due time has clearly passed and the answer you receive still matches the old value, you might write a second line under that entry: what you expected, what you got, and which record you intend to check next. A short handwritten note such as “expected new address after 14:05; received old address; next check: authoritative answer” is enough. This keeps the decision about whether to wait longer, recheck, or escalate tied to a dated record rather than a memory of the plan.
You can also mark on the record whether the TTL you copied came from the plan or from a live answer. Those are different observations, and labelling them as “planned” and “observed” now saves you from treating an intention as evidence later.
Flushing the cache to force new queries
If a cached answer persists, the Windows 2000 resolver documented in this source lets you flush it manually with the ipconfig /flushdns command at a command prompt. After the flush, the computer must query DNS servers again, since the cached entry is gone. Keep in mind that the resolver cache and the server cache are maintained separately, so this step concerns the client-side resolver cache only.1
Before flushing, you can inspect what is currently held by typing ipconfig /displaydns; the output shows the contents of the DNS resolver cache, including names preloaded from the Hosts file and recently queried names resolved by the system. Note also that the local Hosts file is preloaded into the resolver's cache and reloaded whenever that file is updated.1
TTL behavior on this client is bounded by registry values: positive responses are cached for the number of seconds in the query response but never longer than MaxCacheEntryTtlLimit, default 86,400 seconds, while negative responses use NegativeCacheTime, default 300 seconds.1
When a change window has passed and your own resolver still returns the old answer, treat that as a fresh observation rather than a reason to edit records at random. You can take the resolver-check log row you already keep, add the time of this new check, the answer you actually received, and the value the plan says should now be live. For the fictional studio case, the new line might read: “Tuesday 10:05, resolver lookup, still old address, plan expects new address.”
You might then compare that line with the cache-expiry note in your change-window record. If the recorded due time has clearly passed, the gap between the two entries is worth writing down in plain words: what you expected, what you saw, and which source each value came from. Keeping “from the plan” and “from a live answer” as separate labels helps you avoid treating one as proof of the other.
Whether you then wait, ask a colleague to check from a different network, or revisit the plan is your call; the log simply gives you a dated trail. If you do choose to force a new query later, record that as its own line with the time and the answer that followed, so the earlier cached answer and the later result stay distinguishable in your notes.
Distinguishing between client-side and server-side caches
For records on a Windows 2000 client, the resolver cache and the server cache are maintained separately, so what you see locally is not the server-side cache. The resolver adds positive and negative responses to its own cache, checks that cache before querying any DNS servers, and discards a name after the TTL associated with that name.1
On the client side, positive responses are cached for the seconds in the query response but never longer than the MaxCacheEntryTtlLimit registry entry, default 86,400 seconds. Negative responses in the resolver cache use the NegativeCacheTime value, default 300 seconds; setting it to 0 stops negative caching there. The Windows 2000 DNS server, by contrast, caches negative responses according to the minimum TTL in the SOA record, bounded between one minute and 15 minutes.1
Start with the change-window record you already keep, and add one column for where the cache sits: your own browser or resolver on one line, and the authoritative answer on another. For the fictional studio example, the two rows might read “local resolver, Tuesday 09:40, old address” and “authoritative lookup, Tuesday 09:41, new address.” Keeping them separate makes it easier to see whether the stale answer you are chasing is stored locally or still being served from upstream.
You can then decide what to do with that distinction. If only your local row shows the old value, you might flush your own cache or test from a second device before touching any records. If both rows agree on the old value, the change may not have propagated yet, and the plan's recorded expiry time becomes the thing to compare against. Whether you wait, ask a colleague, or revisit the plan is your call; the log is only there to give you a dated trail of which cache returned what.
For each future change window, consider adding a short note on which side each observation came from, marked as “local” or “authoritative.” That label is the part you will most want when a later check disagrees, and it costs you one word per row.
Checking advanced record properties for specific TTL values
To check the TTL for a record, open the DNS console, point to View, and click Advanced to select Advanced View; this step is not necessary for a start of authority record. Then right-click the record and click Properties to view and change the TTL associated with it.1
On the client side, to view the resolver cache at a command prompt, type ipconfig /displaydns and press ENTER. This displays the cache contents, including names preloaded from the Hosts file and recently queried names. The resolver discards a name from the cache after the time specified by the TTL associated with that name.1
Take the change-window record you already keep and add two columns: where the answer came from and which TTL value you used for comparison. You can fill a row like this: “source: authoritative answer; TTL shown: 300; plan value: 300.” A second row might read “source: own browser resolver; TTL shown: 300; plan value: 300.” Writing both columns keeps the record honest about what you actually saw rather than what you assumed.
You might also note the moment each TTL was captured, since a value read from a plan document and a value returned in a live answer can drift apart. Consider a field such as “TTL copied from: plan, captured Monday 13:50” beside “TTL in answer: 300, seen Tuesday 09:40.” If the two differ, that gap is your cue to look more closely before drawing conclusions.
When the same record covers an archived entry, the fields still work; you would just mark the row as historical and record the date the entry was retired. Deciding whether to investigate a mismatch, wait, or simply log it for later is your choice, and the labelled rows give you something concrete to revisit.
Frequently asked questions
What four columns should the simple inventory table in her working note have?
Assume a freelance service designer has just switched a small studio site to a new domain and finds the old address still loading in her own browser. She keeps a working note for this kind of setup, and her first step is a simple inventory table with four columns: record name, record type, current TTL, planned TTL.
Which fields should the short README titled “DNS change window” contain?
Her second artifact is a short README titled "DNS change window," with fields for date, records changed, old TTL, new TTL, and a rollback note. Two fictional entries illustrate the format: "Apex A — 3600 to 300 — revert to 3600 after cutover check" and "www CNAME — follows apex — no separate edit."
If I already keep a change-window record, what two columns could I add to it?
Take the change-window record you already keep and add two columns: where the answer came from and which TTL value you used for comparison. You can fill a row like this: “source: authoritative answer; TTL shown: 300; plan value: 300.”