Giter VIP home page Giter VIP logo

opendig's Introduction

opendig

Latest Version Downloads License

Table of Contents

Overview
Installation
Command Line Usage
Python Package Usage
Configuration

## Overview

opendig is a command-line tool that extends the functionality of dig to be compatible with the Openname System. Specifically, it adds support for the resolution of blockchain user handles.

ONS extends DNS in a backwards-compatible way by supporting the registration and resolution of:

  • user handles on the blockchain (currently supported by opendig)
  • domains on the blockchain (in the design phase)

User calls to opendig will return user data in a standard schema.

Read about the schema

## Installation
$ sudo pip install opendig
## Command-line Usage
$ opendig +naval
$ opendig startupboy.com
## Python Package Usage
from opendig import ons_resolver
print ons_resolver('naval')

from opendig import dns_resolver
print dns_resolver('startupboy.com')
## Configuration

OpenDig comes with pre-configured default servers 8.8.8.8 (public DNS server by Google) and 162.243.253.65, 107.170.167.141 (public ONS server by OneName). We strongly recommend using a local config file, and using your own servers. Instructions for setting up your own server can be found here.

$ touch ~/.opendig
$ vi ~/.opendig

A sample config looks like this:

[dns]
servers = 8.8.8.8, 8.8.4.4

[ons]
#all these servers are queried and a check is performed that they return the same data
#to reduce trust on any single party, use your own servers or multiple public servers
servers = 162.243.253.65, 107.170.167.141

[namecoind]
port = 8332
user = opennamesystem
passwd = opennamesystem
use_https = True

opendig's People

Contributors

hasanmehmood avatar ibrahimahmed443 avatar muneeb-ali avatar shea256 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.