Giter Site home page Giter Site logo

vultr-dyndns-gateway's Introduction

Overview

The primary intention of this service is to provide a limited access API key for Vultr, as well as to function as a DynDNS server.

Setup

environment:
    - API_KEY=
    - SUBDOMAIN=
    - DDNS_USER=
    - DDNS_PASS=

API_KEY is your Vultr API key. Keep this as safe as you can. SUBDOMAIN [default: dyndns] is the subdomain appended to the host provided in the call. DDNS_USER user name to allow for calls DDNS_PASS password to verify user with

Entries that do not exist will be ignored, so it will be necessary to create your dynamic entries ahead of time. This is a minor security precaution. Note: You can enter the whole portion as host.subdomain in the Vultr web interface

Usage

The GET API is based on DynDNS for maximum compatibility with routers and other likely DDNS clients.

Basic HTTP auth is something necessary for the user to provide and it is recommended both do that and reverse proxying with HTTPS to this service.

GET Request Parameters user user matching DDNS_USER pass password matching DDNS_PASS domain specifies the base domain you have setup as your DNS in Vultr (eg. example.org) host is the name of the host entry, without the SUBDOMAIN part (eg. remote) ip is the IPV4 address to update the entry with

The FQDN as set by the gateway in Vultr will be HOST.SUBDOMAIN.DOMAIN

Example

curl "http://localhost:8080/update?user=me&pass=passworddomain=example.org&host=test&ip=1.2.3.4"

The resultant FQDN would be test.dyndns.example.org with IP 1.2.3.4

vultr-dyndns-gateway's People

Contributors

ryan-c-scott avatar

Watchers

 avatar

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.