nameserver

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 23, 2018 License: MIT Imports: 18 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Stellar Nameserver Service

The Stellar Nameserver service provides service discovery via DNS. Every node runs a local resolver so there is a single hop to lookup a record. This also makes it more fault tolerant. The nameserver service uses the same core library that CoreDNS uses (miekg/dns). Upon application deployment, records will automatically be added:

demo.web00.stellar    A                   172.16.0.4
demo.web00.stellar    TXT                 node=ctr-00; updated=2018-09-09T18:01:31-04:00

If an endpoint is specified in the application, an SRV record will also be added:

demo.web00.stellar    SRV   demo.web00.stellar      service=web proto=http priority=0 weight=0 port=8080

To be more friendly to ops, you can also add custom records:

NAME:
   sctl nameserver create - create nameserver record

USAGE:
   sctl nameserver create [command options] NAME VALUE

OPTIONS:
   --type value, -t value  resource record type (A, CNAME, TXT, SRV, MX) (default: "A")

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg *stellar.Config, agent *element.Agent) (*service, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL