tryhackme: DNS in Detail: Record Types.

 DNS Record Types.


DNS has multiple types of DNS records:


1. A Record


These records resolve to IPv4 addresses, for example 104.26.10.229


2. AAAA Record


These records resolve to IPv6 addresses, for example 2606:4700:20::681a:be5


3. CNAME Record


These records resolve to another domain name.


for example: 


A Website that is an online shop has the subdomain name store.website.com which returns a CNAME record shops.shopify.com. 


Another DNS request would then be made to shops.shopify.com to work out the IP address.


4. MX Record


These records resolve to the address of the servers that handle the email for the domain we are querying.


=> an MX record response for website.com:

alt1.aspmx.l.google.com


These records also come with a priority flag. 


This tells the client in which order to try the servers.


This is perfect for if the main server goes down and email needs to be sent to a backup server.


5. TXT Record


TXT records are free text fields where any text-based data can be stored. 


TXT records have multiple uses, but some common ones can be to list servers that have the authority to send an email on behalf of the domain.


TXT records are also used to verify ownership of the domain name when signing up for third party services.


---------------------------------------------------------------------------------------------------------------------

Thanks for reading,

Roger

Comments

Popular posts from this blog

Common Network Commands: Ping

Common Network Commands: Route

John The Ripper