Monday, March 21, 2022

AWS Networking & Content Delivery - Route 53




Hosted zone configuration

A hosted zone is a container that holds information about how you want to route traffic for a domain, such as example.com, and its subdomains.

DNS AND ROUTING

user will check from host system first, then if not available, it will go to ISP..

ISP has one DNS server where all the IP, if it doesn’t find in the DNS, it will forward to NS (name) server (.org / .in / .sg) if it doesn’t find, it will go to SOA(start/sign of Authority – metadata: who is the owner? when is this domain created?) server. if SOA server has it, it will give back to DNS and DNS give back to user.


so AWS is using a Route53. it can create a domain. why is it called 53? cause domain name is running on port number 53.

To register a domain, you need a domain registrar(godaddy.com/bigrock.in/AWS) that will help you setup the domain.

whenever you purchase a domain in AWS, there will be a hosted zone. Hosted zone is basically the area where your domain name related activity will be configured.

public hosted zone – internet

private hosted zone – Amazon VPC

how many hosted zone can we add? Maximum 500.

 

Record Types:

1. A record – maps IP (IPV4) address to domain

2. AAAA record – maps IP (IPV6) address to domain

3. Cname – Canonical Name (the other name of your website (ELB or anyother hosted names))

4. Name Server record – by default it will auto create 4 NS - DNS

5. MX record – Mail Exchange



TTL – Time To Live (Cache process)


Routing Policy:

1. Multivalue answer (any one of the IP adress)

2. Geolocation (based on location)

3. Latency based (response time)

4. Weighted (there will be 10 servers, 20 traffic will go to first IP)

5. Failover

6. Simple Routing

 

to delete a hosted zone, you will need to delete all records first.



No comments:

Post a Comment

Fluentd

Open-source log data collector > why logs? - for compliance (auditing, company, business) - for security (transparency, monitoring, admin...