1 00:00:01,230 --> 00:00:08,490 Now let's see another command and s lookup that is name server lookup. 2 00:00:08,910 --> 00:00:14,730 We use it to find out the information about domain name system of our target. 3 00:00:14,970 --> 00:00:23,460 Right now, if I type in this lookup and hit enter, it's showing the default server that is del cns 4 00:00:23,470 --> 00:00:24,720 dot dot in. 5 00:00:25,290 --> 00:00:33,420 So the Kona is my internet service provider and this is the default IP address OC. 6 00:00:33,780 --> 00:00:40,290 Now if you remember, we have got this same IP address on our previous experiment. 7 00:00:40,290 --> 00:00:46,500 That is when we are tracing a route OC see this for the number IP address. 8 00:00:46,500 --> 00:00:50,760 This is same as this one OC. 9 00:00:51,600 --> 00:00:56,310 So this is the name server for my computer OC. 10 00:00:57,000 --> 00:00:59,730 Now let's try this on our target. 11 00:00:59,730 --> 00:01:01,590 That is facebook dot com. 12 00:01:11,320 --> 00:01:14,920 Now let's try this on one another website. 13 00:01:21,690 --> 00:01:28,200 See, this is the domain name and it is protected by Cloudflare. 14 00:01:29,190 --> 00:01:33,780 So we are getting the DNS information here. 15 00:01:35,780 --> 00:01:36,320 Right. 16 00:01:39,210 --> 00:01:44,820 Now let's try to find out C name that is canonical name. 17 00:01:45,480 --> 00:01:48,990 Now you might be thinking what is seen in C. 18 00:01:49,860 --> 00:01:56,250 Suppose there are two domain names, facebook dot com and w w w dot facebook.com pointing towards the 19 00:01:56,250 --> 00:01:57,390 same application. 20 00:01:57,390 --> 00:02:08,610 So instead of maintaining two different records for DNS, what we can do is we can set a record for 21 00:02:08,940 --> 00:02:22,440 Facebook dot com, which is pointing towards the server IP address and we will set C name record for 22 00:02:22,800 --> 00:02:29,460 w w w dot facebook dot com pointing towards facebook dot com. 23 00:02:30,930 --> 00:02:36,030 So if user run any of these, it will redirect it to the same website. 24 00:02:38,040 --> 00:02:40,410 So this is what a C name is. 25 00:02:40,410 --> 00:02:43,440 Now let's see how to do this in practical. 26 00:02:43,740 --> 00:02:52,530 So set type two C name and let's type our target. 27 00:02:56,150 --> 00:03:00,920 So again, a new name for Facebook is start meaning and this. 28 00:03:02,540 --> 00:03:03,140 Right. 29 00:03:03,560 --> 00:03:11,960 And this is the other information that is the default server of my Internet service provider. 30 00:03:11,960 --> 00:03:16,640 So this lookup helps us to determine information about domain name system.