Skip to main content

A command line interface to modify DNS entries in Proteus.

Project description

Proteus Command Line Client

A simple command line client to modify DNS entries in Proteus.

Installation

Use pip to install proteuscmd:

❯ pip install proteuscmd

Configuration

Configure access credentials in ~/.proteus.json:

{
	"user": "api-user",
	"password": "super.secret!",
	"url": "https://proteus.example.com"
}

Additionally, you can specify a map of automatic replacements for domains. This can be useful if, for example, all your domains also have an alternate domain with a DNAME record.

{
	...
	"replace": {
		".ex.com": ".example.com"
	}
}

Usage

❯ proteuscmd
Usage: python -m proteuscmd [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  dns  Get information about or update DNS entries.
  ip   Register IP addresses.

Get information about a DNS record:

❯ proteuscmd dns get lktest.uni-osnabrueck.de

Set an alias record:

❯ proteuscmd dns set lktest.uni-osnabrueck.de vm123.rz.uni-osnabrueck.de

Set a host record:

❯ proteuscmd dns set lktest.uni-osnabrueck.de 131.12.65.123

Delete a record:

❯ proteuscmd dns delete lktest.uni-osnabrueck.de

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

proteuscmd-0.6.tar.gz (6.3 kB view details)

Uploaded Source

File details

Details for the file proteuscmd-0.6.tar.gz.

File metadata

  • Download URL: proteuscmd-0.6.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.5

File hashes

Hashes for proteuscmd-0.6.tar.gz
Algorithm Hash digest
SHA256 75b74a4a91a5f5c8ad2b9ec18b8379ddac8157d20476ad2035b19c9d581e7c5b
MD5 131443947f9e7479ee6304f82d759961
BLAKE2b-256 feee092fd17a7c303ef46a18b3000638aad9ca90515017b99e0b2c9240be39e3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page