THM DNS in detail - grunt92/IT-Sec-WriteUps GitHub Wiki
What is DNS
What does DNS stand for?
Domain Name System
Domain Hierarchy
What is the maximum length of a subdomain?
63
Which of the following characters cannot be used in a subdomain (3b_-)?
_
Note: In case you cannot discern the answer it is the underscore
What is the maximum length of a domain name?
253
What type of TLD is .co.uk?
ccTLD
Record Types
What type of record would be used to advise where to send email?
MX
What type of record handles IPv6 addresses?
AAAA
Making A Request
What field specifies how long a DNS record should be cached for?
TTL
What type of DNS Server is usually provided by your ISP?
recursive
What type of server holds all the records for a domain?
authoritative
Practical
What is the CNAME of shop.website.thm?
To answer the questions of this task you first have to deploy the static website by clicking on the "View Site"-button. After the site is deployed you can figure out the CNAME of shop.website.thm by selecting the CNAME option in the drop-down-list, entering the word "shop" in the input-field and pressing the "Send DNS Request"-button. Nslookup will then provide the canonical name:
shops.myshopify.com
What is the value of the TXT record of website.thm?
Select the TXT option in the drop-down-list and leave the input-field empty. Press the "Send DNS Request"-button and nslookup will provide you with the required flag:
THM{7012BBA60997F35A9516C2E16D2944FF}
What is the numerical priority value for the MX record?
Select the MX option in the drop-down-list and leave the input-field empty. Press the "Send DNS Request"-button and nslookup will provide you with the answer:
30
www.website.thm?
What is the IP address for the A record ofSelect the A option in the drop-down-list and leave the input-field empty. Press the "Send DNS Request"-button and nslookup will provide you with the answer:
10.10.10.10