Skip to content
Resolver implementation
Branch: master
Clone or download
Pull request Compare This branch is 7 commits ahead of B-DNS:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
.gitignore
.travis.yml
Dockerfile
LICENSE
README.md
appveyor.yml
config.json
index.js
package-lock.json Adding actual code that powers https://dns.trtlnic.com API Apr 23, 2019
package.json

README.md

image

TurtleCoin .trtl TLD HTTP Resolver API

This repository contains the implementation for a web resolver of .trtl and OpenNIC domains.

Prerequisites

Setup

  1. Clone this repository to wherever you'd like the API to run:
git clone https://github.com/turtlecoin/.trtl-resolver
  1. Install the required Node.js modules
cd .trtl-resolver && npm install
  1. Use your favorite text editor to change the values as necessary in config.json
{
  "bindIp": "0.0.0.0",
  "httpPort": 80,
  "corsHeader": "*",
  "dnsServers": [
    "142.93.1.231",
    "104.248.57.4"
  ]
}
  1. Fire up the script
node index.js
  1. Optionally, install PM2 or another process manager to keep the service running.
npm install -g pm2@latest
pm2 startup
pm2 start index.js --name trtl-resolver -i max
pm2 save

API Documentation

See the API documentation (served out of the docs folder) at https://docs.trtlnic.com/

(c) 2019 The TurtleCoin Developers
You can’t perform that action at this time.