git ssb

0+

cel / ssb-dns



Tree:
📄README.md
README.md

ssb-dns

DNS on SSB.

This repo documents a schema for ssb-dns, and may in the future serve as a JS library of the implementation to be factored out of dnssb.

Schema

type: ssb-dns

Add a resource record and/or remove resource records, for a given domain name, class and record type.

{
  type: "ssb-dns",
  record: {
    name: string,
    class: string,
    type: string,
    data: string|object|Array?,
  },
  branch: [ MsgId ]?,
}

Record data

The following are schemas for some record types in class IN:

A, AAAA, NS, PTR, CNAME

domain

MX

[priority, name]

SOA

{
  mname: string,
  rname: string,
  serial: number,
  refresh: number,
  retry: number,
  expire: number,
}

TXT, SPF

[string, ...]

SRV

{
  priority: number,
  weight: number,
  port: number,
  target: string,
}

DS

{
  key_tag: string,
  algorithm: string,
  digest_type: number,
  digest: number,
}

SSHFP

{
  algorithm: string,
  fp_type: string,
  fingerprint: string
}

Further Resources

License

Copyright (c) 2017 Secure Scuttlebutt Consortium

Usage of the works is permitted provided that this instrument is retained with the works, so that any entity that uses the works is notified of this instrument.

DISCLAIMER: THE WORKS ARE WITHOUT WARRANTY.

Built with git-ssb-web