WEBVTT - This file was automatically generated by VIMEO

0
00:00:04.800 --> 00:00:07.200
Hello everyone. So in this

1
00:00:07.200 --> 00:00:10.400
 video we are going to discuss about DNS.

2
00:00:12.800 --> 00:00:15.200
DNS is the protocol which works on port number

3
00:00:15.200 --> 00:00:15.800
 53.

4
00:00:17.100 --> 00:00:20.600
DNS stands for domain name server. Sometimes also

5
00:00:20.600 --> 00:00:23.400
 called as domain name service or domain name

6
00:00:23.400 --> 00:00:23.800
 system.

7
00:00:25.100 --> 00:00:26.700
So what is the use of DNS?

8
00:00:27.500 --> 00:00:30.900
DNS has made our life more easier

9
00:00:30.900 --> 00:00:31.900
 and simpler.

10
00:00:32.700 --> 00:00:36.000
Why because humans cannot remember

11
00:00:35.100 --> 00:00:39.000
 IP addresses humans tend

12
00:00:38.200 --> 00:00:41.000
 to remember names it is

13
00:00:41.500 --> 00:00:43.000
 easy for us to remember names.

14
00:00:44.500 --> 00:00:47.300
machines can remember numbers and

15
00:00:47.300 --> 00:00:48.200
 IP addresses

16
00:00:48.900 --> 00:00:51.500
So if I ask you to tell

17
00:00:51.500 --> 00:00:54.200
 me 10 shopping websites name, you will be able

18
00:00:54.200 --> 00:00:57.200
 to quickly tell me but you won't be able to

19
00:00:57.200 --> 00:01:01.200
 tell me the IP addresses of those website. Why because

20
00:01:00.200 --> 00:01:03.000
 you cannot remember numbers.

21
00:01:04.200 --> 00:01:07.700
Perfect. So in this case DNS comes

22
00:01:07.700 --> 00:01:08.400
 to help

23
00:01:09.500 --> 00:01:12.500
whenever we type any URL in the browser.

24
00:01:13.500 --> 00:01:16.800
in the background the URL to IP

25
00:01:16.800 --> 00:01:17.200
 conversion

26
00:01:18.200 --> 00:01:19.600
Is done by DNS?

27
00:01:20.300 --> 00:01:23.500
The DNS server finds where to

28
00:01:23.500 --> 00:01:26.300
 locate the URL address or the

29
00:01:26.300 --> 00:01:28.600
 web address. The user has given

30
00:01:30.300 --> 00:01:34.300
it it basically sees whether this

31
00:01:33.300 --> 00:01:36.400
 URL is pointing to

32
00:01:36.400 --> 00:01:39.500
 which IP address and then resolves it

33
00:01:39.500 --> 00:01:42.400
 and gives you the result onto your browser.

34
00:01:44.100 --> 00:01:47.400
So DNS is used to URL to

35
00:01:47.400 --> 00:01:49.400
 IP mapping and vice versa.

36
00:01:49.800 --> 00:01:52.900
You can also open a website by typing

37
00:01:52.900 --> 00:01:53.900
 the IP address.

38
00:01:54.800 --> 00:01:55.700
or the URL

39
00:01:56.500 --> 00:02:00.400
As you can see I've given an example of google.com. If

40
00:01:59.400 --> 00:02:02.600
 you type google.com into the

41
00:02:02.600 --> 00:02:05.500
 browser your request goes to this IP addresses.

42
00:02:05.500 --> 00:02:07.600
 This is done by DNS.

43
00:02:09.300 --> 00:02:12.700
And vice versa. If you give the IP address your request

44
00:02:12.700 --> 00:02:15.300
 is going to resolve to google.com.

45
00:02:17.100 --> 00:02:18.900
So, let's see the practical.

46
00:02:21.400 --> 00:02:24.500
Over here on my terminal I am going to send a

47
00:02:24.500 --> 00:02:26.500
 ping request to Google.

48
00:02:27.600 --> 00:02:31.000
So what is Ping so ping is

49
00:02:30.400 --> 00:02:32.400
 basically a command.

50
00:02:33.100 --> 00:02:36.700
Or a utility which is used to send

51
00:02:36.700 --> 00:02:39.700
 an icmp request to the

52
00:02:39.700 --> 00:02:43.100
 server and no the status that

53
00:02:42.100 --> 00:02:45.100
 if the host is alive or down.

54
00:02:45.700 --> 00:02:48.300
So basically ping is used to send

55
00:02:48.300 --> 00:02:51.600
 icmp request and get a reply for that

56
00:02:51.600 --> 00:02:54.700
 icmp request to determine the status

57
00:02:54.700 --> 00:02:55.500
 of the host.

58
00:02:56.800 --> 00:02:59.400
So you can see I am sending a ping request to

59
00:02:59.400 --> 00:03:02.100
 Google and I'm getting a reply from Google.

60
00:03:03.700 --> 00:03:07.300
As you can see, this is the IP address which from

61
00:03:06.300 --> 00:03:09.200
 which I'm getting the reply.

62
00:03:09.800 --> 00:03:11.700
I will just copy this IP address.

63
00:03:13.800 --> 00:03:16.600
And now I will open up a browser.

64
00:03:22.900 --> 00:03:25.600
So as you can see in the browser, I'm going to paste this

65
00:03:25.600 --> 00:03:27.900
 IP address and I'm going to hit enter.

66
00:03:28.700 --> 00:03:30.600
And let's see what happens.

67
00:03:31.900 --> 00:03:33.200
Yes, so as you can see.

68
00:03:35.300 --> 00:03:38.500
I am able to open Google using the IP

69
00:03:38.500 --> 00:03:41.800
 address as well as the URL. Let me

70
00:03:41.800 --> 00:03:45.200
 again give the IP address and hit enter. It redirects

71
00:03:44.200 --> 00:03:47.000
 me to the google.com.

72
00:03:48.700 --> 00:03:51.100
To using the IP address as well as

73
00:03:51.100 --> 00:03:54.200
 the domain name. I am able to reach to this

74
00:03:54.200 --> 00:03:57.500
 web server. This is how a DNS works.

75
00:03:57.500 --> 00:03:59.700
 I hope you guys understood. Thank you.
