tableflip/dnsify

Name: dnsify

Owner: TABLEFLIP

Description: Simplify your dns config

Created: 2015-12-13 12:53:48.0

Updated: 2018-01-03 17:56:23.0

Pushed: 2018-01-03 17:56:39.0

Homepage: null

Size: 31

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

dnsify - Simplify your dns config

A human friendly format for defining and documenting and your DNS config and a tool for verifying and applying it to your friendly dns service provider.

e.g tableflip.io.dns.md

rigin: tableflip.io

       | type | data
-------|------|---------------
w blog | A    | 178.62.82.182
       | MX   | mx-{1,3}.rightbox.com:10
Why
What
Usage
fy examples/tableflip.io.dns.md

GIN tableflip.io.
 1h
 IN A  178.62.82.182
 IN A  178.62.82.182
 IN MX 10 mx-1.rightbox.com.


fy examples/tableflip.io.dns.md --json


rigin": "tableflip.io",
tl": "1h",
ecords" : [
{
  "type": "A",
  "name": "@",
  "data": "178.62.82.182"
}


Examples

examples/zone-file-style.dns.md

Origin: tableflip.io

The no frills “DNS Zone file as markdown table” style

name | type | data ———-|——|————— @ | A | 178.62.82.182 www | A | @ blog | A | @ next | A | 212.110.189.58 @ | MX | mx-1.rightbox.com:10 @ | MX | mx-2.rightbox.com:10 @ | MX | mx-3.rightbox.com:10 @ | TXT | v=spf1 include:_spf.google.com include:_spf.freeagent.com ~all


examples/dry-style.dns.md

Origin: tableflip.io

DRY style. Order the columns however you like, Multiple tables are merged, lists are expanded. The result is the same as the previous example

data | type | name ————– |——|————– 178.62.82.182 | A | @ www blog 212.110.189.58 | A | next

type | data —–|—— MX | mx-{1,2,3}.rightbox.com:10 TXT | v=spf1 include:_spf.google.com include:_spf.freeagent.com ~all


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.