Bird
0
0

What output will the command nslookup -query=ns example.com produce?

medium📝 Command Output Q5 of 15
Linux CLI - Networking Commands
What output will the command nslookup -query=ns example.com produce?
AList of name servers (NS records) for example.com
BList of mail servers (MX records) for example.com
CIP address of example.com
DError: unknown option -type
Step-by-Step Solution
Solution:
  1. Step 1: Identify the record type NS

    NS records list the authoritative name servers for a domain.
  2. Step 2: Understand nslookup syntax

    -query=ns queries NS records, so output is list of name servers.
  3. Final Answer:

    List of name servers (NS records) for example.com -> Option A
  4. Quick Check:

    nslookup -query=ns returns NS records [OK]
Quick Trick: -query=ns shows name servers with nslookup [OK]
Common Mistakes:
  • Confusing NS with MX records
  • Expecting IP address output
  • Misusing option syntax

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes