What is DNS
DNS is the internet's address book. Computers on the network find each other by IP address, a set of numbers that's hard to remember. Someone types mysite.com, the browser asks DNS where that is, gets the IP address and goes to the right server. A domain is the human-friendly site name you rent from a registrar for a year or several.
A DNS record is one line in that book. A: a name points to a server's IP address. CNAME: a name points to another name, like www.mysite.com to your project on the hosting. TXT: a text note used to prove the domain is yours and to set up email. After a change, records usually spread across the internet in anywhere from minutes to a few hours.