weblog d’un abbe

20071003

/me resolves using OpenNIC

Filed under: Fun — abbe @ 0157

OpenNIC logo
I started using OpenNIC (an alternate root nameserver) on my box. The OpenNIC DNS servers are able to resolve all ICANN TLDs. So now you can resolve .com, .net, .in, or .geek (only resolvable on OpenNIC :P ). As I run an instance of pdns_recursor (a resolving DNS server). To start using OpenNIC as root servers in pdns_recursor, add following line to your pdns_recursor configuration file:

hint-file=/etc/pdns-recursor/root.hints

And following are the contents of root.hints file:

;begin OpenNIC SOA/Header

. 86400 IN SOA ns20.opennic.glue. hostmaster.opennic.glue. (
                2007100222              ;Serial
                10800                   ;Refresh after 3 hours
                7200                    ;Retry after 2 hours
                108000                  ;Expire after 30 hours
                7200)                   ;Cache TTL of 2 hrs

;end OpenNIC SOA/Header

;begin OpenNIC root pointers

.       518400  IN      NS      ns12.opennic.glue.
.       518400  IN      NS      ns2.opennic.glue.
.       518400  IN      NS      ns20.opennic.glue.
.       518400  IN      NS      ns21.opennic.glue.
.       518400  IN      NS      ns22.opennic.glue.

;end OpenNIC root pointers

;begin OpenNIC server list

ns12.opennic.glue.      172800  IN      A       131.161.247.250
ns2.opennic.glue.       172800  IN      A       216.87.84.214
ns20.opennic.glue.      172800  IN      A       66.150.224.233
ns21.opennic.glue.      172800  IN      A       58.6.115.46
ns22.opennic.glue.      172800  IN      A       58.6.115.45

In case you use BIND or some other DNS server, there is an HOWTO for Configuring Tier2 Server.

wahjava [~] chatteau $ dig +trace wahjava.wordpress.com

; <> DiG 9.4.2b1 <> +trace wahjava.wordpress.com
;; global options:  printcmd
.                       517638  IN      NS      ns22.opennic.glue.
.                       517638  IN      NS      ns20.opennic.glue.
.                       517638  IN      NS      ns2.opennic.glue.
.                       517638  IN      NS      ns21.opennic.glue.
.                       517638  IN      NS      ns12.opennic.glue.
;; Received 198 bytes from ::1#53(::1) in 1 ms

com.                    172800  IN      NS      l.gtld-servers.net.
com.                    172800  IN      NS      m.gtld-servers.net.
com.                    172800  IN      NS      a.gtld-servers.net.
com.                    172800  IN      NS      b.gtld-servers.net.
com.                    172800  IN      NS      c.gtld-servers.net.
com.                    172800  IN      NS      d.gtld-servers.net.
com.                    172800  IN      NS      e.gtld-servers.net.
com.                    172800  IN      NS      f.gtld-servers.net.
com.                    172800  IN      NS      g.gtld-servers.net.
com.                    172800  IN      NS      h.gtld-servers.net.
com.                    172800  IN      NS      i.gtld-servers.net.
com.                    172800  IN      NS      j.gtld-servers.net.
com.                    172800  IN      NS      k.gtld-servers.net.
;; Received 471 bytes from 58.6.115.46#53(ns21.opennic.glue) in 248 ms

wordpress.com.          172800  IN      NS      ns1.wordpress.com.
wordpress.com.          172800  IN      NS      ns2.wordpress.com.
wordpress.com.          172800  IN      NS      ns3.wordpress.com.
;; Received 141 bytes from 192.35.51.30#53(f.gtld-servers.net) in 469 ms

wahjava.wordpress.com.  300     IN      CNAME   wordpress.com.edgekey.net.
wordpress.com.          14400   IN      NS      ns1.wordpress.com.
wordpress.com.          14400   IN      NS      ns2.wordpress.com.
wordpress.com.          14400   IN      NS      ns3.wordpress.com.
;; Received 180 bytes from 72.233.2.19#53(ns3.wordpress.com) in 644 ms

Advertisements

2 Comments »

  1. Awesome!

    Comment by texnofobix — 20071023 @ 0918

  2. I’m glad, receiving mail from one of the OpenNIC DNS admins :) .

    Comment by आशीष शुक्ल — 20071023 @ 0928


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: