Once a hosted zone with the same name as the domain name has been created, whether in public or in private, it is time to fill it up with the appropriate record types. These record types help traffic (internet or VPC, based in public or private, respectively) to forward the appropriate services. Let's look at each of them individually in detail.
DNS record types
A record type
This record stores IPv4 addresses with a dotted decimal notation. This record helps traffic to a specific web application server on EC2 or on-premises.
For example, an EC2 instance has an IPv4 IP, as follows. A record type for the given domain (example.com) can be configured with an IP address, as follows:
192.0.2.1