Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:03,520 --> 00:00:06,708
This is a free, complete course for the CCNA.
2
00:00:06,708 --> 00:00:10,219
If you like these videos, please subscribe\n
3
00:00:10,220 --> 00:00:14,670
Also, please like and leave a comment, and\n
4
00:00:17,899 --> 00:00:21,619
In this video we will cover DNS, Domain Name\nSystem.
5
00:00:21,620 --> 00:00:25,010
DNS is a protocol that you certainly make\n
6
00:00:25,010 --> 00:00:31,250
DNS is all about making it easier for us humans\n
7
00:00:33,520 --> 00:00:38,978
For example it allows us to use the domain\n
8
00:00:38,978 --> 00:00:42,249
of having to enter an IP address.
9
00:00:42,249 --> 00:00:47,300
Names like ‘youtube.com’ or ‘google.com’\n
10
00:00:48,299 --> 00:00:55,588
DNS is part of exam topic 4.3, which says\n
11
00:00:57,350 --> 00:01:02,298
You don’t need to know DNS in depth for\n
12
00:01:02,298 --> 00:01:06,849
operations of DNS, just understand its basic\npurpose.
13
00:01:06,849 --> 00:01:10,699
The information I give you in this video should\n
14
00:01:10,700 --> 00:01:13,899
DNS-related questions on the CCNA exam.
15
00:01:13,899 --> 00:01:17,879
Here’s what we’ll cover in this video.
16
00:01:19,759 --> 00:01:23,959
I already mentioned it, but I’ll explain\na little more.
17
00:01:23,959 --> 00:01:28,019
Then the basic functions of DNS, a quick overview\n
18
00:01:28,019 --> 00:01:32,968
As I said before, I won’t get into unnecessary\n
19
00:01:32,968 --> 00:01:38,250
Finally, I’ll show how to configure DNS\nin Cisco IOS.
20
00:01:38,250 --> 00:01:42,420
Watch until the end of the video for a bonus\n
21
00:01:45,069 --> 00:01:50,178
ExSim practice exams simulate the style and\n
22
00:01:50,179 --> 00:01:55,149
other practice exams, and from personal experience\n
23
00:01:57,618 --> 00:02:01,899
If you want to get ExSim, follow the link\n
24
00:02:01,899 --> 00:02:05,460
Let’s review the purpose of DNS.
25
00:02:05,459 --> 00:02:13,079
DNS is used to resolve human-readable names,\n
26
00:02:13,080 --> 00:02:15,260
Resolve in this case means convert.
27
00:02:15,259 --> 00:02:20,879
You enter a name, such as google.com, and\n
28
00:02:20,879 --> 00:02:26,789
Machines such as PCs don’t use names, they\n
29
00:02:29,259 --> 00:02:33,679
However names are much easier for us humans\n
30
00:02:33,680 --> 00:02:37,400
IP addresses are human-readable too, of course.
31
00:02:37,400 --> 00:02:41,670
IPv4 addresses especially aren’t too long\n
32
00:02:41,669 --> 00:02:44,419
no doubt that names are much easier to remember.
33
00:02:44,419 --> 00:02:47,659
What’s the IP address of youtube.com?
34
00:02:50,479 --> 00:02:56,209
Thanks to DNS, you can access youtube.com\n
35
00:02:56,210 --> 00:03:00,879
When you type ‘youtube.com’ into a web\n
36
00:03:00,879 --> 00:03:03,229
for the IP address of youtube.com.
37
00:03:03,229 --> 00:03:09,009
The DNS server, or servers, your device uses\n
38
00:03:10,340 --> 00:03:16,759
DHCP is the dynamic host configuration protocol,\n
39
00:03:16,759 --> 00:03:20,399
Okay, that’s the basic outline of DNS.
40
00:03:20,400 --> 00:03:23,180
Now I’ll use this network to demonstrate\nhow it works.
41
00:03:23,180 --> 00:03:27,000
Three PCs are connected to R1 via SW1.
42
00:03:27,000 --> 00:03:32,199
R1 is connected to the Internet, and somewhere\n
43
00:03:33,930 --> 00:03:41,150
So, let’s go on to PC1, a Windows PC, and\n
44
00:03:41,150 --> 00:03:46,659
Here’s the CLI of PC1, the Windows command\nprompt.
45
00:03:46,659 --> 00:03:51,400
I used the command IPCONFIG /ALL to display\n
46
00:03:51,400 --> 00:03:58,010
You should remember this command, ‘verify\n
47
00:04:00,199 --> 00:04:05,369
I’ll probably make a separate video to cover\n
48
00:04:06,840 --> 00:04:10,890
So, here’s some of the information displayed.
49
00:04:10,889 --> 00:04:15,670
Note that there is also the command IPCONFIG\n
50
00:04:15,670 --> 00:04:21,009
what I want to show you, which is the DNS\n
51
00:04:23,350 --> 00:04:28,240
As I said in the previous slide, end hosts\n
52
00:04:28,240 --> 00:04:31,790
server to use via the protocol DHCP.
53
00:04:31,790 --> 00:04:36,629
However we haven’t covered that yet in the\n
54
00:04:43,110 --> 00:04:45,800
I used the command NSLOOKUP youtube.com.
55
00:04:45,800 --> 00:04:52,680
I briefly showed you the NSLOOKUP command\n
56
00:04:53,680 --> 00:04:58,990
It tells the device to ask its DNS server\n
57
00:04:58,990 --> 00:05:03,389
As we saw before, PC1 is using Google’s\nDNS server at 8.8.8.8.
58
00:05:03,389 --> 00:05:06,800
Here’s the answer from Google’s DNS server.
59
00:05:06,800 --> 00:05:16,900
Youtube.com’s IPv4 address is 172.217.25.110,\n
60
00:05:16,899 --> 00:05:21,310
So I tried a ping, specifying the name instead\nof IP address.
61
00:05:21,310 --> 00:05:26,310
The name ‘youtube.com’ is then converted\n
62
00:05:28,430 --> 00:05:32,709
Note that you don’t have to use the NSLOOKUP\n
63
00:05:32,709 --> 00:05:37,709
If your device doesn’t know the correct\n
64
00:05:37,709 --> 00:05:41,139
I just used NSLOOKUP to demonstrate the command.
65
00:05:43,180 --> 00:05:49,220
To learn the IP address of youtube.com, PC1\n
66
00:05:51,660 --> 00:05:58,439
Then the DNS server replies, telling PC1 that\n
67
00:05:58,439 --> 00:06:03,689
What’s the role of R1 in this exchange?
68
00:06:03,689 --> 00:06:08,189
In this case, R1 isn’t acting as a DNS server\nor client.
69
00:06:08,189 --> 00:06:09,990
It is simply forwarding packets.
70
00:06:09,990 --> 00:06:13,530
So, no DNS configuration is required on R1.
71
00:06:15,550 --> 00:06:20,460
Often there’s simply no need to do any DNS\n
72
00:06:20,459 --> 00:06:23,919
They just need to perform their job of routing\nnetwork traffic.
73
00:06:23,920 --> 00:06:29,560
However, a Cisco router can act as a DNS server\n
74
00:06:33,259 --> 00:06:37,449
I used Wireshark to capture the traffic from\n
75
00:06:40,389 --> 00:06:50,090
It’s from source 192.168.0.101, PC1, to\n
76
00:06:50,089 --> 00:06:55,209
Under ‘info’ it says standard query, so\n
77
00:06:57,168 --> 00:06:59,829
Notice this part here, ‘A youtube.com’.
78
00:06:59,829 --> 00:07:03,359
I’ll tell you in a minute what that ‘A’\nmeans.
79
00:07:03,360 --> 00:07:12,520
Here’s the next message, from Google’s\n
80
00:07:12,519 --> 00:07:16,039
Under ‘info’ it says standard query response.
81
00:07:16,040 --> 00:07:18,780
So this is a response to PC1’s query.
82
00:07:18,779 --> 00:07:26,589
And here it says A youtube.com A 172.217.25.110.
83
00:07:26,589 --> 00:07:28,729
Notice that it’s an IPv4 address.
84
00:07:28,730 --> 00:07:36,860
Now here’s the next message, again a standard\n
85
00:07:36,860 --> 00:07:42,830
This time it says AAAA, which we call quadruple\nA, youtube.com.
86
00:07:42,829 --> 00:07:45,329
And here’s the standard query response.
87
00:07:45,329 --> 00:07:51,000
Quadruple A youtube.com, quadruple A, followed\n
88
00:07:51,000 --> 00:07:54,860
So, can you guess what ‘A’ and ‘quadruple\nA’ stand for?
89
00:07:54,860 --> 00:08:00,270
DNS ‘A’ records are used to map names\nto IPv4 addresses.
90
00:08:00,269 --> 00:08:05,889
In the first query message, PC1 asked the\n
91
00:08:05,889 --> 00:08:09,000
so the DNS server responded with an IPv4 address.
92
00:08:09,000 --> 00:08:15,279
DNS ‘quadruple A’ records are used to\n
93
00:08:15,279 --> 00:08:21,509
In the second query message, PC1 asked the\n
94
00:08:21,509 --> 00:08:25,689
so the server responded with an IPv6 address.
95
00:08:25,689 --> 00:08:28,430
Now let’s briefly look inside of that first\nquery.
96
00:08:28,430 --> 00:08:31,769
Here’s Layer 4, which protocol is used?
97
00:08:33,219 --> 00:08:40,039
Remember, DNS uses both TCP and UDP, so why\nis UDP used here?
98
00:08:40,038 --> 00:08:43,129
Standard DNS queries and responses typically\nuse UDP.
99
00:08:43,129 --> 00:08:48,610
TCP is used for DNS messages greater than\n512 bytes.
100
00:08:48,610 --> 00:08:52,659
In either case, UDP or TCP, the port number\nis 53.
101
00:08:52,659 --> 00:08:58,299
You don’t have to know the details of when\n
102
00:08:58,299 --> 00:09:03,870
DNS queries and responses like these will\n
103
00:09:05,808 --> 00:09:11,379
If you’d like to know the details, try a\n
104
00:09:13,639 --> 00:09:21,198
Finally, down here is the UDP query itself,\n
105
00:09:21,198 --> 00:09:25,769
As I’ve said before, Wireshark is a very\n
106
00:09:25,769 --> 00:09:29,490
also has many real-world on-the-job uses.
107
00:09:29,490 --> 00:09:33,568
If you have some time I recommend downloading\n
108
00:09:33,568 --> 00:09:37,688
your computer is sending and receiving.
109
00:09:37,688 --> 00:09:41,179
Moving on, let me introduce the DNS cache.
110
00:09:41,179 --> 00:09:45,719
Devices will save the DNS server’s responses\n
111
00:09:45,720 --> 00:09:49,220
This means they don’t have to query the\n
112
00:09:51,528 --> 00:09:54,269
This saves a lot of unnecessary network traffic.
113
00:09:54,269 --> 00:10:01,409
So, to view the DNS cache on a Windows PC\n
114
00:10:01,409 --> 00:10:05,629
Here’s the record for youtube.com.
115
00:10:05,629 --> 00:10:06,999
However look at the record type.
116
00:10:06,999 --> 00:10:12,740
It’s not A or quadruple A, it’s CNAME,\n
117
00:10:12,740 --> 00:10:18,688
CNAME, canonical name, is another kind of\n
118
00:10:19,688 --> 00:10:24,458
I looked in the DNS cache for that other domain\n
119
00:10:24,458 --> 00:10:29,018
same IPv4 address, 172.217.25.110.
120
00:10:29,019 --> 00:10:33,119
So, as you can see there are some complexities\nto DNS.
121
00:10:33,119 --> 00:10:38,230
DNS is a very important part of the Internet\n
122
00:10:38,230 --> 00:10:41,420
for the CCNA you just need to know the basics.
123
00:10:41,419 --> 00:10:47,428
Here’s one more command in the Windows command\n
124
00:10:50,839 --> 00:10:57,559
It says the DNS resolver cache was flushed,\n
125
00:10:59,220 --> 00:11:04,619
If I try to access youtube.com again, for\n
126
00:11:04,619 --> 00:11:09,910
query to the DNS server to learn the IP address\nagain.
127
00:11:09,909 --> 00:11:14,289
Before moving on to R1, here’s one more\npoint about these PCs.
128
00:11:14,289 --> 00:11:19,490
In addition to a DNS cache, most devices have\n
129
00:11:22,458 --> 00:11:31,808
In Windows it’s in the C:\\Windows\\System32\\drivers\\etc\n
130
00:11:31,808 --> 00:11:35,189
Let’s see what’s in that file.
131
00:11:36,730 --> 00:11:43,060
By default there are no hosts listed, however\n
132
00:11:43,059 --> 00:11:47,078
by typing the IP address, a space, and then\nthe host name.
133
00:11:47,078 --> 00:11:52,998
I then returned to the command prompt and\n
134
00:11:52,999 --> 00:11:56,808
R1 because it had an entry in its hosts file.
135
00:11:56,808 --> 00:12:00,028
This isn’t DNS, it’s a simple alternative\nto DNS.
136
00:12:00,028 --> 00:12:05,789
A long time ago before DNS was invented, host\n
137
00:12:05,789 --> 00:12:09,759
In modern days a hosts file might be used\n
138
00:12:09,759 --> 00:12:14,909
local network if necessary, however DNS is\n
139
00:12:14,909 --> 00:12:20,259
Okay, so I hope that gave you a general understanding\n
140
00:12:20,259 --> 00:12:26,240
A client wants to access something using a\n
141
00:12:26,240 --> 00:12:31,198
But in order to access the website, it needs\n
142
00:12:31,198 --> 00:12:35,769
To learn the IP address, the client sends\n
143
00:12:38,339 --> 00:12:43,660
Now let’s look at how to configure DNS in\n
144
00:12:43,659 --> 00:12:49,778
Let me repeat, for hosts in a network to use\n
145
00:12:51,039 --> 00:12:55,110
They will simply forward the DNS messages\n
146
00:12:55,110 --> 00:13:01,438
However, the Cisco router itself can be configured\n
147
00:13:01,438 --> 00:13:07,159
If an internal DNS server is used, usually\n
148
00:13:07,159 --> 00:13:12,698
By ‘internal’ I mean a DNS server in the\n
149
00:13:12,698 --> 00:13:18,508
Also, a Cisco router can be configured as\n
150
00:13:18,509 --> 00:13:22,568
other commands using names instead of IP addresses.
151
00:13:22,568 --> 00:13:26,490
Here’s how to configure a router as a DNS\nserver.
152
00:13:26,490 --> 00:13:32,230
First, you should use the command IP DNS SERVER\n
153
00:13:32,230 --> 00:13:34,039
This configures the router to act as a DNS\nserver.
154
00:13:34,039 --> 00:13:41,629
If a client sends a DNS query to R1, R1 will\n
155
00:13:41,629 --> 00:13:46,230
However, for that to work R1 needs to have\nsome records.
156
00:13:46,230 --> 00:13:51,810
Use the IP HOST command, followed by the host\n
157
00:13:53,600 --> 00:13:58,430
I configured entries for R1 itself, PC1, PC2,\nand PC3.
158
00:13:58,429 --> 00:14:04,328
Next, it’s a good idea to configure an external\n
159
00:14:04,328 --> 00:14:10,068
R1 will query this server if it doesn’t\n
160
00:14:10,068 --> 00:14:15,149
I configured R1 to use Google’s DNS server\nat 8.8.8.8.
161
00:14:15,149 --> 00:14:18,690
I’ll demonstrate how this works in a minute.
162
00:14:18,690 --> 00:14:21,810
The final command is IP DOMAIN LOOKUP.
163
00:14:21,809 --> 00:14:24,859
This enables R1 to perform DNS queries.
164
00:14:24,860 --> 00:14:30,999
If this command isn’t enabled, R1 won’t\n
165
00:14:30,999 --> 00:14:37,100
However, this command is enabled by default,\n
166
00:14:37,100 --> 00:14:41,850
By the way, a lot of resources teach an old\n
167
00:14:43,649 --> 00:14:48,948
This is the old version of the command, however\n
168
00:14:48,948 --> 00:14:52,528
You should probably know both versions, with\n
169
00:14:52,528 --> 00:14:56,980
So, that’s how you configure a router to\nbe a DNS server.
170
00:14:56,980 --> 00:15:00,589
Now let me demonstrate how it works.
171
00:15:00,589 --> 00:15:03,839
So let’s say PC1 wants to ping PC2.
172
00:15:03,839 --> 00:15:09,440
By the way, I configured PC1 to use R1 as\n
173
00:15:09,440 --> 00:15:16,279
So I issue the PING PC2 command on PC1, however\n
174
00:15:16,278 --> 00:15:19,769
only a single ping, for the purpose of this\ndemonstration.
175
00:15:19,769 --> 00:15:26,188
PC1 doesn’t have an entry for PC2 in its\n
176
00:15:29,179 --> 00:15:35,318
It sends a query to its DNS server R1, asking\n
177
00:15:35,318 --> 00:15:42,099
R1 has an entry for PC2, I just configured\n
178
00:15:45,370 --> 00:15:52,940
Finally PC1 sends the ping to PC2, PC2 sends\n
179
00:15:52,940 --> 00:15:59,670
Now PC1 has entry for PC2 in its DNS cache,\n
180
00:15:59,669 --> 00:16:06,319
won’t have to perform a DNS query, it already\n
181
00:16:06,320 --> 00:16:09,679
Okay I’ve added the YouTube server to the\ndiagram.
182
00:16:09,678 --> 00:16:14,539
This time, I issued the command PING YOUTUBE.COM\n-N 1.
183
00:16:14,539 --> 00:16:17,498
So let me walk through that process again.
184
00:16:17,499 --> 00:16:22,689
Before PC1 can actually send the ping, it\n
185
00:16:22,688 --> 00:16:25,799
so it sends a query to its DNS server, R1.
186
00:16:25,799 --> 00:16:30,298
However, R1 doesn’t have an entry for youtube.com.
187
00:16:31,600 --> 00:16:39,310
Remember I used the IP NAME-SERVER 8.8.8.8\n
188
00:16:40,360 --> 00:16:44,369
That’s what it does, it sends a DNS query\nto 8.8.8.8.
189
00:16:44,369 --> 00:16:50,430
Google’s server replies, telling R1 the\n
190
00:16:50,429 --> 00:16:56,849
Now R1 is able to reply to PC1’s query,\n
191
00:16:56,850 --> 00:17:01,798
Finally PC1 is able to send the ping to YouTube,\n
192
00:17:01,798 --> 00:17:06,898
Sorry for the messy diagram, but I hope that\n
193
00:17:06,898 --> 00:17:12,989
R1 acts as a DNS server for PC1, but if it\n
194
00:17:12,990 --> 00:17:20,838
PC1 requests, it acts as a DNS client and\n
195
00:17:20,838 --> 00:17:25,980
To view both the configured hosts, as well\n
196
00:17:28,880 --> 00:17:34,590
For example, here you can see the cached entry\n
197
00:17:36,019 --> 00:17:40,150
Notice in the ‘flags’ column it says ‘temp’,\nfor temporary.
198
00:17:40,150 --> 00:17:43,900
Because this entry was learned via DNS it\nis not permanent.
199
00:17:43,900 --> 00:17:47,538
If it expires it will have to be re-learned.
200
00:17:47,538 --> 00:17:52,640
These manually configured entries, however,\n
201
00:17:52,640 --> 00:17:58,669
Next, here’s how to configure a Cisco router\nas a DNS client.
202
00:17:58,669 --> 00:18:03,519
Basically, two of the commands I already showed\n
203
00:18:05,119 --> 00:18:10,589
So, to demonstrate this I deleted all DNS\nsettings from R1.
204
00:18:10,589 --> 00:18:14,019
Then I tried to ping youtube.com, but it didn’t\nwork.
205
00:18:14,019 --> 00:18:19,250
R1 wasn’t able to translate ‘youtube.com’\nto an IP address.
206
00:18:19,250 --> 00:18:26,909
Then I used the command IP NAME-SERVER 8.8.8.8,\n
207
00:18:26,909 --> 00:18:30,799
I also used the command IP DOMAIN LOOKUP.
208
00:18:30,798 --> 00:18:35,200
Once again, this command is enabled by default\n
209
00:18:37,419 --> 00:18:40,049
Then I tried the ping again and it worked.
210
00:18:40,048 --> 00:18:43,859
So, we have configured R1 as a DNS client.
211
00:18:43,859 --> 00:18:47,329
However, this time it is not a DNS server.
212
00:18:47,329 --> 00:18:54,129
If PC1 tries to use R1 as a DNS server, R1\n
213
00:18:54,130 --> 00:18:57,889
Now there is one more optional command that\nyou can use.
214
00:18:57,888 --> 00:19:05,049
That is the IP DOMAIN NAME command, I specified\n
215
00:19:05,049 --> 00:19:10,288
You’ve probably heard the term ‘domain’\n
216
00:19:10,288 --> 00:19:13,420
I’ve mentioned it a few times in this video.
217
00:19:13,420 --> 00:19:19,720
Names like ‘google.com’ and ‘jeremysitlab.com’\n
218
00:19:19,720 --> 00:19:23,990
or area of administrative control in the Internet.
219
00:19:23,990 --> 00:19:30,558
For example, the domain name ‘google.com’\n
220
00:19:30,558 --> 00:19:37,609
this server ’dns.google.com’, Google’s\n
221
00:19:37,609 --> 00:19:41,089
under Google’s administration and control.
222
00:19:41,089 --> 00:19:45,569
When this command is applied, this will be\n
223
00:19:45,569 --> 00:19:48,259
without a specified domain name.
224
00:19:48,259 --> 00:19:56,730
For example, the command PING PC1 will actually\n
225
00:19:56,730 --> 00:20:01,460
Like the IP DOMAIN LOOKUP command, there is\n
226
00:20:03,230 --> 00:20:07,539
That old version is still supported in modern\n
227
00:20:07,539 --> 00:20:11,889
I will cover this command in a later video\nabout SSH.
228
00:20:11,890 --> 00:20:17,799
SSH is a protocol that can be used to connect\n
229
00:20:17,798 --> 00:20:20,519
a domain name is needed to enable SSH.
230
00:20:20,519 --> 00:20:25,289
I’ll cover this command more in that video.
231
00:20:25,289 --> 00:20:29,769
For review, here are the commands I showed\n
232
00:20:29,769 --> 00:20:34,880
use in the Windows command prompt and the\nCisco IOS commands.
233
00:20:34,880 --> 00:20:41,620
If you don’t remember any of these commands,\n
234
00:20:41,619 --> 00:20:46,109
Before moving on to the quiz, let’s review\n
235
00:20:46,109 --> 00:20:49,490
First I introduced the purpose of DNS.
236
00:20:49,490 --> 00:20:55,138
Basically it enables the use of easy-to-remember\n
237
00:20:57,259 --> 00:21:03,150
DNS clients send queries to DNS servers, asking\n
238
00:21:03,150 --> 00:21:09,038
youtube.com, and the server replies, telling\nit the IP address.
239
00:21:09,038 --> 00:21:13,440
Then I demonstrated some of the basic functions\n
240
00:21:13,440 --> 00:21:19,350
I showed how it used Google’s DNS server\n
241
00:21:19,349 --> 00:21:24,209
then it added that IP address to its own DNS\ncache.
242
00:21:24,210 --> 00:21:29,950
Finally I showed you how to configure a Cisco\n
243
00:21:29,950 --> 00:21:34,710
As I have already said multiple times, in\n
244
00:21:36,619 --> 00:21:40,439
Usually you have a separate DNS server fill\nthat role.
245
00:21:40,440 --> 00:21:44,160
However you still should know how to configure\nit.
246
00:21:44,160 --> 00:21:48,580
Make sure to watch until the end of the quiz\n
247
00:21:48,579 --> 00:21:53,058
ExSim for CCNA, the best practice exams for\nthe CCNA.
248
00:21:53,058 --> 00:21:58,298
Okay, let’s go to question 1 of the quiz.
249
00:21:58,298 --> 00:22:03,679
Which of the following Windows command prompt\n
250
00:22:06,548 --> 00:22:13,460
Pause the video now to find the correct answers,\nselect two.
251
00:22:13,460 --> 00:22:19,850
The correct answers are B, IPCONFIG /ALL and\nD, NSLOOKUP.
252
00:22:19,849 --> 00:22:24,548
Both of these commands will show the DNS server\n
253
00:22:24,548 --> 00:22:31,319
A, IPCONFIG displays things like the PC’s\n
254
00:22:31,319 --> 00:22:34,259
but not details like the DNS server.
255
00:22:34,259 --> 00:22:41,798
C, IPCONFIG /DISPLAYDNS shows the PC’s DNS\n
256
00:22:41,798 --> 00:22:48,079
Although the CCNA is focused on the Cisco\n
257
00:22:48,079 --> 00:22:52,970
operating systems is now a CCNA exam topic\n
258
00:22:58,798 --> 00:23:03,619
Which of the following statements about DNS\n
259
00:23:05,190 --> 00:23:12,528
Pause the video now to find the correct answers,\nselect two.
260
00:23:12,528 --> 00:23:19,388
The correct answers are B and D. DNS ‘A’\n
261
00:23:21,140 --> 00:23:26,570
And a Cisco router can be both a DNS server\n
262
00:23:28,038 --> 00:23:34,129
A is incorrect because messages greater than\n
263
00:23:35,130 --> 00:23:40,450
UDP is used for messages 512 bytes or less\nin size.
264
00:23:40,450 --> 00:23:47,769
As for C, quadruple A records, not triple\n
265
00:23:50,829 --> 00:23:58,740
PC1 is configured to use an external server,\n
266
00:23:58,740 --> 00:24:02,778
What DNS command is necessary on R1 to enable\nthis?
267
00:24:04,480 --> 00:24:10,940
Pause the video to think about the answer.
268
00:24:10,940 --> 00:24:16,130
The answer is D. No DNS configurations are\nneeded on R1.
269
00:24:16,130 --> 00:24:20,889
To forward DNS queries and replies between\n
270
00:24:23,079 --> 00:24:26,099
It will simply forward the packets as normal.
271
00:24:30,788 --> 00:24:35,669
Which of the following Cisco IOS commands\n
272
00:24:39,660 --> 00:24:45,629
Pause the video to think about the answer.
273
00:24:48,548 --> 00:24:54,609
It displays both the hosts learned via DNS\n
274
00:24:54,609 --> 00:25:00,469
B and D are not real commands, and C is the\n
275
00:25:00,470 --> 00:25:05,798
Okay, let’s go to question 5.
276
00:25:05,798 --> 00:25:09,910
Which of the following protocols can hosts\n
277
00:25:13,579 --> 00:25:20,240
Pause the video to think about your answer.
278
00:25:23,250 --> 00:25:28,048
Dynamic Host Configuration Protocol allows\n
279
00:25:28,048 --> 00:25:33,269
their IP address and subnet mask, default\n
280
00:25:33,269 --> 00:25:35,788
DHCP will be covered in another video.
281
00:25:35,788 --> 00:25:38,710
Okay, that’s all for the quiz.
282
00:25:38,710 --> 00:25:44,750
Now let’s take a look at a bonus question\n
283
00:25:44,750 --> 00:25:48,419
Okay here's today's Boson ExSim practice question.
284
00:25:48,419 --> 00:25:54,450
A web browser on HostA sends an HTTP request\nto WWW_server.
285
00:25:54,450 --> 00:25:58,720
This is the first time HostA has ever sent\n
286
00:25:58,720 --> 00:26:02,659
HostA does not use a hosts files.
287
00:26:02,659 --> 00:26:07,769
With which of the following devices does HostA\n
288
00:26:11,169 --> 00:26:14,639
A, only DNS_server and WWW_server.
289
00:26:14,638 --> 00:26:20,289
B, DNS_server, Default_GW, and WWW_server.
290
00:26:20,289 --> 00:26:25,528
C, only Default_GW and WWW_server.
291
00:26:29,058 --> 00:26:36,190
Okay pause the video now to find the correct\nanswer.
292
00:26:37,720 --> 00:26:42,288
First, does HostA established a TCP connection\nwith Default_GW?
293
00:26:44,419 --> 00:26:49,870
This router simply forwards traffic between\n
294
00:26:49,869 --> 00:26:55,359
something on this router so there's no need\n
295
00:26:57,440 --> 00:27:03,710
So it says this is the first time HostA has\n
296
00:27:03,710 --> 00:27:08,329
So that means it has no entry in its DNS cache\n
297
00:27:08,329 --> 00:27:14,288
And HostA also does not use a hosts file,\n
298
00:27:14,288 --> 00:27:17,339
learn the IP address of the web server.
299
00:27:17,339 --> 00:27:23,439
So, to learn the IP address from the DNS server,\n
300
00:27:23,440 --> 00:27:26,190
Does it establish a TCP connection?
301
00:27:28,720 --> 00:27:35,220
As I said in this video, standard DNS queries\n
302
00:27:35,220 --> 00:27:40,308
So there's no need to establish a TCP connection\n
303
00:27:40,308 --> 00:27:42,509
Finally, how about the web server?
304
00:27:42,509 --> 00:27:44,558
Does it establish a TCP connection?
305
00:27:44,558 --> 00:27:50,398
Yes, a web browser on HostA sends an HTTP\n
306
00:27:50,398 --> 00:27:58,528
HTTP uses TCP port 80, so HostA must establish\n
307
00:27:58,528 --> 00:28:03,378
So that means the answer is D, only WWW_server.
308
00:28:03,378 --> 00:28:06,959
Click on show answer and there it is, correct.
309
00:28:06,960 --> 00:28:09,288
So here is Boson's explanation.
310
00:28:09,288 --> 00:28:14,148
You can pause the video to read it, and I\nrecommend you do.
311
00:28:14,148 --> 00:28:19,248
They also have a reference to some documentation\n
312
00:28:25,609 --> 00:28:28,398
Okay so that's Boson ExSim for the CCNA.
313
00:28:28,398 --> 00:28:32,339
These are by far the best practice exams for\nthe CCNA.
314
00:28:32,339 --> 00:28:38,699
If you want to get Boson ExSim, please follow\n
315
00:28:38,700 --> 00:28:41,940
There are supplementary materials for this\nvideo.
316
00:28:41,940 --> 00:28:45,659
There is a flashcard deck to use with the\nsoftware ‘Anki’.
317
00:28:45,659 --> 00:28:50,490
There will also be a packet tracer practice\n
318
00:28:50,490 --> 00:28:53,109
That will be in the next video.
319
00:28:53,109 --> 00:28:56,808
Sign up for my mailing list via the link in\n
320
00:28:56,808 --> 00:29:02,319
the flashcards and packet tracer lab files\nfor the course.
321
00:29:02,319 --> 00:29:07,240
Before finishing today’s video I want to\n
322
00:29:07,240 --> 00:29:11,058
To join, please click the ‘Join’ button\nunder the video.
323
00:29:11,058 --> 00:29:17,359
Thank you to Donald, C Mohd, Gustavo, Anthony,\n
324
00:29:17,359 --> 00:29:24,349
Justin, Prakaash, Nasir, Erlison, Apogee,\n
325
00:29:24,349 --> 00:29:30,168
Velvijaykum, Mark, Yousif, Boson Software,\n
326
00:29:30,169 --> 00:29:36,230
Sorry if I pronounced your name incorrectly,\n
327
00:29:36,230 --> 00:29:41,269
This is the list of JCNP-level members at\n
328
00:29:43,009 --> 00:29:47,370
If you signed up recently and your name isn’t\n
329
00:29:51,419 --> 00:29:55,399
Please subscribe to the channel, like the\n
330
00:29:55,398 --> 00:29:58,668
with anyone else studying for the CCNA.
331
00:29:58,669 --> 00:30:01,549
If you want to leave a tip, check the links\nin the description.
332
00:30:01,548 --> 00:30:07,298
I'm also a Brave verified publisher and accept\n
27389
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.