opennic2dnsmasq/README.org

937 B

Simple dnsmasq config builder for OpenNIC TLDs

  • If you already know what nameserver you will be using - provide it as the OPENNIC_NS environment variable. By default it will probe OpenNIC API and pick the closest server
  • To create only opennic or peered server list use -opennic and -peered flags. By default it will print both lists

#+ NAME: Example with preset NS

OPENNIC_NS=127.0.0.35 node index.js -opennic
# OpenNIC TLDs
server=/bbs/127.0.0.35
server=/chan/127.0.0.35
server=/cyb/127.0.0.35
server=/dyn/127.0.0.35
server=/epic/127.0.0.35
server=/geek/127.0.0.35
server=/gopher/127.0.0.35
server=/indy/127.0.0.35
server=/libre/127.0.0.35
server=/neo/127.0.0.35
server=/null/127.0.0.35
server=/o/127.0.0.35
server=/oss/127.0.0.35
server=/oz/127.0.0.35
server=/parody/127.0.0.35
server=/pirate/127.0.0.35
# ----------