> For the complete documentation index, see [llms.txt](https://dev7days.gitbook.io/dev7days/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dev7days.gitbook.io/dev7days/aws/route-53.md).

# Route 53

Describe about Route 53

Route 53 is a highly avialable , scalable fully manged and `Authoritative` DNS. In addition it is also a Domain Registrar and has ability to check the health of your resources.

{% hint style="info" %}
Authoritative = the customer(you) can update the DNS records.
{% endhint %}

#### What is DNS ?

DNS which translates the human friendly hostnames into the machine IP addreses.&#x20;

e.g

```
// Sample
www.google.com => 172.217.18.36
```

#### Explain DNS Domain

**For full path** : <http://api.www.example.com>

**Url**: `http://api.www.example.com`

**Protocol**: `http`

**FQDN**(Fully Qualified Domain Name): `api.www.example.com`

**Sub Domain**: `api` , `www`

**Second Level Domain (SLD):** `example`

**Top Level Domain (TLD):** `com`

**Root Domain:** `example.com` (SLD + TLD)&#x20;

#### How DNS works ?

<img src="https://2166680554-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FP9VzT74ziIucCaJgfreE%2Fuploads%2FKnE2qdRPQCChx5N2FEdR%2Ffile.excalidraw.svg?alt=media&amp;token=ae5f97a7-c73f-49c1-b085-555a72487e55" alt="" class="gitbook-drawing">

1. Browser ask the **Local DNS server** (Managed by ISP) **.**&#x20;
2. **ISP** ask to **Root DNS server**: Do you know `www.example.com` ? then **Root DNS** said "You should ask **TLD DNS server**"
3. Next we ask to **TLD DNS server**: Do you know `www.example.com`? then **TLD DNS** said "I know only `.com` for more information you should ask **SLD DNS server"**
4. Next we ask to **SLD DNS server**: Do you know `www.example.com`? then **SLD DNS** said "I know only `example.com` .
5. Then we send to Destination IP address back to ISP and Browser.
6. **Browser** and **Local DNS** will **cache** the IP .
