A Domain Name System (DNS) is a name service that associates various information with domain names. The domain names are translated to IP addresses needed for locating and retrieving the web addresses and identifying services with the underlying network protocols

A DNS server stores several records:

RecordFunction
AStores and returns 32-bit IPv4 addresses
AAAAStores and returns 64-bit IPv6 addresses
CNAMEStores name aliases
TXTOriginally meant to store human-readable text data but currently is used to store machine-readable data
SRVLocates service records
PTRPointer to a canonical name. For reverse IP lookup
MXMail exchange servers that map emails to IP addresses
For phone-wide ad-blocking and content filtering, I use all.dns.mullvad.net in the Private DNS option in my Pixel 7