Open main menu

Linux and Unix Users Group at Virginia Teck Wiki β

Difference between revisions of "OpenNIC"

imported>Mutantmonkey
imported>Pew
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''OpenNIC''' is an [[w:Alternative DNS root|alternate DNS root]]. Since January 2011, the [[VTLUUG]] has operated a tier 2 OpenNIC server on [[milton]].
+
'''OpenNIC''' is an [[w:Alternative DNS root|alternate DNS root]]. Since January 2011, the [[VTLUUG]] has operated a tier 2 OpenNIC server on [[Infrastructure:Lordnikon|lordnikon]].
  
 
== 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>128.173.89.246</code>, <code>69.164.208.50</code>, and <code>64.0.55.201</code>.
+
The easiest way to set up OpenNIC is to edit resolv.conf and replace your existing DNS servers with some of OpenNIC's servers. You should add at least two in case one of them goes down. I personally use three: <code>128.173.89.246</code>, <code>69.164.208.50</code>, and <code>64.0.55.201</code>.
  
 
== Advanced configuration ==
 
== 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.
+
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. This also will allow you continue to use the ICANN root servers, so you can have full support for things like DNSSEC.
 +
 
 +
=== BIND ===
 +
A sample configuration is available at [http://git.vtluug.org/opennic-forward-zones.git/blob_plain/HEAD:/bind.conf]. To use, simply add the contents of the sample configuration to your named.conf.
 +
 
 +
You can replace <code>69.164.208.50</code>, <code>69.164.211.225</code>, and <code>128.173.89.246</code> with other OpenNIC tier 2 DNS servers if you'd like.
  
 
=== 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/128.173.89.246
+
<pre>server=/bbs./128.173.89.246
server=/dyn/128.173.89.246
+
server=/bbs./69.164.208.50
server=/fur/128.173.89.246
+
server=/bzh./128.173.89.246
server=/free/128.173.89.246
+
server=/bzh./69.164.208.50
server=/geek/128.173.89.246
+
server=/dyn./128.173.89.246
server=/glue/128.173.89.246
+
server=/dyn./69.164.208.50
server=/gopher/128.173.89.246
+
server=/fur./128.173.89.246
server=/indy/128.173.89.246
+
server=/fur./69.164.208.50
server=/ing/128.173.89.246
+
server=/free./128.173.89.246
server=/micro/128.173.89.246
+
server=/free./69.164.208.50
server=/null/128.173.89.246
+
server=/geek./128.173.89.246
server=/oss/128.173.89.246
+
server=/geek./69.164.208.50
server=/p2p/128.173.89.246
+
server=/glue./128.173.89.246
server=/parody/128.173.89.246</pre>
+
server=/glue./69.164.208.50
You can replace <code>128.173.89.246</code> with any of the other OpenNIC DNS servers if you so choose.
+
server=/gopher./128.173.89.246
 +
server=/gopher./69.164.208.50
 +
server=/indy./128.173.89.246
 +
server=/indy./69.164.208.50
 +
server=/ing./128.173.89.246
 +
server=/ing./69.164.208.50
 +
server=/ko./128.173.89.246
 +
server=/ko./69.164.208.50
 +
server=/ku./128.173.89.246
 +
server=/ku./69.164.208.50
 +
server=/micro./128.173.89.246
 +
server=/micro./69.164.208.50
 +
server=/null./128.173.89.246
 +
server=/null./69.164.208.50
 +
server=/oss./128.173.89.246
 +
server=/oss./69.164.208.50
 +
server=/parody./128.173.89.246
 +
server=/parody./69.164.208.50
 +
server=/rm./128.173.89.246
 +
server=/rm./69.164.208.50
 +
server=/te./128.173.89.246
 +
server=/te./69.164.208.50
 +
server=/ti./128.173.89.246
 +
server=/ti./69.164.208.50
 +
server=/uu./128.173.89.246
 +
server=/uu./69.164.208.50</pre>
 +
You can replace <code>128.173.89.246</code> and <code>69.164.208.50</code> with any of the other OpenNIC tier 2 DNS servers if you so choose.
  
 
=== Unbound ===
 
=== Unbound ===
To configure OpenNIC to work with the [[w:Unbound (DNS Server)|Unbound recursive DNS server]], simply add these to your unbound.conf:
+
To configure OpenNIC to work with the [[w:Unbound (DNS Server)|Unbound recursive DNS server]], simply add the contents of the sample configuration at [http://git.vtluug.org/opennic-forward-zones.git/blob_plain/HEAD:/unbound.conf] to your unbound.conf.
<pre>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</pre>
 
  
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.
+
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 tier 2 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]
 +
 +
[[Category:VTLUUG:Projects]]
 +
[[Category:Deprecated]]

Latest revision as of 01:14, 4 January 2018

OpenNIC is an alternate DNS root. Since January 2011, the VTLUUG has operated a tier 2 OpenNIC server on lordnikon.

Contents

Simple configuration

The easiest way to set up OpenNIC is to edit resolv.conf and replace your existing DNS servers with some of OpenNIC's servers. You should add at least two in case one of them goes down. I personally use three: 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. This also will allow you continue to use the ICANN root servers, so you can have full support for things like DNSSEC.

BIND

A sample configuration is available at [1]. To use, simply add the contents of the sample configuration to your named.conf.

You can replace 69.164.208.50, 69.164.211.225, and 128.173.89.246 with other OpenNIC tier 2 DNS servers if you'd like.

Dnsmasq

Add these lines to your Dnsmasq configuration file:

server=/bbs./128.173.89.246
server=/bbs./69.164.208.50
server=/bzh./128.173.89.246
server=/bzh./69.164.208.50
server=/dyn./128.173.89.246
server=/dyn./69.164.208.50
server=/fur./128.173.89.246
server=/fur./69.164.208.50
server=/free./128.173.89.246
server=/free./69.164.208.50
server=/geek./128.173.89.246
server=/geek./69.164.208.50
server=/glue./128.173.89.246
server=/glue./69.164.208.50
server=/gopher./128.173.89.246
server=/gopher./69.164.208.50
server=/indy./128.173.89.246
server=/indy./69.164.208.50
server=/ing./128.173.89.246
server=/ing./69.164.208.50
server=/ko./128.173.89.246
server=/ko./69.164.208.50
server=/ku./128.173.89.246
server=/ku./69.164.208.50
server=/micro./128.173.89.246
server=/micro./69.164.208.50
server=/null./128.173.89.246
server=/null./69.164.208.50
server=/oss./128.173.89.246
server=/oss./69.164.208.50
server=/parody./128.173.89.246
server=/parody./69.164.208.50
server=/rm./128.173.89.246
server=/rm./69.164.208.50
server=/te./128.173.89.246
server=/te./69.164.208.50
server=/ti./128.173.89.246
server=/ti./69.164.208.50
server=/uu./128.173.89.246
server=/uu./69.164.208.50

You can replace 128.173.89.246 and 69.164.208.50 with any of the other OpenNIC tier 2 DNS servers if you so choose.

Unbound

To configure OpenNIC to work with the Unbound recursive DNS server, simply add the contents of the sample configuration at [2] to your unbound.conf.

You can replace 128.173.89.246, 69.164.208.50, and 64.0.55.201 with some of the other tier 2 DNS servers listed on the OpenNIC site if you wish.

External links