IT Workbooks Everything Center Share Knowledge

www.itworkbooks.wordpress.com

Tag Archives: INSTALL DNS ROLE

How-To : Configure a Secondary DNS Server in Windows Server 2012.

How-To : Configure a Secondary DNS Server in Windows Server 2012.

We previously discussed How to install DNS role in Windows Server 2012. In this post, I will explain how to configure that dedicated DNS server as secondary DNS for redundancy.

Keep in mind that it is always a good practice to have a backup for every role you have on every server if applicable and if the resources are available.

Note: You will need access to your primary DNS server in order to finish setting up your secondary DNS

Launch your DNS Manager, can be found in your Start screen

capture_02272013_141156

Under your server name, right-click “Forward Lookup Zone”, then click on “New Zone…

capture_02272013_141205

You will get the “New Zone Wizard” welcome screen, click Next

capture_02272013_141209

In the “Zone Type” screen, you will need to select “Secondary zone” as this will be your backup secondary DNS that will replicate from your primary DNS, click Next

capture_02272013_141214

Give your new secondary DNS zone a name, this is different than your server name, you can name it anything you want, but mostly it is a good idea to name it the same way your primary DNS is setup, or you can put your domain name

capture_02272013_141311

Now you need to put in your Primary DNS server name or IP address, this is where you tell your secondary DNS where to copy all the DNS info from. You will also need to make small adjustments to your primary DNS, we will cover that later on in this article

capture_02272013_141447

Once you put the IP address or server name, you will see the green check mark indicating that the server validated and it is ok to proceed, click Next

capture_02272013_141447

capture_02272013_141515

Lastly, verify your information and click Finish

capture_02272013_141521

Setting up the secondary DNS is done, but we are not entirely finished here, we need to tell our primary DNS that it is ok for this secondary DNS to pull information from it. Otherwise replication will fail and you will get this big red X

capture_02272013_141552

Head over to your primary DNS server, launch DNS manager, expand Forward Lookup Zones, navigate to your primary DNS zone, right-click on it and go to Properties

capture_02272013_143042

Go to “Zone Transfers” tab, by default, for security reasons, the “Allow zone transfers:” is un-checked to protect your DNS information. We need to allow zone transfers, if you value your DNS records, you do not want to select “To any server” but make sure you click on “Only to servers listed on the Name Servers tab”

capture_02282013_081933

Head over to the “Name Servers” tab, click Add

capture_02282013_081950

You will get “New Name Server Record” window, type in the name of your secondary DNS server. it is always better to validate by name not IP address to avoid future problems in case your IP addresses change. Once done, click OK

capture_02282013_082001

You will see your secondary DNS server is now added to your name servers selection, click OK

capture_02282013_082008

Now if you head back to to your secondary DNS server and refresh, the big red X will go away and your primary zone data will populate

capture_02282013_082120

Your secondary DNS is fully setup now. You can not make any DNS changes from your secondary DNS. Secondary DNS is a read-only DNS, Any DNS changes have to be done from the primary DNS.

 

How-To : Install DNS Role in Windows Server 2012.

How-To : Install DNS Role in Windows Server 2012.

In this guide, Im going to show you how to install DNS in its own dedicated server. Ideally, you would want to install DNS with your Domain Controller on the same server and configure another secondary DNS server, or configure another secondary Domain Controller with secondary DNS for redundancy.

Notes before installing DNS:
– Make sure you have a static IP. You should not install DNS on a dynamic IP (you should have all your servers configured as static IPs anyways)
– Your preferred DNS should be the server itself, either 127.0.0.1 or whatever your server IP address is.
– In this guide, we will only talk about installing DNS, there will be another guide detailing how to configure a secondary DNS server in Windows Server 2012 .

Launch your Server Manager if it is not already up

capture_02272013_095847

On your Dashboard, click on “Add roles and features

capture_02272013_123216

You will get the “Add Roles and Features Wizard”, click Next

capture_02272013_123229

Select “Role-based or feature-based installation”, click Next

capture_02272013_123240

In “Select destination server” screen, most likely you will only see one selection, which is the server you are on, if not, select the server you want to add the DNS role to and click Next

capture_02272013_123250

Check the “DNS Server” box

capture_02272013_123307

A smaller window will launch to confirm that there are other features that needs to be installed with your DNS role, click on “Add Features” then click Next

capture_02272013_123312

You do not have to select anything in the “Select features” screen, click Next

capture_02272013_123327

In the “DNS Server” screen you can read what DNS is and what it does, but we already know that, read the “Things to note:” part, once done, click Next

capture_02272013_123333

Here we just have a confirmation of what we are installing and what features, click Install

capture_02272013_123344

You will see the installation progress, once done, click Close

capture_02272013_123413

Once the installation is done, DNS should be installed, you will also notice a new “DNS” tile in your Start screen.

capture_02272013_140425