Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dnslint

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dnslint

XYO Internal Domain Tool

  • 1.1.93
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
increased by50%
Maintainers
1
Weekly downloads
 
Created
Source

logo

DNSLint (tool-domains-nodejs)

NPM

npm version Build Status DepShield Badge npm

Codacy Badge Maintainability BCH compliance

Internal XY tool for checking domain configurations in AWS

Getting started

# install globally
npm install -g dnslint

This will expose a cli named dnslint to launch the tool.

Note: Make sure you have your AWS credatials configured

# Start check
dnslint

This will scan your entire AWS Route53 and output results in output.json

CLI options

Options:
  -V, --version                output the version number
  -o, --output [value]         Output file path (default: "dnslint-report.json")
  -d, --domainToCheck [value]  Domain to Check
  -h, --help                   output usage information

Config File [dnslint.json]

Make sure you put the config file in the same folder from where you are running the tool.

{
  "$schema": "https://raw.githubusercontent.com/XYOracleNetwork/tool-domains-nodejs/master/dist/schema/dnslint.schema.json#",
  "aws": {
    "enabled": true
  },
  "domains": [
    {
      "name": "*",
      "reverseDNS": {
        "enabled": false
      },
      "records": [
        {
          "type": "*",
          "html": true
        }
      ]
    },
    {
      "name": "xy.company",
      "enabled": true
    }
  ]
}

AWS Support

When aws=true is set in the dnslint.json file, then dnslint will read a list of domains from Route53, using the credentials configured in the AWS CLI

Developer Guide

Install dependencies

This project uses yarn as a package manager

  # install dependencies
  yarn install

Developers should conform to git flow workflow. Additionally, we should try to make sure every commit builds. Commit messages should be meaningful serve as a meta history for the repository. Please squash meaningless commits before submitting a pull-request.

There is git hook on commits to validate the project builds. If you'd like to commit your changes while developing locally and want to skip this step you can use the --no-verify commit option.

i.e.

  git commit --no-verify -m "COMMIT MSG"

License

Only for internal XY Company use at this time

Credits

Made with ❤️ by XYO

FAQs

Package last updated on 18 Apr 2019

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