Once you remember few things about DNS, DNS is simple. When you see it for the first time, it seems cryptic. It IS simple, but not because it is easy to use for somebody who sees it for the first time, but because names of records are short and therefore easy to remember, and essentially - there are not so many options to remember. Examples are for google.com domain or from my imagination. :)
1. A record - it tells a DNS server what IP address to map a host name to. Examples:
ns1 A 220.127.116.11
ns2 A 18.104.22.168
sun A 22.214.171.124
moon A 126.96.36.199
mail A 188.8.131.52
yourdomain.com. A 184.108.40.206
If A record is not full domain name to form fully qualified name ("fully qualified" means have form of "host.domain.topdomain" - www.yourdomain.com, www.google.de or www.superuser.com), than it means that A record is connected or related to domain one - ns1 and ns2, sun, moon and mail from above example are all tied to yourdomain.com., meaning:
Do not forget to write dot on end of domain name: yourdomain (dot) com (dot) =
yourdomain.com., that is not error, that is intended to be there!
2. NS record - when world knows IP addresses of your nameservers (there are usually 2 or three, but there can be more), you have to give them names. They are usually called with dull ns1 and ns2, but nothing stops you to call them something nicer, like:
yourdomain.com. NS ns1 and
yourdomain.com. NS ns2
yourdomain.com. NS sun and
yourdomain.com. NS moon
You can have dull (and descriptive) names like ns1, ns2, ns3 etc, or you can have names like sun, moon, bee, honey - it's your choice. Just do not forget to have A records for NS records you create!
3. CNAME and MX records - finally, these two are simple.
www CNAME yourdomain.com.
myserver CNAME yourdomain.com.
You want that both www.yourdomain.com and myserver.yourdomain.com point to yourdomain.com, so you make CNAME aliases.
yourdomain.com. MX 10 mail.yourdomain.com.
Mail designation for your domain.
Is it that simple? Yes, its that simple.