How to Install the DNS Service on Server 2012 (Step by Step)

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
in this video tutorial we're going to be covering how to install the dns role for Windows Server 2012 I just finished installing Windows Server 2012 on a brand new server so I'll go ahead and login press ctrl alt elite to sign in go ahead and put in the password to sign in we're going to use server manager to go ahead and add the roles and features to the server but before we do that we're going to go ahead and assign the server static IP address DNS servers require static IP addresses because you'll be configuring your clients to point directly to the server you want to make sure that the server's IP address doesn't change so let's go ahead and minimize server manager and has access the adapter properties I'm going to go ahead and go to the network and sharing center change adapter settings and access the properties of this Ethernet network card go to ipv4 properties let's go ahead and assign it a static IP address the IP address that you'll use will depend on the network that de servers on I'll go ahead and use the 192 168 0 and it's assigned at the address of one you'll also need to assign a subnet mask for the simple example we won't need to assign a default gateway but typically you want to put in the IP address of your default gateway for the preferred DNS or routers will use the same IP address by doing so we'll be telling this server to use itself for DNS click OK click close let's close this window close this as well and open up server manager we're now ready to add roles and features click on add roles and features click Next Windows Server 2012 has improved the ability to add roles and features we're now able to add roles and features for the same local machine a remote machine a virtual machine and offline hard disks for this example the server is up and running so we'll just go ahead and click Next if you had more servers or systems on the network that were detected by the wizard that would be listed below since this is the only server that we're working with we'll go ahead and click Next we want to look for the DNS server role in this list place a checkmark next to the role you want install once you do that the wizard is detected that the remote server administration tools have not been installed in this machine we'll need that as well so let's go ahead and include those features if those features are already installed on your machine they're not required to be installed a second time go ahead and click Next click Next you can read over more information about the DNS server role click Next when you're ready in some cases when you add server roles and features a restart is required if you check off this box the system will automatically restart the server when the wizard is completed if not you'll be prompted to restart click install the installation of this role should only take just a few minutes ok so the process of the installing this DNS server role has been completed go ahead and click close ok we can launch the DNS administrative tool to manage our DNS server go and go to the Start menu and now you'll notice that there is a tile for the DNS server console if you're familiar with Windows 2003 or 2008 DNS server administration when the server 2012 administration is practically identical as you can see we have an MMC console launched and our servers listed on the left side pane you know how to expand it if you expand the for lookup zone you'll notice that there aren't any zones created yet if you want to go ahead and host the DNS zone go to right-click select new zone and use the wizard to create your zone click on next there's three different types of zones you can create and create a primary zone a secondary or a stub zone you'll also notice that you might have an option to store the zone in Active Directory since Active Directory is not installed on this server this option is unavailable since this is the first DNS server in our DNS server farm we'll go ahead and create a primary zone click Next let's give our zone a name the name that you choose will depend on the DNS hostname that you've registered publicly or this is an intranet site whatever domain you're using within your network next DNS is providing the default name for the zone since we're calling your primary zone and it's not stored in Active Directory this zone will be saved as a text file on the local hard drive if you're importing the zone from another DNS server you can use an existing file however this is a new zone so we'll go ahead and create a new file click Next DNS supports dynamic updates from clients this gives the ability for clients to automatic do register hostnames in a DNS zone without an administrator in this example we'll just choose not to allow dynamic updates click Next you can review your options and click finish you'll notice that the DNS comm zone has now been created we could go ahead and create some records let's give one a try right click let's create a simple a record and we'll create a double UW record the IP address that we want this to resolve to is 127 0 dot 0 dot 1 the IP address that you choose will ultimately depend on where you want the www record to map to if you wanted to create an associated PTR record go ahead and enable this box for this example it's not necessary click Add host the records been created click OK and we're all done you can also easily create reverse look up zones a reverse lookup zone maps an IP address back to a name you can think of it as the opposite of a forward look up zone let's go ahead and create a zone right click new zone and we'll go through the same exact wizard click Next we want to go ahead and create a primary zone as well in this case we're still using ipv4 for this example so we will click Next the network ID that we want to go ahead and create or assign to the zone is the 192 168 0 Network click Next accept the default name click Next click Next again and finish to create a record in a reverse lookup zone go ahead and select the zone right-click and say new PTR record I'm going to go ahead and create record for this DNS server in this case we want this IP address to go to map back to this named DNS one domain com click OK now let's go ahead and demonstrate that we can resolve these names to IPS and IPS to names I'll need a command problem for some help I'll use one Explorer to get to my command prompt and I'll use the nslookup command to communicate with the DNS service I'll type in nslookup and hit enter as you notice the default server that we're speaking to is DNS one domain com that happens to be the DNS server that we just installed and I'm working on let's go to type in WWE comm and see if we can resolve the name and as you can see the server we did go ahead in fact returned a result of 127 not 0 0.1 if we type in an IP address for instance we created a PTR record for 192 168 0.1 it returned back DNS one domain calm and the upcoming video tutorials in this series we'll take a closer look at how to configure the DNS server role so that completes the end of this video tutorial thank you for watching you
Info
Channel: itgeared
Views: 335,326
Rating: 4.8999 out of 5
Keywords: dns, role, server, windows, 2012, how to, microsoft, forward lookup zone, reverse lookup zone, host (A), PTR, nslookup, name resolution, step by step, install, installation
Id: -5_KGCH1nzY
Channel Id: undefined
Length: 7min 35sec (455 seconds)
Published: Sat Dec 15 2012
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.