Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
opennic:tier1setup [2017-07-04T23:41:36Z] fuslopennic:tier1setup [2021-03-20T16:40:32Z] (current) – Updated root server IP Shdwdrgn
Line 1: Line 1:
 ====== Setting up a Tier 1 Server ====== ====== Setting up a Tier 1 Server ======
  
-[[tier1|Tier 1]] servers are the core DNS servers that host the actual authoritative zones for all OpenNIC TLDs and the root (''.'') zone.+[[tier1|Tier 1]] servers are the core DNS servers hosting authoritative zones for all OpenNIC TLDs and the OpenNIC root (''.'') zone.
  
-FIXME This legacy wiki article has been copied from http://web.archive.org/web/20161228061854/wiki.opennicproject.org/RunningT1. It is outdated and should not be blindly used for copy-pasting but it should give an idea on how to get started.+FIXME This legacy wiki article has been copied from http://web.archive.org/web/20161228061854/wiki.opennicproject.org/RunningT1. It is outdated and should not be blindly used for copy-pasting.  Use this information as a starting point to further researching current methods.
  
 +But where, if not here, are those settings documented?
 ===== BIND9 setup ===== ===== BIND9 setup =====
-Setting up a OpenNIC ready Tier 1 server requires your DNS to slave all the TLDs within the OpenNIC name-space. We will go through each zone below (this document will be updated as more zones are created). Alternatively, this page will show how to configure bind9 to automatically update available TLDs and their master servers.+Setting up a OpenNIC Tier 1 serverrequires creating slave zones for all the TLDs within the OpenNIC name-space.
  
-As you can see below, all my zones reside in ''/etc/bind/zones'' and ''/etc/bind/zones/slaves''You will have to change that to suit your style of setup. It is also recommended you run bind in a chroot jail, and that additional Tier 1 servers are listed as masters in each zone for redundancy. Below is the root zone, add this into your ''named.conf''.+Each zone is presented below. This document will be updated as new zones are created.
  
-== named.conf ==+This page will show how to configure BIND9 to automatically update available TLDs and their master servers. 
 + 
 +In this example BIND9 configuration, zones are stored in directories "/etc/bind/zones" and "/etc/bind/zones/slaves" A Tier 1 BIND9 server may be deployed using other directories.  BIND9 directories are different in different computer operating systems. 
 + 
 +Run BIND9 in a chroot jail. 
 + 
 +Tier 1 servers are listed as 'master' in each zone for redundancy. 
 + 
 +Begin with the '.' root zone; add the following directive statement, to the BIND9 ("named") configuration file "named.conf"
 + 
 +== named.conf==
 <code> <code>
 zone "." { zone "." {
  type slave;  type slave;
  file "/etc/bind/zones/db.root";  file "/etc/bind/zones/db.root";
- masters { 75.127.96.89; };+ masters { 168.119.153.26; };
  allow-transfer { any; };  allow-transfer { any; };
  notify no;  notify no;
Line 21: Line 32:
 </code> </code>
  
-Below are the zones for each OpenNIC TLD, place these in your ''named.conf''.+Below are the zones for each OpenNIC TLD.  Add these to the //named// configuration file; "named.conf".
  
 == opennic.glue == == opennic.glue ==
Line 28: Line 39:
  type slave;  type slave;
  file "/etc/bind/zones/slaves/glue.zone";  file "/etc/bind/zones/slaves/glue.zone";
- masters { 75.127.96.89; };+ masters { 168.119.153.26; };
  allow-transfer { any; };  allow-transfer { any; };
  notify no;  notify no;
Line 39: Line 50:
  type slave;  type slave;
  file "/etc/bind/zones/slaves/dns.glue.zone";  file "/etc/bind/zones/slaves/dns.glue.zone";
- masters { 75.127.96.89; };+ masters { 168.119.153.26; };
  allow-transfer { any; };  allow-transfer { any; };
  notify no;  notify no;
Line 295: Line 306:
 </code> </code>
  
-I hope that this guide has assisted getting your Tier 1 server ready for your new TLD. Remember to follow the insturctions on creating a new TLD if you have not already had your TLD approved for use within OpenNIC by vote of the membership. [[opennic:creating_new_tlds]]+I hope (likely in vain) that this guide has assisted (even though the the preface states that it is totally outdated) getting your Tier 1 server ready for your new TLD.  
 + 
 +Remember to follow the instructions on creating a new TLD in case you have not yet had your TLD approved for use within OpenNIC by vote of the membership. [[opennic:creating_new_tlds]]
  • /wiki/data/pages/opennic/tier1setup.txt
  • Last modified: 3 years ago
  • by Shdwdrgn