geraldvillorente/terminus-dig

Get the server public IP address.

Installs: 31

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 5

Forks: 3

Open Issues: 0

Type:terminus-plugin

v0.1 2022-03-15 04:29 UTC

This package is auto-updated.

Last update: 2024-04-15 09:01:45 UTC


README

Unsupported

Terminus v1.x Compatible

A Terminus plugin for inspecting DNS records.

For appservers or dbservers

To get the appserver IP address:

terminus dig:server <site>.<env>

To get the dbserver IP address:

terminus dig:server <site>.<env> --server=dbserver

To get the first IP address only:

terminus dig:server <site>.<env> | head -n 1

For domains

To get the A record (default):

terminus dig:domain --domain=pantheon.io

To get the AAAA records:

terminus dig:domain --domain=domain.com --type=AAAA

To get the custom domain CNAME:

terminus dig:domain --domain=google.com --type=CNAME

To get the custom domain MX:

terminus dig:domain --domain=google.com --type=MX

Installation

For Terminus 2 and below, you can install like this:

$ cd ~/.terminus/plugins
$ git clone https://github.com/pantheon-systems/terminus-dig.git

For Terminus 3, you can install like this:

$ terminus self:plugin:install geraldvillorente/terminus-dig

Or like this:

$ git clone https://github.com/pantheon-systems/terminus-dig.git
$ terminus self:plugin:install terminus-dig