Hi
Currently I’m running a few servers at my home and I own a domain. I’d like to access those servers from outside my network (right now that happens through a VPN) but I don’t know anything about A records and MX records and as I understand, that’s what’s needed to do this. So would there be a tutorial that explains this like I’m 5 years old?
Not sure about a good resource. Do you know what both of those records do?
Your domain needs a nameserver. It… Serves the name associated with your IP. Or vice versa idk. This can be GoDaddy or namecheap, google, amazon, or you can host your domain locally, but the it’s not on the internet. This part is difficult for me to explain, so here’s ChatGPT with the assist:
Now that that’s kinda clearer than I can make it… What is an A record? What is an MX record? If you already know, ignore me.
An A record is an address. It’s the main resolution of your ip. An A record for example.com is example.coms IP address
A CNAME is a “canonical name” and is how you build subdomain. “WWW” is a common CNAME that usually points to the domain. “Mail” is also popular, it usually points to an e mail client.
MX records are mail exchange records. This tells email which servers to go to to get delivered.
Hopefully that helps a bit. I’m not an excellent resource but I do know me some dns.