From what I understand an A record maps a domain name to an IP of a machine that serves content/provides API. When I look up my DNS records I get two A records. One points to my machine and another one points to an IP belonging to Namecheap company (ipinfo.io). The second A record is not shown in the "Advanced DNS" panel on their website in my account, so I can't delete it. Why do I have the second A record? What is the point of it?
I think I figured it out. In admin panel on namecheap.com I added redirects, so that when a user types example.com
their browser redirects them to https://example.com
.
In the DNS system there's no special records that handle redirects like that, so a company like namecheap adds an A record and points it to its own dedicated server that redirect users to a destination point in my case https://example.com