THE PENTEST LAB

How DNS Actually Works

Learn how your browser finds a website's IP address. Follow the complete DNS journey through resolvers, root servers, TLD nameservers and authoritative DNS, with animated diagrams and practical examples.

SCENE 01

Introduction

1 / 13

Let's Understand

ANIMATED DNS DIAGRAM

Key Learning Points

    Try DNS Commands Yourself

    Open Windows Command Prompt and run: nslookup thepentestlab.in

    Find mail records: nslookup -type=MX thepentestlab.in

    Find nameserver records: nslookup -type=NS thepentestlab.in

    Next episode: How HTTP Actually Works — Requests, Responses and Methods.