Skip to content
This repository has been archived by the owner on Mar 4, 2021. It is now read-only.
/ dizzy Public archive

A Python wrapper for the DNS Made Easy v2.0 API

License

Notifications You must be signed in to change notification settings

taeram/dizzy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dizzy

Dizzy is a wrapper for the DNS Made Easy API in Python.

Requirements

You'll need the following:

Installation

    # Clone the repo
    git clone https://github.com/taeram/dizzy.git ~/.dizzy
    cd ~/.dizzy/

    # Install the dependencies
    sudo pip install -r requirements.txt

    # Add your DNS Made Easy API credentials to your dizzy environment
    sudo tee ~/.dizzy/.env << EOF
    DNSMADEEASY_API_KEY=api-key-goes-here
    DNSMADEEASY_SECRET_KEY=secret-key-goes-here
    EOF

    # Voila!
    ~/.dizzy/dizzy.py

Usage

Update an A record.

In this example, we're updating www.example.com to point to 127.0.0.1

Request

~/.dizzy/dizzy.py example.com update www 127.0.0.1

Response

www.example.com. 3600 IN A 127.0.0.1

About

A Python wrapper for the DNS Made Easy v2.0 API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages