Tuesday, 11 September 2018

Windows Server 2016 - Manage Records

As you know, in DNS you can add records according to your need and in Windows server 2016 as well. This doesn’t change too much from its earlier version of Windows Server 2008.
To add or manage records, we have to follow the steps given below −
Step 1 − Server Manager → DNS → Right click on the server that has a DNS record, which in our case is local.
Local
Step 2 − Go to “Forward Lookup Zone”.
Forward Lookup Zone
Step 3 − Right Click on the empty Field → New Host (A or AAAA) …
New Host
Step 4 − Name field and the subdomain name or case is WWW. → IP address we put is 192.168.1.200. So, when we will type-in our browser www.example.com, it will redirect us to 192.168.1.200.
Add Host
Step 5 − To add a Mail Server Record, we add an MX record and then Right click → New Mail Exchanger as shown in the screenshot given below.
New Mail Exchanger
Step 6 − At “Fully qualifies domain name(FQDN) of mail server”, you enter the name of mail server → then in the “Mail server priority”, you enter a number. The smaller the number, the higher the priority.
FQDN

Windows Server 2016 - Primary Zones

To manage DNS, we have to create a primary Zone because by default, there are no zones in order to manage the records.
Step 1 − To manage DNS, go to Server Manager → Tools → DNS → Right click on “Forward Lookup Zone” → New Zone.
Tools
New Zone
Step 2 − Select “Primary Zone” and then click Next.
Primary Zone
Step 3 − Enter the name of the primary Zone for which you want to manage the records.
New Zone Wizard
Step 4 − Select “Create a new file with this filename” option.
Create New File
Step 5 − If you want to update the record of this zone manually, you have to select “Do not allow dynamic Updates”, as shown in the following screenshot.
Update Zone
Step 6 − Click the Finish button.
Completing New Zone

Windows Server 2016 - DNS Role

DNS Role is one of the most important services in a network with Domain Controllers Environment. It helps us to resolve domain names internally and externally to IP and to have access to the requested service for the respective domain.
Let us now see how to install the DNS Role. For this we need to follow the steps given below.
Step 1 − To Install DNS role, go to “Server Manager” → Manage → Add Roles and Features.
Manage
Step 2 − Click Next.
Before you Begin
Step 3 − Select the Role-based or feature-based installation option and then click Next.
Installation Type
Step 4 − We will install a Local DNS role as it will select a server from the server pool → and then click Next.
Server Select
Step 5 − From the Server Roles lists, check the DNS Server role → click Add Features on the popup windows and then click Next.
Server Role
Select Role
Step 6 − Click Next.
Server DNS
Step 7 − Click Install.
Installation Selections
Step 8 − Wait until installation bar is complete.
installation Bar
Once the installation is finished, click on Close.

Windows Server 2016 - DHCP Role

As you know Dynamic Host Configuration Protocol (DHCP) is commonly implemented network services in today’s network environments. DHCP is primarily used to automatically distribute IP configuration settings to network clients, eliminating manually configuring hosts on TCP/IP-based networks.
To Install DHCP role, you will have to follow the steps given below.
Step 1 − Go to “Server Manager” → Manage → Add Roles and Features.
Add Roles Features
Step 2 − Click Next.
Next Click
Step 3 − Select the Role-based or feature-based installation option → click Next.
featured-based Installation
Step 4 − We will install a Local DHCP Role as it will Select a server from the Server Pool → then click Next.
Local DHCP
Step 5 − From the Roles lists, check the DHCP Server role → click Add Features on the popup windows as shown in the following screenshots.
Roles
Roles List
Step 6 − Click Next.
Roles Lists Next
Step 7 − Click Next.
DHCP Server
Step 8 − Click Install.
Confirmation
Step 9 − Click Close.
Click Close

Post-deployment Configuration

In this section, we will see how to do the post-deployment configuration of the DHCP. Please follow the steps given below.
Step 1 − Click on the warning icon and then click on “Complete DHCP Configuration”.
Complete DHCP Configuration
Step 2 − Click Next.
Description
Step 3 − Select a domain user account that has permissions to create objects in the Net Services container in Active directory or a domain admin account → click Next.
Admin account
Step 4 − Click Close.
Summary

Scope Implementation of DHCP

Now we have to configure the service to make it useful for the computers. To do this, we need to follow the steps given below.
Step 1 − Server Manager screen → Tools → DHCP.
DHCP
Step 2 − Right-click on the DHCP Server → then click on “Add/Remove Bindings… “
DHCP Server
Step 3 − Ensure the static IP address of the server should appear as shown in the following screenshot.
IP Address
Step 4 − Right-click on IPv4 → Select “New Scope”.
IPv4
Step 5 − Click “Next”.
New Scope Wizard
Step 6 − Enter Scope Name and description as shown in the following screenshot and then → Next.
Enter Scope Name
Step 7 − Enter the Start and End IP address, the Subnet mask, leave the Length as default “24” for class C subnet → click Next.
C subnet
Step 8 − Enter your IP range in the exclusion list. If you have devices on the network that require static IP address and also ensure that the excluded range falls with the Start and End range earlier specified, then → click Next.
IP Range
Step 9 − Enter the desired lease duration for the assigned IP’s or leave as default → then click Next.
Lease Duration
Step 10 − Select → Yes, I want to configure these options now to configure the DHCP options for the new scope → then click on Next.
New Scope
Step 11 − Enter the default gateway which is the IP of your Router → then click Next.
Default Gateway
Step 12 − Add DNS IP → click Next (we can put Google DNS or if it is a Domain environment you can put the DC IP there) then click → Next.
DNS IP
Step 13 − Specify your WINS Server if any and then click → Next.
WINS Server
Step 14 − Select Yes, I want to activate this scope now option to activate the scope immediately and then click → Next.
Activate Scope
Step 15 − Click Finish.
Scope Finish

Group Policy Overview

The features of Group Policy Management were installed during the DC Role Installation. Many of the management features haven’t changed as compared to the previous versions of Windows Server. To create a GPO (Group Policy Overview), we need to follow the steps given below.
Step 1 − To create a GPO open the Group Policy Management Console (GPMC), go to Server Manager → Tools → Group Policy Management as shown in the screenshot below.
GPM
Step 2 − Right-click on an OU → select the first option Create a GPO in this domain and Link it here.
OU
Step 3 − Type the Name for this GPO object → click OK button. We have selected the name as Test GPO.
Test GPO
Step 4 − Right-click the GPO object and click Edit.
GPO Object