DESKTOP

Windows Server 2008 R2 networking : Planning and Deploying DNS (part 3) - Setting up DNS zones

5/23/2013 7:48:57 PM

Setting up DNS zones

Hosting a domain on a DNS Server requires setting up the zone for that domain. To set up a new DNS zone, perform the following:

1.
Open Server Manager from Start | Administrative Tools | Server Manager.

2.
Select the Forward Lookup Zones node from Roles | DNS Server | DNS | <your DNS Server name> (see Figure 7).

Figure 7. Forward Lookup Zones.


3.
Right click the Forward Lookup Zones node and select New Zone. The New Zone wizard will launch. Click Next to begin creating a new DNS zone.

4.
Select the zone type (see Figure 8). If this is the first copy of the zone, you will want to select the Primary zone option. Then click Next.



Figure 8. DNS Zone Type.


5.
Enter the Zone Name. This is the namespace for which this server will be authoritative. For example, if the server is hosting Syngress.com, enter that into the Zone Name field as seen in Figure 9. Then click Next.

Figure 9. Zone Name.


6.
If this is a new zone, enter a name for the DNS file. If the zone was previously set up on another server, such as a lab, you can use an existing DNS file to prepopulate the zone on this server. Click Next to continue.

7.
Select whether you want to allow dynamic updates or not. By default dynamic updates are disabled. Click Next to continue.

8.
Verify your settings on the summary page, and then click Finish to create the zone.

9.
You will see the zone now listed in Server Manager as seen in Figure 10. You can select the zone to see records that belong to the zone in the middle pane. By default every zone creates NS and SOA records.

Figure 10. Newly Created DNS Zone.

Replicating DNS zones

After you set up your primary DNS zone, you will then want to replicate the zones to at least one secondary server. To set up DNS replication, perform the following:

1.
Log on to the server that will serve as a host to the secondary DNS zone.

2.
Open Server Manager from Start | Administrative Tools | Server Manager.

3.
If the DNS Server Role is not installed, you will need to install it.

4.
Select the Forward Lookup Zones node from Roles | DNS Server | DNS | <your DNS Server name>.

5.
Right click the Forward Lookup Zones node and select New Zone. The New Zone wizard will launch. Click Next to begin creating a new DNS zone.

6.
Select the zone type (see Figure 11). Since this will be a Secondary zone, select the Secondary zone option. Then click Next.

Figure 11. Creating Secondary DNS Zones.


7.
Enter the name of the zone (see Figure 12). This should be the same name as the Primary zone. In our example, we will use Syngress.com.

Figure 12. Secondary Zone Name.


8.
Enter the IP address of FQDN of the primary DNS Server (see Figure 13). Then click Next.

Figure 13. Primary DNS Server Used for Replication.


9.
Click the Finish button to complete the set up of the Secondary zone. You now need to allow the Secondary zone to pull information from the primary. To do this, log on to the primary DNS Server.

10.
Open Server Manager from Start | Administrative Tools | Server Manager.

11.
Select the Forward Lookup Zones node from Roles | DNS Server | DNS | <your DNS Server name>

12.
Right click the zone you wish to modify. Then click Properties. In our case, we will be modifying Syngress.com.

13.
Click to select the Name Servers tab.

14.
Enter the IP address and FQDN of the secondary DNS Server (see Figure 14). Then click OK.



Figure 14. Adding secondary DNS Server.


15.
You should now be able to go back to the secondary DNS Server and see the zone data inside the zone. Any new records created on the primary server should automatically replicate to the secondary server.

Creating DNS records

After DNS zones are set up, configured, and verified, you are ready to start creating records. To create a new DNS record, perform the following:

1.
Log on to the server that hosts the primary DNS zone.

2.
Open Server Manager from Start | Administrative Tools | Server Manager.

3.
Expand the DNS role and servers. Then expand the Forward Lookup Zones node. Right click the zone where you want to create a new record and select New Host (A or AAAA) Record...

4.
Enter the host name to complete the FQDN, and then enter the IP address that the record should point to (see Figure 15).

Figure 15. Creating a New Host (A) record.


5.
You can now test the new host record. Ensure that your computer is set to use your DNS Server as the primary DNS Server in the TCP/IP settings.

6.
Open a command prompt.

7.
Type nslookup at the command prompt, and then hit Enter.

8.
Type www.syngress.com.

9.
You should come back with a nonauthoritative reply with the IP address you specified when setting up the record (see Figure 16).

Figure 16. Testing DNS Record with NSLookup.
Other  
 
Top 10
Review : Sigma 24mm f/1.4 DG HSM Art
Review : Canon EF11-24mm f/4L USM
Review : Creative Sound Blaster Roar 2
Review : Philips Fidelio M2L
Review : Alienware 17 - Dell's Alienware laptops
Review Smartwatch : Wellograph
Review : Xiaomi Redmi 2
Extending LINQ to Objects : Writing a Single Element Operator (part 2) - Building the RandomElement Operator
Extending LINQ to Objects : Writing a Single Element Operator (part 1) - Building Our Own Last Operator
3 Tips for Maintaining Your Cell Phone Battery (part 2) - Discharge Smart, Use Smart
REVIEW
- First look: Apple Watch

- 3 Tips for Maintaining Your Cell Phone Battery (part 1)

- 3 Tips for Maintaining Your Cell Phone Battery (part 2)
VIDEO TUTORIAL
- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 1)

- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 2)

- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 3)
Popular Tags
Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Biztalk Exchange Server Microsoft LynC Server Microsoft Dynamic Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 Adobe Indesign Adobe Flash Professional Dreamweaver Adobe Illustrator Adobe After Effects Adobe Photoshop Adobe Fireworks Adobe Flash Catalyst Corel Painter X CorelDRAW X5 CorelDraw 10 QuarkXPress 8 windows Phone 7 windows Phone 8