Giter VIP home page Giter VIP logo

check-a-record's Introduction

check-a-record


This is a command line utility for checking if a host resolves to one or more DNS A Record(s). If at least one A record exists for a given host, check-a-record will print the IPs that the host resolves to and exit with return code 0. Otherwise, check-a-record prints an error message and exits with return code 1.

Dependencies

The following should be installed on your local machine

  • Golang (>= 1.8)

If using homebrew, these can be installed with:

brew install go

Installation

go get github.com/cloudfoundry-incubator/check-a-record

Usage

The check-a-record command can be invoked on the command line and will display it's usage.

usage: check-a-record <host>

Running Tests

The acceptance tests run inside of a docker container to allow a DNS server to be run on port 53. To run the tests:

./scripts/test

check-a-record's People

Contributors

alex-slynko avatar christianang avatar evanfarrar avatar gdean123 avatar genevieve avatar jaresty avatar rizwanreza avatar zankich avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.