OpenNIC
OpenNIC is an alternate DNS root. Since January 2011, the VTLUUG has operated a tier 2 OpenNIC server on milton.
Contents
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 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
Add these lines to your BIND configuration file:
zone "bbs." IN { type forward; forwarders { 69.164.208.50; 69.164.211.225; 128.173.89.246; }; }; zone "bzh." IN { type forward; forwarders { 69.164.208.50; 69.164.211.225; 128.173.89.246; }; }; zone "dyn." IN { type forward; forwarders { 69.164.208.50; 69.164.211.225; 128.173.89.246; }; }; zone "free." IN { type forward; forwarders { 69.164.208.50; 69.164.211.225; 128.173.89.246; }; }; zone "fur." IN { type forward; forwarders { 69.164.208.50; 69.164.211.225; 128.173.89.246; }; }; zone "geek." IN { type forward; forwarders { 69.164.208.50; 69.164.211.225; 128.173.89.246; }; }; zone "glue." IN { type forward; forwarders { 69.164.208.50; 69.164.211.225; 128.173.89.246; }; }; zone "gopher." IN { type forward; forwarders { 69.164.208.50; 69.164.211.225; 128.173.89.246; }; }; zone "indy." IN { type forward; forwarders { 69.164.208.50; 69.164.211.225; 128.173.89.246; }; }; zone "ing." IN { type forward; forwarders { 69.164.208.50; 69.164.211.225; 128.173.89.246; }; }; zone "ko." IN { type forward; forwarders { 69.164.208.50; 69.164.211.225; 128.173.89.246; }; }; zone "ku." IN { type forward; forwarders { 69.164.208.50; 69.164.211.225; 128.173.89.246; }; }; zone "micro." IN { type forward; forwarders { 69.164.208.50; 69.164.211.225; 128.173.89.246; }; }; zone "null." IN { type forward; forwarders { 69.164.208.50; 69.164.211.225; 128.173.89.246; }; }; zone "oss." IN { type forward; forwarders { 69.164.208.50; 69.164.211.225; 128.173.89.246; }; }; zone "parody." IN { type forward; forwarders { 69.164.208.50; 69.164.211.225; 128.173.89.246; }; }; zone "rm." IN { type forward; forwarders { 69.164.208.50; 69.164.211.225; 128.173.89.246; }; }; zone "te." IN { type forward; forwarders { 69.164.208.50; 69.164.211.225; 128.173.89.246; }; }; zone "ti." IN { type forward; forwarders { 69.164.208.50; 69.164.211.225; 128.173.89.246; }; }; zone "uu." IN { type forward; forwarders { 69.164.208.50; 69.164.211.225; 128.173.89.246; }; };
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=/bzh/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=/ko/128.173.89.246 server=/ku/128.173.89.246 server=/micro/128.173.89.246 server=/null/128.173.89.246 server=/oss/128.173.89.246 server=/parody/128.173.89.246 server=/rm/128.173.89.246 server=/te/128.173.89.246 server=/ti/128.173.89.246 server=/uu/128.173.89.246
You can replace 128.173.89.246
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 these lines to your unbound.conf:
server: domain-insecure: "bbs." domain-insecure: "bzh." domain-insecure: "dyn." domain-insecure: "free." domain-insecure: "fur." domain-insecure: "geek." domain-insecure: "glue." domain-insecure: "gopher." domain-insecure: "indy." domain-insecure: "ing." domain-insecure: "ko." domain-insecure: "ku." domain-insecure: "micro." domain-insecure: "null." domain-insecure: "oss." domain-insecure: "parody." domain-insecure: "rm." domain-insecure: "te." domain-insecure: "ti." domain-insecure: "uu." 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: "bzh." 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: "free." 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: "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: "ko." forward-addr: 128.173.89.246 forward-addr: 69.164.208.50 forward-addr: 64.0.55.201 forward-zone: name: "ku." 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: "parody." forward-addr: 128.173.89.246 forward-addr: 69.164.208.50 forward-addr: 64.0.55.201 forward-zone: name: "rm." forward-addr: 128.173.89.246 forward-addr: 69.164.208.50 forward-addr: 64.0.55.201 forward-zone: name: "te." forward-addr: 128.173.89.246 forward-addr: 69.164.208.50 forward-addr: 64.0.55.201 forward-zone: name: "ti." forward-addr: 128.173.89.246 forward-addr: 69.164.208.50 forward-addr: 64.0.55.201 forward-zone: name: "uu." 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 tier 2 DNS servers listed on the OpenNIC site if you wish.