DEV Community

Estevez Ben Lajamin
Estevez Ben Lajamin

Posted on

[Adventure to Cybersecurity] Common DNS records

Think of DNS records like entries in a phone book. When you want to call someone, you look up their name in the phone book to find their phone number. Similarly, when you type a website's name into your browser, your computer looks up that name in a DNS database to find the website's address (like a phone number) so it knows where to go.

A Record (Address Record): Used for IPv4 addresses.

AAAA Record (IPv6 Address Record): Similar to the A record, but for the newer IPv6 addresses.

CNAME Record (Canonical Name Record): Used to alias another domain. eg. if you have a domain www.example.net and subdomain blog.example.net, you can use CNAME to point these two to the same ip address. In other way, if you type either one of the domains, it will still showing the same content.

MX Record (Mail Exchange Record): Imagine it as the postal address for email. It tells email servers where to deliver emails for a domain.

TXT Record (Text Record): Think of it as leaving a note. It stores additional text information about a domain, like verification details or security settings.

NS Record (Name Server Record): Like listing the names of phone book publishers. It tells the internet where to find the authoritative name servers for a domain.

PTR Record (Pointer Record): It's like reverse lookup in a phone book. It maps an IP address back to a domain name. (Usually domain owner don't have this control, only the ISP)

SRV Record (Service Record): It's like a directory of services. It provides information about specific services available within a domain, like chat or email. (eg, like a list of gaming server, when client call they will get a list of server and then made the decision which server to call based on the priority and weight)

Subscribe my YouTube channel for my adventure on breaking to cybersecurity. :)

[Estevez Ben Lajamin](https://www.youtube.com/channel/UChR0Pyvibwn_2j6QwfuwZNA)

Top comments (0)