DNS | Tryhackme Walkthrough

Rahul Kumar
2 min readJul 18, 2023

--

Learn how DNS works and how it helps you access internet services.

What is DNS?:

Ques 1: What does DNS stand for?
Ans 1: Domain Name System

Domain Hierarchy:

Ques 1: What is the maximum length of a subdomain?
Ans: 63

Ques 2: What is the maximum length of a subdomain (3 b _ -)?
Ans 2: _

Ques 3: What is the maximum length of a domain name?
Ans 3: 253

Ques 4: What type of TLD is .co.uk?
Ans 4: ccTLD

Record Types:

Ques 1: What type of record would be used to advise where to send email?Ans 1: MX

Ques 2: What type of record handles IPv6 addresses?
Ans 2: AAAA

Making A Request:

Ques 1: What field specifies how long a DNS record should be cached for?Ans 1: TTL

Ques 2: What type of DNS Server is usually provided by your ISP?
Ans 2: recursive

Ques 3: What type of server holds all the records for a domain?
Ans 3: authoritative

Practical:

Ques 1: What is the CNAME of shop.website.thm?
Ans 1: shops.myshopify.com

Ques 2: What is the value of the TXT record of website.thm?
Ans 2: THM{7012BBA60997F35A9516C2E16D2944FF}

Ques 3: What is the numerical priority value for the MX record?
Ans 3: 30

Ques 4: What is the IP address for the A record of www.website.thm?
Ans 4:10.10.10.10

References: https://tryhackme.com/room/dnsindetail

--

--

Rahul Kumar
Rahul Kumar

Written by Rahul Kumar

Cybersecurity Enthusiast!! | COMPTIA SEC+ | CCSK | CEH | MTA S&N | Cybersecurity Analyst | Web Application Security

No responses yet