Windows Server 2016: Implementing DNS

Windows Server 2016: Implementing DNS 

Schema:

Hostname: NLB-NW-01
IP Address: 10.0.0.19
Logon Domain: NLBLAB

Host name for Mail: mail.nlb-solutions.com
IP Address: 10.0.0.144

// -------------------

// Install DNS Server

Step 1: Server Manager > Manage > Add Roles and Features Wizard > ...

// -------------------

// Note: (a) Forward lookup zone - query IP address of a hostname: e.g.
// c:\> nslookup www.google.com
// Note: (b) Reverse lookup zone - find hostname from IP address (if configured) : // e.g. c:\> ping 172.217.194.99

Step 2: Server Manager > Tools > DNS > DNS Manager > configure DNS server > create forward lookup zone (recommended for small networks) > The server maintains the zone (Primary Server Location) > Zone Name: nlb-solutions.com > Create a new file with this file (i.e. zone file) name: nlb-solutions.com.dns > if forwarders are not configured (unrecognised dns queries will use Root Name DNS server instead) else configure IP addresses of forwarders (dns queries are forwarded [sent] to DNS servers at these IP addresses

// ---------------

// Add record for mail subdomain

Step 3: Server Manager > Tools > DNS > DNS Manager > NLB-NW-01 > (right-click) create New Host (A or AAAA) > Name: mail | Fully Qualified Domain Name (FQDN): mail.nlb-solutions.com | IP Address: 10.0.0.144

// ----------------

// Test to see if mail.nlb-solutions.com is reachable

Step 4: run cmd.exe > ipconfig /flushdns   ( // clear dns cache). c:\> ping
mail.nlb-solutions.com
( // test whether mail.nlb-solutions.com is valid). If not working: control panel > network and internet > network and sharing center > ethernet > properties > TCP IP v4 > Preferred DNS Server: 10.0.0.19 ( // set the DNS Server )

// ----------------

Comments