DEV Community

Jeyaprasad R
Jeyaprasad R

Posted on

CA 29 - Setup a DNS hosted zone in Route53 in AWS

Step 1: Login to AWS

  1. Open AWS Management Console
  2. Search for Route 53
  3. Open the service

Step 2: Create a Hosted Zone (Test Domain)

  1. Click Hosted Zones
  2. Click Create Hosted Zone
  3. Choose:
  • Private Hosted Zone (best for no real domain)
    1. Select a VPC (required for private zone)
    2. Click Create Hosted Zone

Step 3: Observe Default Records

  • You will see:

    • NS Record
    • SOA Record


Step 4: Create DNS Records

  1. Click Create Record

Add example:

🔹 A Record

  • Name: server1
  • Type: A
  • Value: 192.168.1.10 (dummy IP)

Step 5: (Optional Demo with EC2)

If you want to impress:

  1. Launch an EC2 instance
  2. Use its private IP
  3. Map it in A record:
   server1.mytest.local → EC2 private IP
Enter fullscreen mode Exit fullscreen mode

Step 6: Test DNS (Inside VPC only)

  1. Connect to EC2
  2. Run:
   nslookup server1.mytest.local
Enter fullscreen mode Exit fullscreen mode

It should resolve to your IP


Result

A private hosted zone is successfully created and DNS records are configured without using a public domain.


Conclusion

This project demonstrates internal DNS resolution using Route 53 without requiring a registered domain name.

Top comments (0)