Common DNS Records
- A Record: Links a domain to an IPv4 address (e.g.,
www.example.com -> 192.0.2.1). - MX Record: Directs email to mail servers for the domain.
- CNAME Record: Points a domain to another domain (e.g.,
blog.example.com -> example.com). - NS Record: Specifies which DNS servers handle the domain.
- TXT Record: Stores text info like email verification (e.g., SPF, DKIM).
DNS Caching
- Local Cache: Your computer remembers DNS info to speed up future requests.
- ISP Cache: Your internet service provider might store DNS info for faster access.
- Authoritative Cache: The authoritative server stores DNS info for a set period.
DNS Propagation
When DNS records are updated, changes take time to spread across the internet. This can take from a few minutes to 48 hours.
Conclusion
DNS helps convert website names into IP addresses, making it possible to access websites easily.
Leave a comment