Creating Your First Route 53 Record in AWS

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.


1. Creating a Record in Route 53

  1. Navigate to Hosted Zone
  2. Create a New Record
  3. Set TTL (Time To Live)
  4. Select Routing Policy
  5. Create the Record

2. Verifying the Record Using Command Line

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.

Using AWS CloudShell

AWS provides CloudShell, a built-in Linux command-line interface, to run commands.

  1. Open AWS CloudShell from the AWS Management Console.

  2. Install necessary tools: (This installs nslookup and dig for DNS queries.)

    sudo yum install -y bind-utils
    
    

Using NSLOOKUP (Windows & Linux)

To check if the DNS resolution works, run:

nslookup test.stephanetheteacher.com

Expected Output