a-record

0.9.0 • Public • Published

A Record

Share specific help for adding DNS Records to a domain.

Getting started

To add A Record to your project’s dependencies, install it with npm:

npm install --save a-record

Now, you can require it and within you application:

var hosts = require("a-record");

From here, you might pass the data along to your templates so you can iterate through the entire list:

ul
  each host in hosts
    li: a(href="#{ host.arecord }") Add an A Record using #{ host.name }
    li: a(href="#{ host.cname }")   Add a CNAME using #{ host.name }

Or, provide specific instructions if you already know the nameserver:

console.log('Get help at: ' + host['namecheap.com'].arecord);
// Get help at http://www.namecheap.com/support/knowledgebase/article.aspx/319/78/

License

The MIT License (MIT)

Copyright © 2015 Kenneth Ormandy & Chloi Inc.

Readme

Keywords

none

Package Sidebar

Install

npm i a-record

Weekly Downloads

1

Version

0.9.0

License

MIT

Last publish

Collaborators

  • kennethormandy