The Domain Name System (DNS) is the phonebook of the Internet. Humans access information online through domain names.
Web browsers interact through Internet Protocol (IP) addresses.
DNS translates domain names to IP addresses so browsers can load Internet resources.
DNS servers eliminate the need for humans to memorize IP addresses such as 192.168.1.1 (in IPv4), or more complex newer alphanumeric IP addresses such as 2400:cb00:2048:1::c629:d7a2 (in IPv6).
A Record:
Changing the A record of a domain will transfer the Website host.
Whoever owns the IP Address is responsible for running the website
MX Record:
Changing the MX record of a domain will transfer the host or the provider of the email service.
Name Servers:
Changing the Name servers of a domain transfers the hosting responsibility of the website and email services to a different provider
DNS records (short for "Domain Name System records") are types of data that are stored in the DNS database and used to specify information about a domain, such as its IP address and the servers that handle its email.
NS - Nameserver clarifies the zone’s authority.
A - Address specifies a host’s IPv4 address.
AAAA - Provides a host’s IPv6 address
CAA - Certificate Authority Authorization specifies a domain’s possible CAs.
CNAME - Canonical Name defines an alias
MX - Mail Exchange assigns email servers a domain.
SRV - Service Locator provides information about other services.
TXT - Text provides the option of entering additional texts (SPF, DMARC, DKIM)