powerdns-secondary-cleaner


Namepowerdns-secondary-cleaner JSON
Version 1.0.2 PyPI version JSON
download
home_pagehttps://github.com/CyberfusionIO/powerdns-secondary-cleaner
SummaryUse powerdns-secondary-cleaner to delete zones on secondary PowerDNS server that were deleted on primary PowerDNS server.
upload_time2023-07-05 16:36:01
maintainer
docs_urlNone
authorWilliam Edwards
requires_python>=3.6
licenseMIT
keywords cyberfusion powerdns
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # powerdns-secondary-cleaner

Use powerdns-secondary-cleaner to delete zones on secondary PowerDNS server that were deleted on primary PowerDNS server.

 The PowerDNS API is used for both the primary and secondary, so the program can run anywhere. Be it on the primary, secondary or elsewhere.

# Install

## Generic

Run the following command to create a source distribution:

    python3 setup.py sdist

## PyPI

Run the following command to install the package from PyPI:

    pip3 install powerdns-secondary-cleaner

# Configure

No configuration is supported.

# Usage

Syntax:

    powerdns-secondary-cleaner --primary-api-url=<primary-api-url> --primary-api-key=<primary-api-key> --secondary-api-url=<secondary-api-url> --secondary-api-key=<secondary-api-key> [--dry-run]

Example when running on primary:

    powerdns-secondary-cleaner --primary-api-url=http://localhost:8081 --primary-api-key=example --secondary-api-url=http://secondary.test:8081 --secondary-api-key=example

Example when running on secondary:

    powerdns-secondary-cleaner --secondary-api-url=http://localhost:8081 --secondary-api-key=example --primary-api-url=http://primary.test:8081 --primary-api-key=example

Only show which zones would be deleted on secondary:

    powerdns-secondary-cleaner ... --dry-run

# Tests

Run tests with pytest:

    pytest tests/



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/CyberfusionIO/powerdns-secondary-cleaner",
    "name": "powerdns-secondary-cleaner",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "cyberfusion,powerdns",
    "author": "William Edwards",
    "author_email": "support@cyberfusion.nl",
    "download_url": "https://files.pythonhosted.org/packages/5e/5a/89a851022d69f2b1fd9113c0e5482458b760a5fd338b9539293ea749b626/powerdns-secondary-cleaner-1.0.2.tar.gz",
    "platform": "linux",
    "description": "# powerdns-secondary-cleaner\n\nUse powerdns-secondary-cleaner to delete zones on secondary PowerDNS server that were deleted on primary PowerDNS server.\n\n The PowerDNS API is used for both the primary and secondary, so the program can run anywhere. Be it on the primary, secondary or elsewhere.\n\n# Install\n\n## Generic\n\nRun the following command to create a source distribution:\n\n    python3 setup.py sdist\n\n## PyPI\n\nRun the following command to install the package from PyPI:\n\n    pip3 install powerdns-secondary-cleaner\n\n# Configure\n\nNo configuration is supported.\n\n# Usage\n\nSyntax:\n\n    powerdns-secondary-cleaner --primary-api-url=<primary-api-url> --primary-api-key=<primary-api-key> --secondary-api-url=<secondary-api-url> --secondary-api-key=<secondary-api-key> [--dry-run]\n\nExample when running on primary:\n\n    powerdns-secondary-cleaner --primary-api-url=http://localhost:8081 --primary-api-key=example --secondary-api-url=http://secondary.test:8081 --secondary-api-key=example\n\nExample when running on secondary:\n\n    powerdns-secondary-cleaner --secondary-api-url=http://localhost:8081 --secondary-api-key=example --primary-api-url=http://primary.test:8081 --primary-api-key=example\n\nOnly show which zones would be deleted on secondary:\n\n    powerdns-secondary-cleaner ... --dry-run\n\n# Tests\n\nRun tests with pytest:\n\n    pytest tests/\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Use powerdns-secondary-cleaner to delete zones on secondary PowerDNS server that were deleted on primary PowerDNS server.",
    "version": "1.0.2",
    "project_urls": {
        "Homepage": "https://github.com/CyberfusionIO/powerdns-secondary-cleaner"
    },
    "split_keywords": [
        "cyberfusion",
        "powerdns"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5e5a89a851022d69f2b1fd9113c0e5482458b760a5fd338b9539293ea749b626",
                "md5": "e69dc42b0676bedc1bde21b8f447b163",
                "sha256": "787b2a526769f681fff41c0808b8e7059c15713f3d3f9f1a049158dc0d567b0c"
            },
            "downloads": -1,
            "filename": "powerdns-secondary-cleaner-1.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "e69dc42b0676bedc1bde21b8f447b163",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 4127,
            "upload_time": "2023-07-05T16:36:01",
            "upload_time_iso_8601": "2023-07-05T16:36:01.454982Z",
            "url": "https://files.pythonhosted.org/packages/5e/5a/89a851022d69f2b1fd9113c0e5482458b760a5fd338b9539293ea749b626/powerdns-secondary-cleaner-1.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-07-05 16:36:01",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "CyberfusionIO",
    "github_project": "powerdns-secondary-cleaner",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "powerdns-secondary-cleaner"
}
        
Elapsed time: 0.09291s