Skip to content

Instantly share code, notes, and snippets.

@joshschmelzle
Created December 6, 2017 15:40
Show Gist options
  • Save joshschmelzle/e6e23a109c23baa32bc16888f6d1d5c5 to your computer and use it in GitHub Desktop.
Save joshschmelzle/e6e23a109c23baa32bc16888f6d1d5c5 to your computer and use it in GitHub Desktop.
Using nslookup to check DNS from a specific name server

Syntax:

  • nslookup <name> <server>

Where is the DNS hostname and is the hostname or IP address of the name server.

Example:

  • nslookup www.yahoo.com 8.8.8.8

Gotchas:

  • You may not be able to do this behind a corporate firewall. If you get DNS request timed out., try connecting to a hotspot and running the command again.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment