WEBVTT - This file was automatically generated by VIMEO

0
00:00:05.300 --> 00:00:08.600
Hello and welcome back. So let's continue

1
00:00:08.600 --> 00:00:11.900
 with our networking commands. So the

2
00:00:11.900 --> 00:00:14.400
 First Command that we are going to see is who is

3
00:00:14.400 --> 00:00:17.500
 now this command is helpful to

4
00:00:17.500 --> 00:00:21.300
 identify and display the information about any

5
00:00:20.300 --> 00:00:23.700
 specific domain. So let's

6
00:00:23.700 --> 00:00:27.600
 say if you want to know information about Google so you

7
00:00:26.600 --> 00:00:29.500
 simply have to type who is

8
00:00:29.500 --> 00:00:32.800
 space google.com and you

9
00:00:32.800 --> 00:00:36.200
 can see we have got a huge output onto

10
00:00:35.200 --> 00:00:38.500
 our screen. Let's quickly understand

11
00:00:38.500 --> 00:00:39.900
 the output

12
00:00:41.100 --> 00:00:44.400
So the first thing that we can see over here is the domain name and the

13
00:00:44.400 --> 00:00:48.100
 top level domain is com. All right, you can

14
00:00:47.100 --> 00:00:49.100
 see the address.

15
00:00:50.500 --> 00:00:53.200
The address is us and you can see a lot

16
00:00:53.200 --> 00:00:54.800
 of more other details.

17
00:00:55.500 --> 00:00:58.500
And let's quickly scroll down and let's

18
00:00:58.500 --> 00:01:01.500
 see. What are the other details there have

19
00:01:01.500 --> 00:01:04.300
 been given over here. You can see the name server, which is

20
00:01:04.300 --> 00:01:08.100
 ns1.google.com. We have different four

21
00:01:07.100 --> 00:01:10.500
 nameservers, which have been

22
00:01:10.500 --> 00:01:13.500
 assigned to google.com the domain

23
00:01:13.500 --> 00:01:13.600
 name.

24
00:01:14.600 --> 00:01:16.400
and a lot of other information

25
00:01:17.400 --> 00:01:20.400
Let's quickly clear the screen and let's see the same

26
00:01:20.400 --> 00:01:22.800
 result for facebook.com.

27
00:01:24.100 --> 00:01:27.300
So who is facebook.com is the command?

28
00:01:28.200 --> 00:01:31.200
You can see over here the admin email address domain at

29
00:01:31.200 --> 00:01:32.700
 the rate fb.com.

30
00:01:33.700 --> 00:01:37.300
Facebook Inc is the tech organization the

31
00:01:36.300 --> 00:01:39.900
 text Street city state postal

32
00:01:39.900 --> 00:01:40.700
 code Etc.

33
00:01:41.300 --> 00:01:44.600
Again, the tech email the same email address the name

34
00:01:44.600 --> 00:01:47.700
 server, which says C dot NS dot facebook.com and

35
00:01:47.700 --> 00:01:48.200
 so on.

36
00:01:49.200 --> 00:01:52.800
So this way one can know and identify some

37
00:01:52.800 --> 00:01:55.400
 of the details about any

38
00:01:55.400 --> 00:01:58.800
 organization from the command which is who is

39
00:01:59.600 --> 00:02:02.300
let's move ahead to the next command that

40
00:02:02.300 --> 00:02:05.900
 we are going to see which is the Dig command.

41
00:02:06.600 --> 00:02:09.800
Now one thing you should remember which is

42
00:02:09.800 --> 00:02:12.800
 dig is very very helpful to identify

43
00:02:12.800 --> 00:02:15.500
 information about the domain

44
00:02:15.500 --> 00:02:18.800
 name and the DNS of it. So DNS stands

45
00:02:18.800 --> 00:02:21.700
 for domain name system, and there are

46
00:02:21.700 --> 00:02:24.400
 multiple records into the DNS records which

47
00:02:24.400 --> 00:02:27.600
 are being helpful for any domain name

48
00:02:27.600 --> 00:02:31.100
 and we are going to enumerate those DNS records

49
00:02:30.100 --> 00:02:33.200
 with the help of the command, which is

50
00:02:33.200 --> 00:02:33.800
 dig.

51
00:02:34.900 --> 00:02:37.700
So for that you simply need to type the command dig

52
00:02:37.700 --> 00:02:41.100
 and the domain name you want to identify information

53
00:02:40.100 --> 00:02:41.700
 about?

54
00:02:42.600 --> 00:02:45.100
So let's quickly write here facebook.com.

55
00:02:46.700 --> 00:02:47.600
and hit enter

56
00:02:48.300 --> 00:02:51.600
and you can see over here. We have got the output the

57
00:02:51.600 --> 00:02:54.900
 big version facebook.com and we

58
00:02:54.900 --> 00:02:57.200
 have the output over here with says the a

59
00:02:57.200 --> 00:02:57.800
 record is this

60
00:02:58.700 --> 00:03:02.500
The query time took 58 milliseconds Etc.

61
00:03:02.500 --> 00:03:05.600
 And this is the DNS server, which is the

62
00:03:05.600 --> 00:03:08.200
 default Google DNS server through which

63
00:03:08.200 --> 00:03:11.400
 the request was sent but one important thing to notice

64
00:03:11.400 --> 00:03:14.500
 over here is the a record of the

65
00:03:14.500 --> 00:03:14.900
 server.

66
00:03:15.600 --> 00:03:15.900
now

67
00:03:16.600 --> 00:03:17.000
let's

68
00:03:17.900 --> 00:03:21.000
clear the screen and let's see the different

69
00:03:20.900 --> 00:03:24.100
 records for different organizations. So

70
00:03:23.100 --> 00:03:27.300
 let's say we want to see the details about

71
00:03:26.300 --> 00:03:29.600
 apple.com and we want

72
00:03:29.600 --> 00:03:32.000
 to see the cname record. So for that we need to

73
00:03:32.300 --> 00:03:35.700
 type dig cname and the domain name. So

74
00:03:35.700 --> 00:03:38.700
 Big C name apple.com

75
00:03:39.500 --> 00:03:41.700
and you can see we have got the details over here.

76
00:03:42.800 --> 00:03:45.900
Now this is the details for

77
00:03:45.900 --> 00:03:48.400
 the Authority Section when you can

78
00:03:48.400 --> 00:03:50.900
 see the details about what has been given over here.

79
00:03:51.700 --> 00:03:54.300
Let me just clear this and let's try

80
00:03:54.300 --> 00:03:57.400
 on another Target, which is actify.in.

81
00:03:58.800 --> 00:04:02.000
And here you can see we have the

82
00:04:01.500 --> 00:04:05.200
 server hosted on namecheap hosting.

83
00:04:04.200 --> 00:04:07.700
 Hence. We are able to see this

84
00:04:07.700 --> 00:04:08.200
 result.

85
00:04:08.900 --> 00:04:11.600
In case the domain name

86
00:04:11.600 --> 00:04:14.300
 has been pointed to cloud services like

87
00:04:14.300 --> 00:04:17.300
 AWS. You should have been seeing

88
00:04:17.300 --> 00:04:20.900
 here is the S3 bucket or

89
00:04:20.900 --> 00:04:23.500
 if it has been pointed to Azure. You must

90
00:04:23.500 --> 00:04:25.600
 have seen Azure or GitHub.

91
00:04:26.100 --> 00:04:29.800
So I hope you guys understood this similarly. You can see different

92
00:04:29.800 --> 00:04:33.000
 records as well. So let's say dig MX.

93
00:04:32.600 --> 00:04:35.100
 And in this case, we want to

94
00:04:35.100 --> 00:04:36.400
 see the AmEx records.

95
00:04:36.900 --> 00:04:39.600
And we are using Google mail for

96
00:04:39.600 --> 00:04:42.800
 our mails, hence. You can see here the

97
00:04:42.800 --> 00:04:45.800
 answer section and you can see the MX records

98
00:04:45.800 --> 00:04:49.100
 point to google.com. Similarly if

99
00:04:48.100 --> 00:04:51.500
 you dig MX for

100
00:04:51.500 --> 00:04:53.000
 send grid.

101
00:04:54.400 --> 00:04:56.200
Now they are their own.

102
00:04:57.300 --> 00:05:00.500
Service now they have their own service for email

103
00:05:00.500 --> 00:05:04.700
 and you can see there. This may be their personal email MX

104
00:05:03.700 --> 00:05:06.600
 servers. So I hope you guys understood this

105
00:05:06.600 --> 00:05:09.600
 how you can see information about the DNS

106
00:05:09.600 --> 00:05:11.900
 records using the dick command. Thank you.
