{"id":1312,"date":"2019-05-07T22:03:05","date_gmt":"2019-05-07T19:03:05","guid":{"rendered":"https:\/\/helia.ee\/koolitus\/?page_id=1312"},"modified":"2019-05-07T22:03:06","modified_gmt":"2019-05-07T19:03:06","slug":"how-to-set-up-a-dns-forwarder-in-windows-server-2019","status":"publish","type":"page","link":"https:\/\/helia.ee\/koolitus\/?page_id=1312","title":{"rendered":"How to Set Up a DNS Forwarder in Windows Server 2019"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">Prerequisites<\/h3>\n\n\n\n<p>Following five are prerequisites:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Ensure that the Administrator account has a strong password.<\/li><li>A static IP is configured.<\/li><li>Latest windows updates are installed.<\/li><li><a href=\"http:\/\/www.faqforge.com\/windows\/turn-off-firewall-windows-server-2012-r2\/\">Firewall is turned off<\/a>.<\/li><li>DNS is already configured on both machines (primary DNS and secondary DNS servers).<\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Setting Up a DNS Forwarder in Windows Server 2012 R2<\/h2>\n\n\n\n<p><strong>Step 1:&nbsp;<\/strong>Open server manager dashboard and click on&nbsp;<strong>Tools<\/strong>. Scroll down the menu and click on<strong>&nbsp;DNS .<\/strong><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"http:\/\/www.faqforge.com\/wp-content\/uploads\/2017\/01\/1-16.png\"><img decoding=\"async\" src=\"http:\/\/www.faqforge.com\/wp-content\/uploads\/2017\/01\/1-16.png\" alt=\"Open Tools > DNS on the Windows Server&#8221; class=&#8221;wp-image-4234&#8243;\/><\/a><\/figure><\/div>\n\n\n\n<p><strong>Step 2:&nbsp;<\/strong>In DNS manager, right-click and scroll down the menu. Click&nbsp;<strong>Properties<\/strong><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"http:\/\/www.faqforge.com\/wp-content\/uploads\/2017\/01\/2-17.png\"><img decoding=\"async\" src=\"http:\/\/www.faqforge.com\/wp-content\/uploads\/2017\/01\/2-17.png\" alt=\"Open properties in DNS manager\" class=\"wp-image-4235\"\/><\/a><\/figure><\/div>\n\n\n\n<p><strong>Step 3:&nbsp;<\/strong>Click<strong>&nbsp;Forwarders&nbsp;<\/strong>tab and then click&nbsp;<strong>Edit<\/strong><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"http:\/\/www.faqforge.com\/wp-content\/uploads\/2017\/01\/3-19.png\"><img decoding=\"async\" src=\"http:\/\/www.faqforge.com\/wp-content\/uploads\/2017\/01\/3-19.png\" alt=\"Go to the Forwarders tab of the settings\" class=\"wp-image-4236\"\/><\/a><\/figure><\/div>\n\n\n\n<p><strong>Step 4:&nbsp;<\/strong>Enter the IP address of your secondary DNS server you want to forward DNS queries. Click<strong>&nbsp;OK<\/strong><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"http:\/\/www.faqforge.com\/wp-content\/uploads\/2017\/01\/4-14.png\"><img decoding=\"async\" src=\"http:\/\/www.faqforge.com\/wp-content\/uploads\/2017\/01\/4-14.png\" alt=\"Enter the IP address\" class=\"wp-image-4237\"\/><\/a><\/figure><\/div>\n\n\n\n<p><strong>Step 5:&nbsp;<\/strong>Click<strong>&nbsp;OK<\/strong><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"http:\/\/www.faqforge.com\/wp-content\/uploads\/2017\/01\/5-13.png\"><img decoding=\"async\" src=\"http:\/\/www.faqforge.com\/wp-content\/uploads\/2017\/01\/5-13.png\" alt=\"Confirm settings by clicking on OK\" class=\"wp-image-4238\"\/><\/a><\/figure><\/div>\n\n\n\n<p><strong>Step 6:&nbsp;<\/strong>Go to your secondary DNS server manager and expand the machine name. &nbsp;Right-click<strong>&nbsp;Forward Look Up Zones&nbsp;<\/strong>and scroll down the menu. Click<strong>&nbsp;New Zone<\/strong><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"http:\/\/www.faqforge.com\/wp-content\/uploads\/2017\/01\/6-10.png\"><img decoding=\"async\" src=\"http:\/\/www.faqforge.com\/wp-content\/uploads\/2017\/01\/6-10.png\" alt=\"Add a zone in the secondary DNS manager\" class=\"wp-image-4239\"\/><\/a><\/figure><\/div>\n\n\n\n<p><strong>Step 7:&nbsp;<\/strong>Click<strong>&nbsp;Next<\/strong><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"http:\/\/www.faqforge.com\/wp-content\/uploads\/2017\/01\/7-10.png\"><img decoding=\"async\" src=\"http:\/\/www.faqforge.com\/wp-content\/uploads\/2017\/01\/7-10.png\" alt=\"Start the New Zone Wizard\" class=\"wp-image-4240\"\/><\/a><\/figure><\/div>\n\n\n\n<p><strong>Step 8:&nbsp;<\/strong>Choose Primary zone and click<strong>&nbsp;Next<\/strong><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"http:\/\/www.faqforge.com\/wp-content\/uploads\/2017\/01\/8-8.png\"><img decoding=\"async\" src=\"http:\/\/www.faqforge.com\/wp-content\/uploads\/2017\/01\/8-8.png\" alt=\"Create a Primary DNS Zone\" class=\"wp-image-4241\"\/><\/a><\/figure><\/div>\n\n\n\n<p><strong>Step 9:&nbsp;<\/strong>Provide the zone name and click<strong>&nbsp;Next<\/strong><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"http:\/\/www.faqforge.com\/wp-content\/uploads\/2017\/01\/9-8.png\"><img decoding=\"async\" src=\"http:\/\/www.faqforge.com\/wp-content\/uploads\/2017\/01\/9-8.png\" alt=\"Enter the Zone name\" class=\"wp-image-4242\"\/><\/a><\/figure><\/div>\n\n\n\n<p><strong>Step 10:&nbsp;<\/strong>Choose to create the zone file with the suggested name and click<strong>&nbsp;Next.<\/strong><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"http:\/\/www.faqforge.com\/wp-content\/uploads\/2017\/01\/10-7.png\"><img decoding=\"async\" src=\"http:\/\/www.faqforge.com\/wp-content\/uploads\/2017\/01\/10-7.png\" alt=\"Click on Next\" class=\"wp-image-4243\"\/><\/a><\/figure><\/div>\n\n\n\n<p><strong>Step 11:&nbsp;<\/strong>Select &#8220;Do not allow Dynamic Updates&#8221; and<strong>&nbsp;c<\/strong>lick<strong>&nbsp;Next.<\/strong><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"http:\/\/www.faqforge.com\/wp-content\/uploads\/2017\/01\/11-6.png\"><img decoding=\"async\" src=\"http:\/\/www.faqforge.com\/wp-content\/uploads\/2017\/01\/11-6.png\" alt=\"\" class=\"wp-image-4244\"\/><\/a><\/figure><\/div>\n\n\n\n<p><strong>Step 12:&nbsp;<\/strong>Click<strong>&nbsp;Finish<\/strong>&nbsp;to create the new DNS zone.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"http:\/\/www.faqforge.com\/wp-content\/uploads\/2017\/01\/12-5.png\"><img decoding=\"async\" src=\"http:\/\/www.faqforge.com\/wp-content\/uploads\/2017\/01\/12-5.png\" alt=\"Finish the zone creation\" class=\"wp-image-4245\"\/><\/a><\/figure><\/div>\n\n\n\n<p><strong>Step 13:<\/strong>&nbsp;Right-click the zone you just created and scroll down the menu. Click&nbsp;<strong>New Host (<\/strong>A or<strong>&nbsp;AAAA)<\/strong><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"http:\/\/www.faqforge.com\/wp-content\/uploads\/2017\/01\/13-3.png\"><img decoding=\"async\" src=\"http:\/\/www.faqforge.com\/wp-content\/uploads\/2017\/01\/13-3.png\" alt=\"Add a new A-Record to the DNS zone\" class=\"wp-image-4246\"\/><\/a><\/figure><\/div>\n\n\n\n<p><strong>Step 14:&nbsp;<\/strong>Provide the name and IP address of this host and click<strong>&nbsp;Add Host<\/strong><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"http:\/\/www.faqforge.com\/wp-content\/uploads\/2017\/01\/14-4.png\"><img decoding=\"async\" src=\"http:\/\/www.faqforge.com\/wp-content\/uploads\/2017\/01\/14-4.png\" alt=\"Enter the IP address of the A-Record\" class=\"wp-image-4247\"\/><\/a><\/figure><\/div>\n\n\n\n<p><strong>Step 15:&nbsp;<\/strong>Click<strong>&nbsp;OK<\/strong>&nbsp;to create the A-Record in the DNS zone.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"http:\/\/www.faqforge.com\/wp-content\/uploads\/2017\/01\/15-4.png\"><img decoding=\"async\" src=\"http:\/\/www.faqforge.com\/wp-content\/uploads\/2017\/01\/15-4.png\" alt=\"Clock OK to create the record\" class=\"wp-image-4248\"\/><\/a><\/figure><\/div>\n\n\n\n<p><strong>Step 16:&nbsp;<\/strong>Go to your client machine and configure the DNS settings. Provide the IP address of your primary DNS server in&nbsp;<strong>Preferred DNS server field<\/strong><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"http:\/\/www.faqforge.com\/wp-content\/uploads\/2017\/01\/18-2.png\"><img decoding=\"async\" src=\"http:\/\/www.faqforge.com\/wp-content\/uploads\/2017\/01\/18-2.png\" alt=\"Configure DNS on the client\" class=\"wp-image-4250\"\/><\/a><\/figure><\/div>\n\n\n\n<p><strong>Step 17:&nbsp;<\/strong>Open Command prompt at your client machine and type nslookup&nbsp;www.test.com (the host you entered in test.com zone).<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"http:\/\/www.faqforge.com\/wp-content\/uploads\/2017\/01\/17-2.png\"><img decoding=\"async\" src=\"http:\/\/www.faqforge.com\/wp-content\/uploads\/2017\/01\/17-2.png\" alt=\"Test the DNS zone with the nslookup command.\" class=\"wp-image-4249\"\/><\/a><\/figure><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Conclusion<\/strong><\/h3>\n\n\n\n<p>Great, you have setup a DNS forwarder and tested the configuration. If a domain name www.test.com is resolved successfully, then the DNS forwarder is working.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Prerequisites Following five are prerequisites: Ensure that the Administrator account has a strong password. A static IP is configured. Latest windows updates are installed. Firewall is turned off. DNS is already configured on both machines (primary DNS and secondary DNS servers). Setting Up a DNS Forwarder in Windows Server 2012 R2 Step 1:&nbsp;Open server manager [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":1304,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"class_list":["post-1312","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/pages\/1312","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1312"}],"version-history":[{"count":1,"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/pages\/1312\/revisions"}],"predecessor-version":[{"id":1313,"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/pages\/1312\/revisions\/1313"}],"up":[{"embeddable":true,"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/pages\/1304"}],"wp:attachment":[{"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1312"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}