Coder Social home page Coder Social logo

auto_dns's Introduction

Auto DNS Python CLI

Auto DNS is a Python command line application which automatically updates the DNS records of your domain using various DNS providers.

Supported DNS providers:

  • Arvan
  • Cloudflare [coming soon]

This library is intended to be used on a system with a dynamic public IP that you want to map to a static domain name.

Installation

The package can be installed using pip:

$ pip install auto-dns

Or if you prefer, you can use Poetry:

$ poetry add auto-dns

Configuration

To configure a DNS provider API key, use the following command:

$ autodns set_api_key <provider> <api_key>

Usage

To create a DNS record:

$ autodns create <domain> <record_type> <name> <provider> --ip <ip_address>

To update a DNS record with your current public IP, use the following command:

$ autodns update <domain> <record_type> <name> <provider> --ip <ip_address>

To delete a DNS record:

$ autodns delete <domain> <record_type> <name> <provider>

To get DNS records:

$ autodns get_record <domain> <provider> --record-type <record_type> --name <name>

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

Auto DNS is released under the MIT License.

auto_dns's People

Contributors

tavallaie avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

auto_dns's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.