New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

dnsify

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dnsify

DNS config in markdown

  • 0.3.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

dnsify - Simplify your dns config

  • Plain text format for version control and automated goodness
  • Protect the innocent from syntax errors
  • Reduce the repetition (looking at you zonefiles, OMG)
  • Prefer readability over opaque terseness (tinydns, I <3 you, but why you make me RTFM every time?)
## Origin: tableflip.io

name       | type | data
-----------|------|---------------
@ www blog | A    | 178.62.82.182
@          | MX   | mx-{1,3}.rightbox.com:10

Features

  • Markdown table to "Abstract Zone File" object
  • Merge multiple tables into one zone object
  • Understand globs {1,2}.foo.com => 1.foo.com 2.foo.com
  • Output a zonefile or JSON

Next up

  • Sanity check your dns config
  • Ensure output zonefile is valid
  • Upload to your DNS provider

Usage

dnsify examples/tableflip.io.dns.md

$ORIGIN tableflip.io.
$TTL 1h
@    IN A  178.62.82.182
www  IN A  178.62.82.182
@    IN MX 10 mx-1.rightbox.com.
...

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

{
  "origin": "tableflip.io",
  "ttl": "1h",
  "records" : [
    {
      "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

nametypedata
@A178.62.82.182
wwwA@
blogA@
nextA212.110.189.58
@MXmx-1.rightbox.com:10
@MXmx-2.rightbox.com:10
@MXmx-3.rightbox.com:10
@TXTv=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

datatypename
178.62.82.182A@ www blog
212.110.189.58Anext
typedata
MXmx-{1,2,3}.rightbox.com:10
TXTv=spf1 include:_spf.google.com include:_spf.freeagent.com ~all

Keywords

FAQs

Package last updated on 16 Dec 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc