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: proteuscmd [-h] [--view {all,intern,extern}] {get,set,delete} domain [target]
Get information about a DNS record:
❯ proteuscmd get lktest.uni-osnabrueck.de
Set an alias record:
❯ proteuscmd set lktest.uni-osnabrueck.de vm123.rz.uni-osnabrueck.de
Set a host record:
❯ proteuscmd set lktest.uni-osnabrueck.de 131.12.65.123
Delete a record:
❯ proteuscmd 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.4.tar.gz
(4.4 kB
view details)
File details
Details for the file proteuscmd-0.4.tar.gz
.
File metadata
- Download URL: proteuscmd-0.4.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.64.1 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ebd002ea6c13245e395828accdd71471bfb0969f6ebc5a20b92c6cb60987ea7 |
|
MD5 | a49eac1926a56ab604db7b30169a3adf |
|
BLAKE2b-256 | bf2e8cf732b37da7901c9c7e2ecea7211c12a0c0a3c424d03bdf7527b5e87fba |