1 00:00:09,810 --> 00:00:16,530 Both or something has done both Number Eight get the static cash on your router with a regular expression. 2 00:00:16,560 --> 00:00:21,110 Example point to the router local IP address. 3 00:00:21,530 --> 00:00:27,930 OK what we're going to do we have to create a regular expression called example that means when you 4 00:00:27,930 --> 00:00:34,750 open a browser which has any of those letters which is the x a and b l e. 5 00:00:35,040 --> 00:00:41,340 Ok then it will be pointing to the local IP address of the microstate Crowther. 6 00:00:41,430 --> 00:00:44,390 And let me show you that in a moment. 7 00:00:44,430 --> 00:00:53,370 Now if I open here that is the common line of the computer if I'm being Googled you can see that it 8 00:00:53,370 --> 00:01:03,720 is giving a reply from the IPO account which is 172 to 170 remember that 172 that to 1 7. 9 00:01:03,750 --> 00:01:04,490 All right. 10 00:01:04,550 --> 00:01:12,610 Now I will leave that open and then I will go to my click router and from here I will have to go to 11 00:01:12,740 --> 00:01:18,760 static and I had to create a static here with a regular expression 12 00:01:21,550 --> 00:01:22,920 example. 13 00:01:23,660 --> 00:01:29,870 Ok so I have to put the or the star and then I write the example 14 00:01:34,500 --> 00:01:41,660 and this trigger expression is pointing to the idea of 1 2 1 6 8 1 2 5 4 that this dies out that is 15 00:01:41,720 --> 00:01:43,130 of the mind. 16 00:01:43,620 --> 00:01:45,840 And then I will say OK. 17 00:01:46,650 --> 00:01:47,050 All right. 18 00:01:47,070 --> 00:01:49,470 Now this is what I need to do for now. 19 00:01:49,470 --> 00:01:53,160 And let's go now to the other points and then I'll show you what will happen when we think now will 20 00:01:53,340 --> 00:01:54,180 come. 21 00:01:54,210 --> 00:02:00,190 Number 8 is done palmtop and I cleared the DNS cache on your router and on your PC. 22 00:02:00,390 --> 00:02:01,340 So let's do that. 23 00:02:01,380 --> 00:02:02,840 I go to the router here. 24 00:02:03,880 --> 00:02:10,450 So I close this one and from here I will say flush cash all the Is all kashering. 25 00:02:10,690 --> 00:02:23,590 And then also on my PC I will say here the command is an IP config slash flash DNS so any DNS which 26 00:02:23,590 --> 00:02:28,330 are inside your computer also will be clear. 27 00:02:28,540 --> 00:02:36,850 All right so we have done that part number 9 is done now but number 10 things to come from your PC and 28 00:02:36,850 --> 00:02:39,070 we see which IP address we are getting. 29 00:02:39,070 --> 00:02:43,840 So I have created Elger expression and I name it example. 30 00:02:43,960 --> 00:02:50,340 And then I said this is to point to the IP address of the mike because then I said that now if we been 31 00:02:50,410 --> 00:02:56,190 google.com then Google would come and the domain name. 32 00:02:56,440 --> 00:02:59,460 They have some letters which are also examples. 33 00:02:59,470 --> 00:03:02,710 So we have the example within Google. 34 00:03:02,720 --> 00:03:08,890 They have also and then match the letters which are an example then in this case when I think Google 35 00:03:08,890 --> 00:03:14,980 the gang before it was showing me google come IP address now which would show me the IP address of the 36 00:03:14,980 --> 00:03:21,360 microfilter itself because example disporting to that IP address I hope that this is clear now that 37 00:03:21,590 --> 00:03:22,930 we're doing now. 38 00:03:23,140 --> 00:03:29,680 So let me just show you that again we see why we pay Google the converts giving 1 7 2 to 1 7. 39 00:03:29,680 --> 00:03:36,800 Now if I again Google the come because he is giving me the IP address of one I will say that 1 2 5 4 40 00:03:36,820 --> 00:03:43,380 because Google the com domain has some letters which match and Scheidegger expression that I'm creating. 41 00:03:43,570 --> 00:03:48,840 And then that means that this expression would point to the IP address of the router. 42 00:03:48,960 --> 00:03:54,610 All right so that is the Hodie that I wanted to show you how you can create static DNS. 43 00:03:54,610 --> 00:04:03,970 Now of course this is just for lab if you want to have some permanent DNS static and trees then you 44 00:04:03,970 --> 00:04:10,490 can create the domain name and you can create next to it the IP address of that domain name. 45 00:04:10,600 --> 00:04:17,380 And in case any dynamic entry will come it will not override the static so the static is having the 46 00:04:17,380 --> 00:04:18,730 priority number one. 47 00:04:18,790 --> 00:04:26,530 For example if you put on your router a domain name of ABC dot com and then you put it forward an IP 48 00:04:26,530 --> 00:04:27,250 address. 49 00:04:27,430 --> 00:04:34,870 Then in this case if you can come dynamically with another IP address it will not override the static 50 00:04:34,870 --> 00:04:38,810 one so the static one is the one which will remain correct. 51 00:04:38,860 --> 00:04:40,380 Number that is done. 52 00:04:40,660 --> 00:04:46,050 Now think BBC see all that you gave from which IP address you get in. 53 00:04:46,060 --> 00:04:58,990 So let's try if I go here I think DDC the CEO that you carry so you can see I'm getting now an IP address 54 00:04:59,020 --> 00:05:01,110 from a different range. 55 00:05:01,180 --> 00:05:02,170 And the reason why. 56 00:05:02,170 --> 00:05:04,630 Because BBC does see all that UK. 57 00:05:04,750 --> 00:05:10,830 Those letters are not inside any of the letters of the expression that I created which is example. 58 00:05:11,020 --> 00:05:18,220 So we have he is not that X is not there is not there and is not that he is not there and it is not 59 00:05:18,220 --> 00:05:19,590 there and he is not there. 60 00:05:19,750 --> 00:05:24,820 That's why it bypassed the static DNS that I have created. 61 00:05:24,820 --> 00:05:26,590 All right phone number 11 is down. 62 00:05:26,920 --> 00:05:30,630 But number two I'll remove the static DNS from your micrograph. 63 00:05:30,960 --> 00:05:31,640 Let's do that. 64 00:05:31,680 --> 00:05:40,060 I will go to the mike the IP and then I'll go to DNS and that the static and I will remove this one 65 00:05:42,320 --> 00:05:46,430 part number 12 is down we have removed the static units that we have created. 66 00:05:46,480 --> 00:05:51,010 I'm a 30 second static DNS entry to my network training camp. 67 00:05:51,290 --> 00:05:51,620 All right. 68 00:05:51,620 --> 00:05:59,360 So what I need to do I have first to spring to mind that's we're training to know what is the IP address 69 00:05:59,360 --> 00:06:00,910 of that domain. 70 00:06:01,200 --> 00:06:13,920 All right so I take this I gatherer's that is of the domain of my network them now I go to the DNS again 71 00:06:13,950 --> 00:06:22,830 and then the static and then from here I will write my network training camp and then I pull the idea 72 00:06:23,000 --> 00:06:25,450 out and then I will say OK. 73 00:06:25,750 --> 00:06:33,120 So point number 13 is dumb both number 14 get the DNS cache on the mike to Katar and on your PC that 74 00:06:33,200 --> 00:06:35,000 go to the microstructure first. 75 00:06:35,380 --> 00:06:40,790 And from here I will go to cash and then I will flush the cash. 76 00:06:40,870 --> 00:06:42,880 I go here to my PC. 77 00:06:43,120 --> 00:06:52,300 I will say topical fake slash flushed us both under-14 is not one number 15 I think to my network training 78 00:06:52,300 --> 00:06:53,550 that come on your PC. 79 00:06:53,550 --> 00:06:55,340 Does it show the DNS cache. 80 00:06:55,390 --> 00:06:57,190 So I open the thing here. 81 00:06:57,280 --> 00:07:04,360 I will also open the router and that is the cache now so we can see that what I have here I have the 82 00:07:04,430 --> 00:07:11,530 monitor training that is map to the IP address of the server my threatening to come and we have here 83 00:07:11,530 --> 00:07:15,060 the DNS cache and let's now try to ping. 84 00:07:15,140 --> 00:07:21,080 I will just flush the DNS and I will think to monitor training. 85 00:07:21,310 --> 00:07:29,230 So you can see now if I put three of my honesty that is ongoing but inside the DNS cache we don't see 86 00:07:29,320 --> 00:07:29,830 anything. 87 00:07:29,830 --> 00:07:33,920 The reason why is because it has a static matching. 88 00:07:34,030 --> 00:07:36,760 OK so this one is being static. 89 00:07:37,510 --> 00:07:41,250 And that's the reason why we don't see anything in the cache. 90 00:07:41,320 --> 00:07:42,140 Let's stop that. 91 00:07:42,190 --> 00:07:44,620 So point number 15 is done. 92 00:07:45,030 --> 00:07:51,010 When I was 16 disable the DNS cache flush the DNS on your PC on your router being to my network planning 93 00:07:51,090 --> 00:07:53,070 come does it show on the caches. 94 00:07:53,350 --> 00:08:00,160 So what we need now to do we have to go to the mat to drop it first I will disable this whether I have 95 00:08:00,160 --> 00:08:06,520 correct it so I don't have any more IMAP for my trying to come outside side to side gather. 96 00:08:06,760 --> 00:08:11,050 The second thing as I need to flush the DNS on the mike cropper. 97 00:08:11,170 --> 00:08:19,480 The third thing I need to also flush the DNS inside my computer and now make it pink and look now to 98 00:08:19,480 --> 00:08:26,200 the DNS gosh because she directly the discussion is showing up before it was not showing up because 99 00:08:26,200 --> 00:08:27,330 this was active. 100 00:08:27,370 --> 00:08:34,410 Now this was just disable then we can see this now showing up where both number 16 is done and now phone 101 00:08:34,410 --> 00:08:39,630 number 17 we need to reset the router for the upcoming Lab. So let's do that. 102 00:08:39,630 --> 00:08:49,850 I have to go to the router here again and then from here I will go to System and then reset configuration 103 00:08:50,090 --> 00:08:56,370 and all for confirmation and reset both number 17 is 9 and we have reset this out. 104 00:08:56,720 --> 00:08:59,050 So this is the first stop of this course. 105 00:08:59,060 --> 00:09:06,500 This lab was all about the DNS so I have showed you why you need DNS on your microfilter how you can 106 00:09:06,500 --> 00:09:09,640 set that to allow the request to come to the counter. 107 00:09:09,650 --> 00:09:16,000 And I said that you should be careful that when you check this setting on you might out that security 108 00:09:16,000 --> 00:09:21,800 might be started because anyone else that can use your my clicks there to be like a DNS for them. 109 00:09:21,990 --> 00:09:26,080 And in this case you will have a lot of traffic traffic. 110 00:09:26,180 --> 00:09:31,480 We call it unwanted traffic because you don't want someone to use your band was in order to send you 111 00:09:31,490 --> 00:09:33,060 DNS queries. 112 00:09:33,140 --> 00:09:39,290 And also I have showed you how you can let the router be configured to allow the computer to connect 113 00:09:39,290 --> 00:09:45,820 to the Internet and then I'll show you some thoughts about the gashing on the DNS and the static of 114 00:09:45,900 --> 00:09:46,750 DNS. 115 00:09:46,790 --> 00:09:52,310 So I did what I wanted to show you this and I hope that this law was implemented for you and also you 116 00:09:52,330 --> 00:09:52,730 and the.