This article explains how to use nslookup to check if domain changes have propagated across different DNS servers, focusing on practical command syntax and error interpretation.
Assuming a Retail Brand Team Needs to Verify Recent Domain Updates
Suppose a regional retail team has just moved its storefront hostname to new name servers and needs a defensible check before a weekend promotion. The author, a web operations coordinator, keeps a one-page verification log with three columns: timestamp, recursive resolver used, and observed answer. For the first entry they choose the company's internal caching resolver; for the second, a public resolver; for the third, an authoritative name server named in the zone's delegation. The rationale is simple: a cached recursive answer shows what most office staff will see, the public resolver approximates general shoppers, and the authoritative server shows the zone's current intent.
The log's field list is deliberately small, so it can be copied into a shared document: "Check point," "Resolver IP or name," "Record type," "Observed value," "TTL," "Matches expected?," and "Notes." Two invented records illustrate the format. Row one: Check point "office cache," Resolver "10.20.30.53," type "A," observed "203.0.113.41," TTL "300," matches "yes," notes "first run after change." Row two: Check point "public west," Resolver "198.51.100.10," type "A," observed "203.0.113.24," TTL "120," matches "no," notes "older address; recheck in 10 minutes."
The author drafts three short candidate titles for the page: "Storefront DNS Change Verification Log," "Pre-Promotion DNS Check Sheet," and "Authoritative vs Cached Answer Record." They pick the second for the heading because it names the deadline, and keep the third as a subheading for the section comparing recursive and authoritative answers.
The command examples stay in a plain sequence rather than a script. For the authoritative check, the author notes the intended shape: dig with the record type and hostname, an at-sign followed by the authoritative server, and the plus-norecurse option so the response reflects that server's own data. For the internal check, nslookup with the record type and hostname, preceded by server and the internal resolver address, gives an interactive transcript. The author records only the values each command returned in their invented log, marks discrepancies for a later recheck, and leaves the choice of which resolver to trust until after the log shows consistent answers.
Using Non-Interactive Mode to Query Specific IP Addresses
In non-interactive mode, the first argument specifies the computer name or IP address to look up, while the second argument identifies the DNS name server. If the second parameter is omitted, nslookup defaults to the configured DNS name server. For example, querying a domain against a specific resolver requires placing the target hostname first and the resolver's IP address second. To inspect particular record types, such as IPv6 addresses, append the type option before the query arguments. This syntax allows scripts to perform single-data-point checks without entering an interactive session.1
When you reach the point of checking a specific resolver, you can consider the non-interactive form so each query lands in a log with the resolver and answer visible together. A practical pattern is to note the resolver first, then run the lookup in one step: “Resolver: 198.51.100.53; nslookup storefront.example 198.51.100.53.” The same idea works for dig when you want the full answer section, with the server placed after the name and type: “dig storefront.example A @198.51.100.53.” These are ordinary command shapes you can adapt to the record type in front of you, not steps that must be followed verbatim.
For the log you are building, annotate each line with the question it answers. A sample entry might read: Check point “Saturday 09:00 pre-promotion,” Resolver “198.51.100.53,” Record type “A,” Observed value “203.0.113.40,” and Decision “matches expected; no action.” You can fill the same fields for an archived notice by changing only the question and decision, for example Check point “March 2023 archive review,” Resolver “198.51.100.53,” Record type “CNAME,” Observed value “old-host.example,” Decision “record retained for history.” Keeping those fields stable lets you compare current and archived results without inventing a second format.
Interpreting Common Error Messages During Propagation Checks
When a lookup fails during a propagation check, Microsoft's nslookup documentation lists the error messages the tool returns and what each one indicates. A timed out message means the server did not respond after the set time and number of retries; the nslookup set timeout command sets the timeout period and nslookup set retry sets the retry count. Server no response means no DNS name server is running on the server computer.1
No records means the DNS name server has no resource records of the type being queried, even though the computer name is valid, with the query type set through nslookup set querytype. Nonexistent domain means the computer or DNS domain name does not exist.1
Connection refused or network unreachable means the DNS name server or finger server could not be connected to, and the documentation notes this error typically occurs with ls and finger requests. Server failure means the name server found an internal inconsistency in its database and could not return a valid answer. Refused means the name server declined to service the request. Format error means the name server found the request packet malformed, which may indicate a bug in nslookup.1
For the error lines already in your log, you can add a short plain-language note beside each one rather than leaving the raw message alone. A line such as Check point “Saturday 09:00 pre-promotion,” Resolver “office resolver,” Record type “A,” Observed value “no answer,” Note “no reply within timeout” tells the next reader that the query went unanswered, not that the record is absent. That distinction matters when you compare the same check point against a second resolver entry.
If you record a refused or unreachable response, you might write a second note stating which resolver produced it and whether other check points from the same resolver behaved differently. Consider keeping the note factual: “refused from this resolver; same record resolved fine from the other entry.” That wording lets a colleague see whether the pattern follows the resolver or the record, without guessing at causes.
You can also leave a small set of unfilled fields for anyone adding a later check: “Error wording,” “Resolver used,” “Same record seen elsewhere? yes/no,” and “Next action chosen.” Those fields are yours to adjust; the aim is that each message in the log can be read by someone who did not run the query.
Switching Default Servers to Test Regional Resolution
Within nslookup, the server subcommand changes the default server to a specified DNS domain. The documented syntax is server followed by the DNS domain, and the tool uses the current default server to look up information about that domain. Microsoft lists the command as applying to Windows Server 2025, 2022, 2019, and 2016, Windows 11 and Windows 10, and Azure Local 2311.2 and later.2
The same page distinguishes this from the lserver alternative for using the initial server to look up information. For help at the command prompt, the documented parameters are /? and /help.2
You can begin by taking the resolver column in your existing check log and pairing it with the two or three named resolvers your regional team already relies on. For each storefront hostname check point, write a short row such as Check point “Saturday 09:00 pre-promotion,” Resolver “regional office resolver,” Record type “A,” Observed value “placeholder until queried,” and Same record seen elsewhere “not yet compared.” Leave the observed value blank rather than guessing, so the row records what you intend to compare, not a result.
You might then draft the query you plan to run against each resolver in non-interactive form, keeping the resolver and answer on one line. A sample line could read: resolver named, hostname named, record type A, answer to be pasted in. Add a second candidate line using the same fields but a CNAME type, so you can compare which record type tells the clearer story for the upcoming promotion. Choose the version that makes the resolver and answer easiest to trace; the other can be dropped.
Before you fill anything in, consider one more candidate: a field labeled “Why this resolver,” with a short value like “office network reachable by store team.” If that reason is hard to state, the resolver may not belong in the set. This keeps the set small and each row defensible.
Specifying Resource Record Types for Precise Verification
In nslookup, the resource record type is changed with the set querytype command, written as set querytype= followed by the record type. The documented default is A, which specifies a computer's IP address. The same result comes from nslookup set type, which the source describes as identical to set querytype.3
The record type values documented for the parameter include A, ANY, CNAME, GID, HINFO, MB, MG, MINFO, MR, MX, NS, PTR, SOA, TXT, UID, UINFO, and WKS. In the source, A specifies a computer's IP address, NS specifies the DNS name servers of a named zone, CNAME specifies the canonical name of an alias, and MX specifies a mail exchanger.3
For each hostname in your existing check log, you can now write down which resource record type actually answers the question you care about, rather than running a bare lookup and hoping the returned value means what you expect. A storefront hostname may resolve to an address record, while a mail or verification entry may live in a text record, and a subdomain used for a promotion landing page may be a separate name altogether. Your next step is to add a “Record type” column and fill three sample rows: “storefront hostname, A, expected address,” “promotion subdomain, CNAME, target name,” and “verification entry, TXT, expected text value.” Each row states what a correct answer looks like, so a returned address for the wrong type is visibly not a match.
You might also draft one short line per check point explaining why that type was chosen, for example “A because the promotion page points at a storefront host.” Keeping those notes beside the expected values lets a colleague reading the log later see the reasoning without asking. As a comparison exercise, try rewriting one vague row, such as “check DNS, looks fine,” into type, expected value, and a one-line reason. You can decide whether that level of detail suits your team, and leave the remaining rows for whoever performs the next check.
Organizing Command Outputs for Team Review
You can start by opening the check log you already keep and adding a short review section at the bottom, so the command outputs you gathered are read by someone other than the person who ran them. Keep the rows as they are and add two columns: "Who can confirm this" and "Question still open." A filled example might read: Check point "Saturday 09:00 pre-promotion," Resolver "office DNS," Record type "A," Observed value "storefront host shown," Who can confirm this "store team lead," Question still open "none." You can choose simpler labels if your team already uses its own wording.
The review is easier when each row starts with the question it answers rather than with the command. You might rewrite a bare line as "Does the storefront hostname return the new address from the office resolver?" and place the observed value after it. For an archived announcement row, the same fields can be filled as: Check point "2023 holiday hours notice," Resolver "office DNS," Record type "A," Observed value "old address retained," Who can confirm this "archive owner," Question still open "confirm retirement date." This keeps current and historical entries on one sheet without implying they share a status.
You can also decide, before the review meeting, which rows need a second person's eyes. A reasonable choice is any row where the observed value differs from the value another resolver returned, or where the wording of an error was left unannotated. Consider marking those rows with a single word such as "recheck," and leave the rest unmarked. That gives the group a small, visible set to discuss first instead of reading every line aloud.
Finally, you might prepare one sentence per unresolved row stating what the team would need to see for the row to be closed, such as "same answer from two independent resolvers." You can draft these yourself as author examples and let reviewers adjust them. The point is not to settle propagation in the meeting but to leave with a short, shared record of what was seen, who saw it, and what remains open.
Frequently asked questions
What field list can I copy into a shared document for my DNS verification log?
The log's field list is deliberately small, so it can be copied into a shared document: "Check point," "Resolver IP or name," "Record type," "Observed value," "TTL," "Matches expected?," and "Notes."
How should I annotate each line in the check log I am building?
For the log you are building, annotate each line with the question it answers. A sample entry might read: Check point “Saturday 09:00 pre-promotion,” Resolver “198.51.100.53,” Record type “A,” Observed value “203.0.113.40,” and Decision “matches expected; no action.”
How can I start adding a review section to the check log I already keep?
You can start by opening the check log you already keep and adding a short review section at the bottom, so the command outputs you gathered are read by someone other than the person who ran them. Keep the rows as they are and add two columns: "Who can confirm this" and "Question still open."
nslookup | Microsoft Learn . Retrieved 2026-11-21. ↩︎ ↩︎ ↩︎ ↩︎
nslookup server | Microsoft Learn . Retrieved 2026-11-21. ↩︎ ↩︎
nslookup set querytype | Microsoft Learn . Retrieved 2026-11-21. ↩︎ ↩︎