☄️
Certified Ethical Hacker
search
⌘Ctrlk
☄️
Certified Ethical Hacker
  • 👉Certified Ethical Hacker Cheatsheet
  • 🐧General Settings
    • 📦APT Package Manager
    • 🤖Cron
    • 🦊Firefox Extensions
  • ✍️Research & Report
    • 💠Obsidian
    • 🎢Notion
    • 🐼Pwndocs
  • 🔎Information Gathering
    • 📛NSLookup // Dig // Whois
    • 📜Nmap
    • 🖥️DNS Enumeration
  • 🔬Vulnerability Assessment
    • 🌐Web Assessment
    • 🕸️Network Assessment
  • ⚔️Exploitation
    • 🔴Metasploit
    • 🐍MSFVenom
    • 👁️Searchsploit
    • 🐚Revshells
    • 🐱Netcat
    • 💪Brute Force
    • 🔒Wi-FI
  • ⚜️Post Exploitation
    • ⛺Persistence
    • 📁File Transfer
    • 🕳️Tunnelling
gitbookPowered by GitBook
block-quoteOn this pagechevron-down
  1. 🔎Information Gathering

📛NSLookup // Dig // Whois

hashtag
nslookup

hashtag
Resources

LogoNslookup Command in Linux with Examples - GeeksforGeeksGeeksforGeekschevron-right
Logonslookup(1) - Linux man pagelinux.die.netchevron-right
LogonslookupMicrosoftLearnchevron-right

hashtag
Usage

hashtag
Querying

hashtag
Types

hashtag
Zone Transfer

hashtag
Dig

Logodig Command in Linux with Examples - GeeksforGeeksGeeksforGeekschevron-right

hashtag
Whois

hashtag
Website

LogoWhois.com - Free Whois Lookupwww.whois.comchevron-right

hashtag
CLI

PreviousPwndocschevron-leftNextNmapchevron-right

Last updated 2 years ago

  • nslookup
  • Resources
  • Usage
  • Querying
  • Types
  • Zone Transfer
  • Dig
  • Whois
  • Website
  • CLI
nslookup [-option] [name | -] [server] 
# Usage
nslookup -query=OPTION SERVER

# Example
nslookup -query=hinfo google.com
nslookup -query=all google.com
# Usage
nslookup -type=OPTION SERVER

# Name Server
nslookup -type=ns SERVER

# Options
    A: Specifies a computer's IP address.
    ANY: Specifies a computer's IP address.
    CNAME: Specifies a canonical name for an alias.
    GID Specifies a group identifier of a group name.
    HINFO: Specifies a computer's CPU and type of operating system.
    MB: Specifies a mailbox domain name.
    MG: Specifies a mail group member.
    MINFO: Specifies mailbox or mail list information.
    MR: Specifies the mail rename domain name.
    MX: Specifies the mail exchanger.
    NS: Specifies a DNS name server for the named zone.
    PTR: Specifies a computer name if the query is an IP address; otherwise, specifies the pointer to other information.
    SOA: Specifies the start-of-authority for a DNS zone.
    TXT: Specifies the text information.
    UID: Specifies the user identifier.
    UINFO: Specifies the user information.
    WKS: Describes a well-known service.
nslookup
> server URL
> set type=any
> ls -d URL
# Find Misconfig
> host -t axfr URL NAMESERVER
# Get Domain Information
whois google.com