1
00:00:00,790 --> 00:00:02,290
Hello and welcome back.

2
00:00:02,470 --> 00:00:07,990
So in this video, we are going to continue our networking commands for Linux.

3
00:00:08,080 --> 00:00:09,430
So let's quickly begin.

4
00:00:09,730 --> 00:00:17,290
So the command that we are going to see is used to display the DNS IP address for the domain name.

5
00:00:17,680 --> 00:00:25,000
Yes, we have already seen commands to identify the DNS records and DNS information about the target

6
00:00:25,000 --> 00:00:27,820
domain using the command dig.

7
00:00:28,000 --> 00:00:31,990
Now we're going to use the next command, which is host for that.

8
00:00:31,990 --> 00:00:36,160
You simply need to type host and the targeted domain name.

9
00:00:37,030 --> 00:00:44,500
And you can see we got an instant response which says Google dot com has an address which is this.

10
00:00:44,500 --> 00:00:52,720
So this is the IPV four address as well as we are being given a IPV six address which is over here.

11
00:00:53,170 --> 00:01:03,460
Also, we get to see that Google.com mail, which is the WM Records is handled by these records and

12
00:01:03,460 --> 00:01:06,400
for obvious reasons they are using their own mail servers.

13
00:01:06,700 --> 00:01:11,590
Similar output which you can see over here for Rectify not in.

14
00:01:14,300 --> 00:01:19,070
And you can see it in his address, which is this IP address.

15
00:01:20,290 --> 00:01:25,000
The mail server that has been used by hacked ify is google.com.

16
00:01:25,240 --> 00:01:27,430
Let's see, the same for apple.com.

17
00:01:28,610 --> 00:01:31,430
So the command is going to be host Apple.com.

18
00:01:31,820 --> 00:01:38,660
You can see Apple.com has the IP address, which is this the mail is being handled by their private

19
00:01:38,660 --> 00:01:41,360
mail servers, as you can see over here.

20
00:01:41,750 --> 00:01:44,780
So I hope you guys understood how you can use the command which is.

21
00:01:44,780 --> 00:01:50,210
Host Let's quickly see a new command which is GNSS lookup.

22
00:01:50,780 --> 00:01:58,220
So unless lookup is very, very handy to identify the name servers for the targeted domain names, for

23
00:01:58,220 --> 00:02:03,410
example, let's see the NSS record for Google.com.

24
00:02:03,920 --> 00:02:10,550
And you can see over here this is the DNS server which is being used to query this result.

25
00:02:10,700 --> 00:02:18,260
And the IP address is 8.8.8.8, which is the Google DNS service default IP address.

26
00:02:19,110 --> 00:02:26,850
Also you can see over here the non authoritative answer for Google dot com is this IP address which

27
00:02:26,850 --> 00:02:28,680
belongs to Google.

28
00:02:28,860 --> 00:02:31,680
Let's get back over here on this terminal.

29
00:02:31,710 --> 00:02:32,280
All right.

30
00:02:32,280 --> 00:02:39,270
So the next command that we are going to see is used to display the network address of the host name.

31
00:02:39,720 --> 00:02:43,320
Now I have switched back to the parrot OS.

32
00:02:43,590 --> 00:02:51,780
So let's quickly type hostname space hyphen I and hit enter and you can see the host name of this device

33
00:02:51,780 --> 00:02:54,630
is basically the loopback IP address.

34
00:02:54,660 --> 00:02:55,320
Perfect.

35
00:02:55,920 --> 00:03:02,400
Now, if you want to display all the local IP addresses of this host for that, you can simply type

36
00:03:02,400 --> 00:03:04,230
capital A and hit enter.

37
00:03:04,590 --> 00:03:11,820
And here you can see the local IP addresses that have been assigned to this system are being shown over

38
00:03:11,820 --> 00:03:12,300
here.

39
00:03:12,300 --> 00:03:19,080
And you can see there are total three IP addresses which are being shown because this system contains

40
00:03:19,080 --> 00:03:21,150
three network adapters.

41
00:03:22,140 --> 00:03:29,910
So I hope you guys understood how you can see the hosting the local IP address for the host as well

42
00:03:29,910 --> 00:03:35,640
as all the local IP addresses for the host that contains different adapters.

43
00:03:36,030 --> 00:03:36,750
Thank you.
