In this lesson, we walk through the process of creating a DNS record in Amazon Route 53, exploring the essential concepts behind domain name resolution. We also verify the record using command-line tools.
stephanetheteacher.com).test.stephanetheteacher.com.(You can use any subdomain you want.)A Record
11.22.33.44(Placeholder for demonstration; later, we will use a real server.)300 seconds (5 minutes)(Determines how long the record is cached by DNS resolvers.)Since 11.22.33.44 is a random IP with no real server behind it, loading test.stephanetheteacher.com in a web browser won’t work. However, we can check the DNS resolution using command-line tools.
AWS provides CloudShell, a built-in Linux command-line interface, to run commands.
Open AWS CloudShell from the AWS Management Console.
Install necessary tools:
(This installs nslookup and dig for DNS queries.)
sudo yum install -y bind-utils
To check if the DNS resolution works, run:
nslookup test.stephanetheteacher.com