Difference between revisions of "OpenNIC"
imported>Mutantmonkey (→Simple configuration) |
imported>Mutantmonkey (Added info about VTLUUG tier 2 server) |
||
Line 1: | Line 1: | ||
− | '''OpenNIC''' is an [[w:Alternative DNS root|alternate DNS root]]. | + | '''OpenNIC''' is an [[w:Alternative DNS root|alternate DNS root]]. Since January 2011, has operated a tier 2 OpenNIC server on [[milton]]. |
== Simple configuration == | == Simple configuration == | ||
− | The easiest way to set up OpenNIC is to edit resolv.conf and add some of OpenNIC's DNS servers to the list. You should add at least two in case one of them goes down. I personally use <code> | + | The easiest way to set up OpenNIC is to edit resolv.conf and add some of OpenNIC's DNS servers to the list. You should add at least two in case one of them goes down. I personally use <code>128.173.89.246</code>, <code>69.164.208.50</code>, and <code>64.0.55.201</code>. |
== Advanced configuration == | == Advanced configuration == | ||
Line 9: | Line 9: | ||
=== Dnsmasq === | === Dnsmasq === | ||
Add these lines to your [[w:Dnsmasq|Dnsmasq]] configuration file: | Add these lines to your [[w:Dnsmasq|Dnsmasq]] configuration file: | ||
− | <pre>server=/bbs/ | + | <pre>server=/bbs/128.173.89.246 |
− | server=/dyn/ | + | server=/dyn/128.173.89.246 |
− | server=/fur/ | + | server=/fur/128.173.89.246 |
− | server=/free/ | + | server=/free/128.173.89.246 |
− | server=/geek/ | + | server=/geek/128.173.89.246 |
− | server=/glue/ | + | server=/glue/128.173.89.246 |
− | server=/gopher/ | + | server=/gopher/128.173.89.246 |
− | server=/indy/ | + | server=/indy/128.173.89.246 |
− | server=/ing/ | + | server=/ing/128.173.89.246 |
− | server=/micro/ | + | server=/micro/128.173.89.246 |
− | server=/null/ | + | server=/null/128.173.89.246 |
− | server=/oss/ | + | server=/oss/128.173.89.246 |
− | server=/p2p/ | + | server=/p2p/128.173.89.246 |
− | server=/parody/ | + | server=/parody/128.173.89.246</pre> |
− | You can replace <code> | + | You can replace <code>128.173.89.246</code> with any of the other OpenNIC DNS servers if you so choose. |
=== Unbound === | === Unbound === | ||
Line 29: | Line 29: | ||
<pre>forward-zone: | <pre>forward-zone: | ||
name: "bbs." | name: "bbs." | ||
+ | forward-addr: 128.173.89.246 | ||
forward-addr: 69.164.208.50 | forward-addr: 69.164.208.50 | ||
− | |||
forward-addr: 64.0.55.201 | forward-addr: 64.0.55.201 | ||
forward-zone: | forward-zone: | ||
name: "dyn." | name: "dyn." | ||
+ | forward-addr: 128.173.89.246 | ||
forward-addr: 69.164.208.50 | forward-addr: 69.164.208.50 | ||
− | |||
forward-addr: 64.0.55.201 | forward-addr: 64.0.55.201 | ||
forward-zone: | forward-zone: | ||
name: "fur." | name: "fur." | ||
+ | forward-addr: 128.173.89.246 | ||
forward-addr: 69.164.208.50 | forward-addr: 69.164.208.50 | ||
− | |||
forward-addr: 64.0.55.201 | forward-addr: 64.0.55.201 | ||
forward-zone: | forward-zone: | ||
name: "free." | name: "free." | ||
+ | forward-addr: 128.173.89.246 | ||
forward-addr: 69.164.208.50 | forward-addr: 69.164.208.50 | ||
− | |||
forward-addr: 64.0.55.201 | forward-addr: 64.0.55.201 | ||
forward-zone: | forward-zone: | ||
name: "geek." | name: "geek." | ||
+ | forward-addr: 128.173.89.246 | ||
forward-addr: 69.164.208.50 | forward-addr: 69.164.208.50 | ||
− | |||
forward-addr: 64.0.55.201 | forward-addr: 64.0.55.201 | ||
forward-zone: | forward-zone: | ||
name: "glue." | name: "glue." | ||
+ | forward-addr: 128.173.89.246 | ||
forward-addr: 69.164.208.50 | forward-addr: 69.164.208.50 | ||
− | |||
forward-addr: 64.0.55.201 | forward-addr: 64.0.55.201 | ||
forward-zone: | forward-zone: | ||
name: "gopher." | name: "gopher." | ||
+ | forward-addr: 128.173.89.246 | ||
forward-addr: 69.164.208.50 | forward-addr: 69.164.208.50 | ||
− | |||
forward-addr: 64.0.55.201 | forward-addr: 64.0.55.201 | ||
forward-zone: | forward-zone: | ||
name: "indy." | name: "indy." | ||
+ | forward-addr: 128.173.89.246 | ||
forward-addr: 69.164.208.50 | forward-addr: 69.164.208.50 | ||
− | |||
forward-addr: 64.0.55.201 | forward-addr: 64.0.55.201 | ||
forward-zone: | forward-zone: | ||
name: "ing." | name: "ing." | ||
+ | forward-addr: 128.173.89.246 | ||
forward-addr: 69.164.208.50 | forward-addr: 69.164.208.50 | ||
− | |||
forward-addr: 64.0.55.201 | forward-addr: 64.0.55.201 | ||
forward-zone: | forward-zone: | ||
name: "micro." | name: "micro." | ||
+ | forward-addr: 128.173.89.246 | ||
forward-addr: 69.164.208.50 | forward-addr: 69.164.208.50 | ||
− | |||
forward-addr: 64.0.55.201 | forward-addr: 64.0.55.201 | ||
forward-zone: | forward-zone: | ||
name: "null." | name: "null." | ||
+ | forward-addr: 128.173.89.246 | ||
forward-addr: 69.164.208.50 | forward-addr: 69.164.208.50 | ||
− | |||
forward-addr: 64.0.55.201 | forward-addr: 64.0.55.201 | ||
forward-zone: | forward-zone: | ||
name: "oss." | name: "oss." | ||
+ | forward-addr: 128.173.89.246 | ||
forward-addr: 69.164.208.50 | forward-addr: 69.164.208.50 | ||
− | |||
forward-addr: 64.0.55.201 | forward-addr: 64.0.55.201 | ||
forward-zone: | forward-zone: | ||
name: "p2p." | name: "p2p." | ||
+ | forward-addr: 128.173.89.246 | ||
forward-addr: 69.164.208.50 | forward-addr: 69.164.208.50 | ||
− | |||
forward-addr: 64.0.55.201 | forward-addr: 64.0.55.201 | ||
forward-zone: | forward-zone: | ||
name: "parody." | name: "parody." | ||
+ | forward-addr: 128.173.89.246 | ||
forward-addr: 69.164.208.50 | forward-addr: 69.164.208.50 | ||
− | |||
forward-addr: 64.0.55.201</pre> | forward-addr: 64.0.55.201</pre> | ||
− | You can replace <code> | + | You can replace <code>128.173.89.246</code> <code>69.164.208.50</code>, and <code>64.0.55.201</code> with some of the other DNS servers listed on the OpenNIC site if you wish. |
== External links == | == External links == | ||
* [[w:OpenNIC|OpenNIC]] | * [[w:OpenNIC|OpenNIC]] | ||
* [http://www.opennicproject.org/ OpenNIC Homepage] | * [http://www.opennicproject.org/ OpenNIC Homepage] |
Revision as of 08:15, 28 January 2011
OpenNIC is an alternate DNS root. Since January 2011, has operated a tier 2 OpenNIC server on milton.
Simple configuration
The easiest way to set up OpenNIC is to edit resolv.conf and add some of OpenNIC's DNS servers to the list. You should add at least two in case one of them goes down. I personally use 128.173.89.246
, 69.164.208.50
, and 64.0.55.201
.
Advanced configuration
If you run your own DNS server, you may want to instead use OpenNIC's DNS servers only for OpenNIC TLDs and use a DNS server that is closer to you for other domains.
Dnsmasq
Add these lines to your Dnsmasq configuration file:
server=/bbs/128.173.89.246 server=/dyn/128.173.89.246 server=/fur/128.173.89.246 server=/free/128.173.89.246 server=/geek/128.173.89.246 server=/glue/128.173.89.246 server=/gopher/128.173.89.246 server=/indy/128.173.89.246 server=/ing/128.173.89.246 server=/micro/128.173.89.246 server=/null/128.173.89.246 server=/oss/128.173.89.246 server=/p2p/128.173.89.246 server=/parody/128.173.89.246
You can replace 128.173.89.246
with any of the other OpenNIC DNS servers if you so choose.
Unbound
To configure OpenNIC to work with the Unbound recursive DNS server, simply add these to your unbound.conf:
forward-zone: name: "bbs." forward-addr: 128.173.89.246 forward-addr: 69.164.208.50 forward-addr: 64.0.55.201 forward-zone: name: "dyn." forward-addr: 128.173.89.246 forward-addr: 69.164.208.50 forward-addr: 64.0.55.201 forward-zone: name: "fur." forward-addr: 128.173.89.246 forward-addr: 69.164.208.50 forward-addr: 64.0.55.201 forward-zone: name: "free." forward-addr: 128.173.89.246 forward-addr: 69.164.208.50 forward-addr: 64.0.55.201 forward-zone: name: "geek." forward-addr: 128.173.89.246 forward-addr: 69.164.208.50 forward-addr: 64.0.55.201 forward-zone: name: "glue." forward-addr: 128.173.89.246 forward-addr: 69.164.208.50 forward-addr: 64.0.55.201 forward-zone: name: "gopher." forward-addr: 128.173.89.246 forward-addr: 69.164.208.50 forward-addr: 64.0.55.201 forward-zone: name: "indy." forward-addr: 128.173.89.246 forward-addr: 69.164.208.50 forward-addr: 64.0.55.201 forward-zone: name: "ing." forward-addr: 128.173.89.246 forward-addr: 69.164.208.50 forward-addr: 64.0.55.201 forward-zone: name: "micro." forward-addr: 128.173.89.246 forward-addr: 69.164.208.50 forward-addr: 64.0.55.201 forward-zone: name: "null." forward-addr: 128.173.89.246 forward-addr: 69.164.208.50 forward-addr: 64.0.55.201 forward-zone: name: "oss." forward-addr: 128.173.89.246 forward-addr: 69.164.208.50 forward-addr: 64.0.55.201 forward-zone: name: "p2p." forward-addr: 128.173.89.246 forward-addr: 69.164.208.50 forward-addr: 64.0.55.201 forward-zone: name: "parody." forward-addr: 128.173.89.246 forward-addr: 69.164.208.50 forward-addr: 64.0.55.201
You can replace 128.173.89.246
69.164.208.50
, and 64.0.55.201
with some of the other DNS servers listed on the OpenNIC site if you wish.