Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revisionBoth sides next revision | ||
opennic:t2slaved [2017-05-05T22:23:45Z] – updated list of masters shdwdrgn | opennic:t2slaved [2017-07-05T06:11:47Z] – fusl | ||
---|---|---|---|
Line 3: | Line 3: | ||
FIXME This guide was copied directly from the old wiki. It likely needs some updates for the latest BIND software and OpenNIC configuration. If this guide doesn' | FIXME This guide was copied directly from the old wiki. It likely needs some updates for the latest BIND software and OpenNIC configuration. If this guide doesn' | ||
- | For those wishing to set up a more robust local nameserver, or if you plan on running a public | + | For those wishing to set up a more robust local nameserver, or if you plan on running a public |
- | Slave zones contain the full record of domain names for each OpenNIC TLD. When a query is made for an OpenNIC domain, you have the exact information needed to proceed directly to that domain, thus eliminating several hops in processing a query. Note that the only difference between a tier-1 and tier-2 server is that tier-1 servers do not process public queries for ICANN domains - they ONLY process OpenNIC TLD requests. | + | Slave zones contain the full record of domain names for each OpenNIC TLD. When a query is made for an OpenNIC domain, you have the exact information needed to proceed directly to that domain, thus eliminating several hops in processing a query. Note that the only difference between a Tier 1 and Tier 2 server is that Tier 1 servers do not process public queries for ICANN domains - they ONLY process OpenNIC TLD requests. |
Linux - BIND8/9 | Linux - BIND8/9 | ||
Line 19: | Line 19: | ||
</ | </ | ||
- | You need to comment or remove these lines. Instead of using a hints file, you will now be slaving the root zone plus another zone which contains a list of all OpenNIC public | + | You need to comment or remove these lines. Instead of using a hints file, you will now be slaving the root zone plus another zone which contains a list of all OpenNIC public |
directory "/ | directory "/ | ||
Grab | Grab | ||
Line 52: | Line 52: | ||
zone " | zone " | ||
- | type slave; | + | type slave; |
- | file " | + | file " |
- | allow-transfer { any; }; | + | allow-transfer { any; }; |
- | notify yes; | + | notify yes; |
- | masters { opennicNS; }; | + | masters { opennicNS; }; |
}; | }; | ||
zone " | zone " | ||
- | type slave; | + | type slave; |
- | file " | + | file " |
- | allow-transfer { any; }; | + | allow-transfer { any; }; |
- | notify yes; | + | notify yes; |
- | masters { opennicNS; opennicPeers; | + | masters { opennicNS; opennicPeers; |
}; | }; | ||
</ | </ | ||
- | Note the ' | + | Note the ' |
- | If you have a firewall or port-forwarding configured to direct DNS traffic to your server, please ensure that port 53 for both UDP and TCP are enabled. The most common failure for a public | + | If you have a firewall or port-forwarding configured to direct DNS traffic to your server, please ensure that port 53 for both UDP and TCP are enabled. The most common failure for a public |
This completes the most basic slave zone configuration, | This completes the most basic slave zone configuration, | ||
Line 77: | Line 77: | ||
< | < | ||
zone " | zone " | ||
- | type slave; | + | type slave; |
- | file " | + | file " |
- | allow-transfer { any; }; | + | allow-transfer { any; }; |
- | notify yes; | + | notify yes; |
- | masters { opennicNS; opennicPeers; | + | masters { opennicNS; opennicPeers; |
}; | }; | ||
zone " | zone " | ||
- | type slave; | + | type slave; |
- | file " | + | file " |
- | allow-transfer { any; }; | + | allow-transfer { any; }; |
- | notify yes; | + | notify yes; |
- | masters { opennicNS; opennicPeers; | + | masters { opennicNS; opennicPeers; |
}; | }; | ||
zone " | zone " | ||
- | type slave; | + | type slave; |
- | file " | + | file " |
- | allow-transfer { any; }; | + | allow-transfer { any; }; |
- | notify yes; | + | notify yes; |
- | masters { opennicNS; opennicPeers; | + | masters { opennicNS; opennicPeers; |
}; | }; | ||
zone " | zone " | ||
- | type slave; | + | type slave; |
- | file " | + | file " |
- | allow-transfer { any; }; | + | allow-transfer { any; }; |
- | notify yes; | + | notify yes; |
- | masters { opennicNS; opennicPeers; | + | masters { opennicNS; opennicPeers; |
}; | }; | ||
zone " | zone " | ||
- | type slave; | + | type slave; |
- | file " | + | file " |
- | allow-transfer { any; }; | + | allow-transfer { any; }; |
- | notify yes; | + | notify yes; |
- | masters { opennicNS; opennicPeers; | + | masters { opennicNS; opennicPeers; |
}; | }; | ||
zone " | zone " | ||
- | type slave; | + | type slave; |
- | file " | + | file " |
- | allow-transfer { any; }; | + | allow-transfer { any; }; |
- | notify yes; | + | notify yes; |
- | masters { opennicNS; opennicPeers; | + | masters { opennicNS; opennicPeers; |
}; | }; | ||
zone " | zone " | ||
- | type slave; | + | type slave; |
- | file " | + | file " |
- | allow-transfer { any; }; | + | allow-transfer { any; }; |
- | notify yes; | + | notify yes; |
- | masters { opennicNS; opennicPeers; | + | masters { opennicNS; opennicPeers; |
}; | }; | ||
zone " | zone " | ||
- | type slave; | + | type slave; |
- | file " | + | file " |
- | allow-transfer { any; }; | + | allow-transfer { any; }; |
- | notify yes; | + | notify yes; |
- | masters { opennicNS; opennicPeers; | + | masters { opennicNS; opennicPeers; |
}; | }; | ||
zone " | zone " | ||
- | type slave; | + | type slave; |
- | file " | + | file " |
- | allow-transfer { any; }; | + | allow-transfer { any; }; |
- | notify yes; | + | notify yes; |
- | masters { opennicNS; opennicPeers; | + | masters { opennicNS; opennicPeers; |
}; | }; | ||
zone " | zone " | ||
- | type slave; | + | type slave; |
- | file " | + | file " |
- | allow-transfer { any; }; | + | allow-transfer { any; }; |
- | notify yes; | + | notify yes; |
- | masters { opennicNS; opennicPeers; | + | masters { opennicNS; opennicPeers; |
}; | }; | ||
zone " | zone " | ||
- | type slave; | + | type slave; |
- | file " | + | file " |
- | allow-transfer { any; }; | + | allow-transfer { any; }; |
- | notify yes; | + | notify yes; |
- | masters { opennicNS; opennicPeers; | + | masters { opennicNS; opennicPeers; |
}; | }; | ||
zone " | zone " | ||
- | type slave; | + | type slave; |
- | file " | + | file " |
- | allow-transfer { any; }; | + | allow-transfer { any; }; |
- | notify yes; | + | notify yes; |
- | masters { opennicNS; opennicPeers; | + | masters { opennicNS; opennicPeers; |
}; | }; | ||
zone " | zone " | ||
- | type slave; | + | type slave; |
- | file " | + | file " |
- | allow-transfer { any; }; | + | allow-transfer { any; }; |
- | notify yes; | + | notify yes; |
- | masters { opennicNS; opennicPeers; | + | masters { opennicNS; opennicPeers; |
}; | }; | ||
zone " | zone " | ||
- | type slave; | + | type slave; |
- | file " | + | file " |
- | allow-transfer { any; }; | + | allow-transfer { any; }; |
- | notify yes; | + | notify yes; |
- | masters { opennicNS; opennicPeers; | + | masters { opennicNS; opennicPeers; |
}; | }; | ||
zone " | zone " | ||
- | type slave; | + | type slave; |
- | file " | + | file " |
- | allow-transfer { any; }; | + | allow-transfer { any; }; |
- | notify yes; | + | notify yes; |
- | masters { opennicNS; opennicPeers; | + | masters { opennicNS; opennicPeers; |
}; | }; | ||
zone " | zone " | ||
- | type slave; | + | type slave; |
- | file " | + | file " |
- | allow-transfer { any; }; | + | allow-transfer { any; }; |
- | notify yes; | + | notify yes; |
- | masters { opennicNS; opennicPeers; | + | masters { opennicNS; opennicPeers; |
}; | }; | ||
</ | </ | ||
Line 204: | Line 204: | ||
To finish your new configuration, | To finish your new configuration, | ||
- | If you are creating a public | + | If you are creating a public |
===== Alternate Configurations ===== | ===== Alternate Configurations ===== |