How to Install and Configure DNS on Windows Server 2022

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hey I just want to let you know that this video is part of a larger course called operating systems 101 on cybertrainingpro.com so if you enjoy the content you want to see the rest of the course or you want to see other courses that we have or our Career Services make sure to check out cybertrainingpro.com I'll leave a link in the description so you can check it out all right let's get started in this video we're going to focus on DNS on Windows Server 2022 so we're going to talk about the installation process and we're going to walk through those steps we're also going to talk about configuring and managing DNS as far as dependencies what you need is you need an installation of Windows Server 2022 which can either be a physical installation or a virtual machine you also need administrator level privileges on that server if you're not sure how to set up a virtual machine of Windows Server 2022 go back and check out that video first and then dive into this video now as far as the installation process with Windows Server if you're setting up a domain on your server so active directory and you're configuring a domain pain it's going to automatically install DNS for you if you don't do that then you'll actually have to go through these steps and install the role for DNS so the very first thing that you need to do when you're setting up DNS is you need to assign a static IP address so there's a few different ways that you can do it first of all in server manager you can click on your local server and then you can click where you have your interface here and it says ipv4 address assigned we're going to click on that and that's going to open up this menu here the other way that you can do it is if you go to the start menu and you type view network connections and you click on that it's going to give you the exact same location so we're going to select our interface and we're going to right click it and select properties now we're going to select ipv4 and we're going to select properties now in here you need to assign an actual static IP address instead of obtaining it from a server so we'll select use the following IP address if you click in the subnet mask box it's automatically going to populate that and we'll assign a default gateway usually it's a DOT one IP address as far as preferred DNS server we're actually going to put in 127 0 0 1 so we're going to actually use our local system for this DNS server and then we'll hit OK and we'll hit close now you're going to get this menu over here on the right side talking about networks and making your system discoverable we're not going to really do anything with that we're going to ignore that but what you need to do next is you need to actually restart your system if you don't restart your system you're going to keep getting errors about not having a static IP address so we're just going to go ahead and go to the start menu and we're going to restart the system all right so once you're logged back into your server under server manager you're going to go to manage and then you're going to go to add roles and features on this first screen here we're going to hit next we're going to select role based or feature-based installation and then we're going to hit next you have to select your server where you're going to install DNS so we'll select that and hit next now we're going to actually select DNS server as the feature that we're going to add and then we're going to make sure that this check box is checked and we're going to hit add features then we're going to hit next we don't need to add any additional features so we'll go ahead and hit next this is just going to tell us a little bit more about domain name system or DNS we're good with that so we're going to hit next and then we want to actually make sure this check box is checked to restart the server if required this is going to say do you want to allow automatic restarts we're going to select yes and we're going to hit install at this point it's saying the installation has succeeded so we'll go ahead and hit close now there's two different ways that you can access the DNS tools the first way is in server manager under Tools you're going to have DNS right here so you can select that option the other way is if you go to the start menu and then you go to Windows administrative tools you're going to have DNS in here as well so either way is going to get you to the same tools it doesn't matter which one you choose really it's just a matter of preference for which one you want to use are you tired of overpaying for cyber security training are you interested in training from industry professionals are you looking for cyber security Career Services if you answered yes any of those questions and cybertrainingpro.com is the perfect platform for you but cyber training Pro we're a One-Stop shop for all your cyber security needs we can train you for industry certifications or just improve your overall Knowledge and Skills in a certain area unlike other platforms we don't stop there we can also coach you throughout your career practice your interview skills or create a high performing resume with our Career Services cybertrainingpro.com isn't just another training platform students get exclusive access to our private Community or go beyond training courses to provide additional content tips and tricks and engagement with both other students and staff look by the year 2020 5 there could be as many as 3.5 million job openings in cyber security there's so much opportunity why not maximize your career potential with a platform that cares about your success come join us at cybertrainingpro.com and start building your future today now for the rest of this video we're going to use an installation of Windows Server 2022 that I have where it already has active directory domain Services installed now something that we might deal with with DNS is something called a forward lookup forward lookups and DNS allow you to provide a name like a system's name and the DNS server is going to associate the IP address to that name so what we're going to do is we're going to go to server manager and we're going to go to tools and then DNS then on the left here I'm going to select our server and I'm going to expand that I'm going to expand forward lookup zones and then demo.lab is our domain so I'm going to go ahead and click on that and expand that as well now you can see here this last entry that is our current server's name so if I open up a command prompt window here so I'll go to start menu and type CMD and then open up the command prompt window and I'm going to type ping OS 101 when 22 dc1 because that's name of our server and I'll hit return so you can see that we're getting responses from that ping because that is this current server so if we're on another system and we use that name we can actually ping that name instead of providing the IP address so now if we go back to our DNS tools and we right click in the empty space here we select new host a or quad a we're going to put in a name here it's going to be a custom name so test one two three four and just so you can see that nothing is going to come up as that right now I'm going to do ping test one two three four right that's the name that I have not submitted yet but I put it into the field I'm going to hit return and it's not going to find anything so no host was found with that name so if we go back here again test one two three four I'm going to use the same IP address as our current server so 192 168 163 133 I'm going to select create Associated pointer record and then I'm going to hit add host I'm going to hit OK on this message here and then hit done all right so now we've created that a record so we'll go back to our Command Prompt window I'm going to type ipconfig slash flush DNS and that's essentially just going to refresh all the DNS information that our system knows about now if we do ping test one two three four that's actually finding our local system so now we have two different a records that are associated to our local system now the next thing that I want to talk about is interfaces with DNS if a system has multiple IP addresses or interfaces you can actually limit which IP addresses are going to serve DNS requests so if we go ahead and go back to server manager we'll select tools DNS we're going to select our server on the left hand side here and right click it we're going to select properties so this is going to take us to this dialog box here now by default it's selected to all IP addresses if we want to limit it we can select this only the following IP addresses and then we can select whichever ones that we want to allow so this first one that's going to be an IPv6 address the second one will be ipv4 so we can just uncheck it and then apply and OK the next thing I want to talk about is root heads that's another common use for DNS now root hints are useful if your DNS server can't resolve a DNS query locally from a hosted zone or from the DNS server cache now it's in this exact same window here and there's just another tab that's called root hints so you can go in here and you can add additional root hints or you can edit or remove other ones and you can see there's a fully qualified domain name with a DOT at the end of it or a period and then you have IP addresses here the other thing that I want to talk about real quick is forwarders so again there's another tab in here called forwarders forwarders are DNS servers that your DNS server can use to resolve DNS queries that it can't resolve itself DNS is going to use forwarders first before it tries to use root hence so in here you can edit the information if you want you can add different IP addresses in here and then you just hit OK and then apply and then that information will get set in your DNS settings so that's really the basic information about DNS how it works how you can install it how you can configure it and how you can manage it in Windows server 2022.
Info
Channel: Jon Good
Views: 9,865
Rating: undefined out of 5
Keywords: Jon Good, cybersecurity, cyber security, Cyber Training Pro, CyberTrainingPro, CyberTrainingPro.com, free cyber security training, free cybersecurity training, Windows Server, Windows Server 2022, Microsoft Windows Server 2022, domain name system, Windows Server 2022 DNS, install and configure DNS, install and configure DNS Windows Server 2022, server 2022 domain name system, how to install DNS on Windows Server 2022, how to install and configure DNS on Windows Server 2022, DNS
Id: OtdOEiTozUE
Channel Id: undefined
Length: 10min 22sec (622 seconds)
Published: Mon Oct 23 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.