TryHackMe: How the Web Works — DNS in Detail a Walkthrough

Jasmine Parks
4 min readMar 17, 2022

This is a step-by-step walkthrough of TryHackMe’s DNS in Detail room, with screenshots.

Task 1: What is DNS?

Question 1: “What does DNS stand for?”
Per THM: Domain Name System

TryHackMe Screenshot

Task 2: Domain Hierarchy

Question 2: “What is the maximum length of a subdomain?”
Per THM: 63

TryHackMe Screenshot

Question 3: “Which of the following characters cannot be used in a subdomain (3b_-)?”
Per THM: _ (underscore)

TryHackMe Screenshot

Question 4: “What is the maximum length of a domain name?”
Per THM: 253

TryHackMe Screenshot

Question 5: “What type of TLD is .co.uk?”
Per THM: ccTLD

TryHackMe Screenshot

Task 3: Record Types

Question 6: “What type of record would be used to advise where to send email?”
Per THM: MX

TryHackMe Screenshot

Question 7: “What type of record handles IPv6 addresses?”
Per THM: AAAA

TryHackMe Screenshot

Task 4: Making a Request

Question 8: “What field specifies how long a DNS record should be cached for?”
Per THM: TTL

TryHackMe Screenshot

Question 9: “What type of DNS Server is usually provided by your ISP?”
Per THM: Recursive

TryHackMe Screenshot

Question 10: “What type of server holds all the records for a domain?”
Per THM: Authoritative

TryHackMe Screenshot

Task 5: Practical

Click on “View Site”

TryHackMe Screenshot

This page will open in your browser:

TryHackMe Screenshot

You will use that box to answer the following questions.

Question 11: “What is the CNAME of shop.website.thm”

In the dropdown box, choose CNAME, type “shop” into the “subdomain” field. Click “Send DNS Request”.

TryHackMe Screenshot

The following will load:

TryHackMe Screenshot

Copy and paste the canonical name into the answer box:

TryHackMe Screenshot

Question 12: “What is the value of the TXT record of website.thm?”

In the dropdown box, select “TXT”. You do not need to add anything in the “subdomain” field. Click “Send DNS Request”.

TryHackMe Screenshot

The following will load:

TryHackMe Screenshot

Copy and paste the flag into the answer box:

TryHackMe Screenshot

Question 13: “What is the numerical priority value for the MX record?”

In the dropdown box, choose “MX”. You don’t need to put anything in the “subdomain” box. Click “Send DNS Request”.

TryHackMe Screenshot
TryHackMe Screenshot
TryHackMe Screenshot

Question 14: “What is the IP address for the A record of www.website.thm?”

In the dropdown box, select “A”. You don’t need to put anything in the “subdomain” box. Click “Send DNS Request”.

The following will load:

Copy and paste the Address into the answer box:

Thank you for reading. If you think I bring you value, please clap and subscribe for more content.

--

--