Learning Library

← Back to Library

DNS Zones and Records Explained

Key Points

  • DNS translates human‑readable domain names (e.g., dubdub.ibm.com) into IP addresses so browsers can locate web resources.
  • A DNS **zone** is an administratively controlled segment of the DNS namespace that contains a collection of records.
  • **Records** (resource records) are the individual entries within a zone, such as A records that map a hostname to an IP address.
  • Multiple records with the same name but different values form a **resource record set (RRset)**, allowing a single hostname to resolve to several IPs.
  • **NS (name server) records** delegate sub‑zones to other teams or servers, enabling separate groups to manage their own DNS entries (e.g., api.subzone.ibm.com).

Full Transcript

# DNS Zones and Records Explained **Source:** [https://www.youtube.com/watch?v=U-i_UDDYLxY](https://www.youtube.com/watch?v=U-i_UDDYLxY) **Duration:** 00:08:27 ## Summary - DNS translates human‑readable domain names (e.g., dubdub.ibm.com) into IP addresses so browsers can locate web resources. - A DNS **zone** is an administratively controlled segment of the DNS namespace that contains a collection of records. - **Records** (resource records) are the individual entries within a zone, such as A records that map a hostname to an IP address. - Multiple records with the same name but different values form a **resource record set (RRset)**, allowing a single hostname to resolve to several IPs. - **NS (name server) records** delegate sub‑zones to other teams or servers, enabling separate groups to manage their own DNS entries (e.g., api.subzone.ibm.com). ## Sections - [00:00:00](https://www.youtube.com/watch?v=U-i_UDDYLxY&t=0s) **Understanding DNS Zones & Records** - The speaker reviews DNS fundamentals before explaining that a DNS zone is an administratively controlled segment of the name space containing various record types (like A records) that map domain names to IP addresses. - [00:03:07](https://www.youtube.com/watch?v=U-i_UDDYLxY&t=187s) **DNS Zones, Subzones, and Records** - The speaker explains how DNS zones delegate authority via NS redirection to subzones and outlines the fields and common types of DNS records, such as A records. - [00:06:21](https://www.youtube.com/watch?v=U-i_UDDYLxY&t=381s) **DNS Record Types Overview** - The speaker explains how priority name servers, CNAME redirections, TXT records, and NS delegation work together to provide redundancy and routing in DNS management. ## Full Transcript
0:00today we're here to learn about 0:02DNS 0:04zones and 0:09Records first let's start with a quick 0:11review of the DNS as you may remember 0:15DNS is the protocol that's used to 0:19convert the name that someone types in 0:22their 0:23browser into a name into a number that 0:26the computer can understand so for 0:28example the user types dub du. 0:31ibm.com their PC talks to the local 0:35resolver which then goes out to the DNS 0:39uh to an authoritative DNS name server 0:42who looks up that name dubdub du. 0:44ibm.com and Returns the IP address for 0:48dubdub du. ibm.com and then the user is 0:52able to get to the web page for IBM and 0:57go view all of our products 1:00now this all works great but you may be 1:03uh now responsible for DNS and need to 1:05set it up for your particular 1:06application so you're wondering you know 1:09what what are these things that I'm 1:10hearing about zones records RR sets all 1:12this different terminology what is what 1:14does it all mean and how do I use it so 1:16let's start at the beginning with what 1:19is a zone so a DNS zone is an area of 1:23administrative control of a portion of 1:25the DNS name space so for example we 1:28might have a Zone for 1:32ibm.com and inside the Zone we're going 1:35to have a number of 1:39Records just right and records are 1:42things like 1:46um dub 1:49dubdub uh would be the record the type 1:52is I in I'll go over all this in more 1:54detail in a minute it's an a record type 1:57and the IP address is 9991 now I might 2:00have another record also dub dub dub 2:03actually we'll do four dubs I in a and 2:06it's 2:079992 what this means is that there's two 2:09records with the same label with the 2:12same name and that's called a resource 2:15record set you'll often hear that uh in 2:18the DNS terminology all it means is that 2:21there's multiple records with the same 2:23name but different values different 2:26answers want to also mention here a 2:28special record type 2:30called a name server record and that's 2:32used to do what we call delegate the 2:34zone to another group The use case for 2:37this is for example uh maybe the central 2:39CIO team is managing ibm.com but there's 2:42another group for which you want to give 2:44access to a portion of the DNS and you 2:46want to give them their own Zone on 2:48their own server so in that case you'll 2:51set up a special record type called 2:53subzone uh this this is the name It'll 2:56point to an n a name server record and n 3:00s and we'll just uh say it's going to 3:03subzone Nam server. 3:07ibm.com now what that does is it creates 3:10this redirection to another 3:16Zone called uh 3:20subzone uh sub zone. 3:23ibm.com and in here we can also set up 3:27records so say maybe that team wants to 3:29set up an API so they create a record 3:31API also an a record and it points to 3:3699110 so this would uh when someone does 3:39a lookup over there for api. sz. ibm.com 3:45it will first go to uh this Zone which 3:48will then redirect it via this NS record 3:51to a subzone where it will find the 3:53answer api. Sub zone. ibm.com in return 3:5799910 do10 that's an overview of zones 4:01which are an area of administrative 4:03control of a portion of the DNS 4:05namespace and Records which are the 4:07entries or the rows in the database that 4:10actually provide the 4:11data so now let's talk a little bit 4:14about the different types of records 4:17that are 4:18available so if I um go over here and 4:23let's talk about the format of Records 4:25so records have uh a number of fields 4:29first they have the owner field which is 4:31like the dubdub dub they then have a 4:35class so let's fill this in as I go so 4:38this is dub dub dub the class would be 4:41in in there are a number of classes 4:43defined but the only one you'll ever see 4:45used is in in which stands for internet 4:48uh the other ones are mainly 4:50experimental are used for odd use cases 4:52which you almost never see uh then we 4:55then have a 4:57type uh the most common example you'll 5:00see is the a record and then you'll have 5:02a 5:06value and the value is um the the number 5:12here 1.11.1 for example 5:15um let's go through a few different 5:18types just to give you a feel for what 5:20are the types out there I'm not going to 5:21cover them all um but before I get 5:24started I want to refer you to a website 5:27a.org 5:30that's the official body that maintains 5:33the list of all the different record 5:35types and you can go there and see the 5:37full list of what's available but I'll 5:39cover uh the main ones uh that people 5:41tend to use so the next one we have is 5:45called the quad a record uh which is 5:47written as foras and it's for an IPv6 5:51address so something like 2001 colon 5:55colon um one 27 5:59would be an IPv6 address another common 6:02type we have is the mail server 6:05address uh which is an MX record that 6:09has two portions to the value it's got a 6:12priority and the mail server name so 6:15something like 6:16mail. 6:18ibm.com it allows you to set up multiple 6:21name servers so maybe I have another one 6:23that's priority to that's maybe mail to. 6:28ibm.com what that means is that um the 6:31sender will first try the priority one 6:34entry if that doesn't work then it'll 6:36try the priority 2 entry so there's kind 6:38of built-in redundancy enabled through 6:40the DNS another common type is called 6:43the C name so if I have one uh just take 6:46a label Fu I in C 6:50name and this one is stands for 6:54canonical name it's essentially a 6:55redirection so in this case if someone 6:58types in fu. m.com I'll redirect them to 7:02dubdub 7:03dub. 7:05ns.com and that's just a straight text 7:08replacement fu. ibm.com gets replaced 7:11with dubdub dub. ibm.com you'll often 7:13see this used uh when you're deploying 7:16your website into a CDN where the CDN 7:18will provide you the value to use with 7:21for your canonical name or your cname 7:23record Another common one is a text 7:27record and so if we have a record like 7:30this text and we can just say hello 7:35world if someone types in um types in 7:40hello. ibm.com they'll get back the text 7:42hello world and the last one which I 7:45showed over here is just the NS record 7:49uh just for completeness We'll add it in 7:52um and we'll have subzone ns. 7:57ibm.com and again that's for delegate 8:00your Zone to a different entity so that 8:02they can also work on the Zone again 8:04these are just a few examples check out 8:06the site.org for the full list and 8:09hopefully now you have a good idea of 8:11the terminology of DNS and you're on 8:13your way to becoming a DNS administrator 8:15thank you if you like this video and 8:17want to see more like it please like And 8:20subscribe if you have any questions or 8:22want to share your thoughts about this 8:23topic please leave a comment below