Windows

nslookup

SafeCheck DNS resolution

nslookup <name>

Resolves a hostname to IP; can query a specific DNS server.

Examples

  • nslookup example.com 8.8.8.8Query against Google DNS

Syntax

nslookup <name> [DNS server]

Before you run it

Read-only.

Used when you see

No network connectivity
3
Verify name resolutionIf IP works but names don't, it's DNS
See the whole flow →
Name resolution problems
1
Check resolutionDoes IP work but names don't?
See the whole flow →

Related commands

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store