OpenNIC

From the Linux and Unix Users Group at Virginia Teck Wiki
Revision as of 23:19, 14 April 2011 by imported>Mutantmonkey (Unbound)
Jump to: navigation, search

OpenNIC is an alternate DNS root. Since January 2011, the VTLUUG 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 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]

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 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