check-a-record

command module
v0.0.0-...-4b8c38f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 3, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
acceptance-test

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL