Coder Social home page Coder Social logo

arablocks / ara-network-node-dns Goto Github PK

View Code? Open in Web Editor NEW
1.0 13.0 0.0 95 KB

An Ara Network node that runs a DNS

Home Page: https://arablocks.io/

License: GNU Lesser General Public License v3.0

JavaScript 95.52% Makefile 2.62% Dockerfile 1.86%
ara node dns network

ara-network-node-dns's Introduction

ara-network-node-dns

Build Status

An Ara Network node that runs a DNS.

Status

This project is still in alpha development.

Important: While this project is under active development, run npm link in ara-network-node-dns directory & npm link ara-network-node-dns in ara-network directory.

Dependencies

Installation

$ npm install ara-network ara-network-node-dns

Configuration

ara-runtime-configuration is a dependency of ara-network and will either read from the nearest .ararc. Install ara-runtime-configuration separately to specify default values not present in an .ararc.

Runtime configuration can be specified by targeting the [network.node.dns] INI section or a nested JSON object { network: { node: { dns: { ... }}}}.

Examples

INI format in an .ararc:

[network.node.dns]
multicast = true
loopback = true
port = 5300

JSON format (passed in to ara-runtime-configuration rc function:

"network": {
  "node": {
    "dns": {
      "multicast": true,
      "loopback": true,
      "port": 5300
    }
  }
}

Usage

const dns = require('ara-network-node-dns')

Command Line (ann)

$ ann --type dns --help
usage: ann -t dns [options]

Options:
  --debug, -D  Enable debug output                                     [boolean]
  --conf, -C   Path to configuration file                               [string]
  --help, -h   Show help                                               [boolean]
  --port, -p   Port or ports to listen on          [number] [default: [53,5300]]
  --loopback   Loopback DNS discovery                  [boolean] [default: true]
  --multicast  Multicast DNS discovery                 [boolean] [default: true]

Examples

Command Line (ann)

Invoke a network node with the ann (or ara-network-node) command line interface:

$ ann --type dns --port 5300

Contributing

See Also

License

LGPL-3.0

ara-network-node-dns's People

Contributors

jwerle avatar prash74 avatar vipyne avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ara-network-node-dns's Issues

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.