Merry Christmas & Happy 2027! Less downtime. More good times. Celebrating 13 years of sorlavit.com
Skip to content
Sorlavit KimIT Support, Network & Infrastructure Services Let’s talk

ปุ่มแปลไทยจะเปิดบทความผ่าน Google Translate เพื่อแปลอัตโนมัติ โดยคงโค้ดและคำสั่งไว้ตามต้นฉบับ

Windows Commands / IT Support Guides

Check DNS answers with nslookup

A website that opens by address but fails by name points toward name resolution. Query the resolver directly before clearing caches or changing DNS settings.

Compiled for Sorlavit Kim · Published · Updated · 1 min read

Environment and inputs: Windows 11 · Command Prompt unless PowerShell is specified

Try the diagnostic command

Use the stated shell and platform. Replace sample domains, addresses, services and paths with values from the system you are authorized to support.

nslookup example.com
nslookup -type=MX example.com

How to read the result

The output identifies the answering DNS server and returned records. MX records describe mail routing. A non-authoritative answer is normal when the resolver returns cached or recursive data.

What to do next

Check the exact hostname used by the failing application and compare its answer with the approved internal DNS service. Distinguish a timeout from a name that does not exist.

Before you make a change

Do not send confidential internal hostnames to public DNS servers. Public and private answers may intentionally differ through split DNS.

Source & further reading

Microsoft Learn — nslookup

Independently written summary reviewed on 2026-11-01. The example illustrates a possible application; it is not a client case study.

Share this article

Back to all articles