Giter VIP home page Giter VIP logo

ddns_server's Introduction

DNS Server

Under Construction

An open source DNS Server Solution that includes a Web Management System, a Restful API, Dynamic DNS functionality, and a High Availability design. The web interface allows users to manage all DNS entry types, the adding and removal of their own domains, and a simple user control mechanism. DNS Server is horozontally scalable, thus if the load becomes to high simple depoloy additional slave DNS Servers. Dynamic DNS clients such as ddclient, DD-WRT, Tomato, are known to work with DNS Server. DNS Server is built on top of technologies such as Bind with DLZ Support, Tomcat 9.x, MariaDB(or MySQL 5.7+), NGINX, Ansible, and CentOS 7.x.

Table of Contents


Features


  • REST Based Update API based on the Dyndns2 protocol.
  • Compatible with most DDNS clients.
  • Fully functional web application for managment of hosts and user profile information.
  • Designed for multiple slave DNS Servers.
  • IPv4 DNS Record Updates.
  • Basic user signup, forgot, and login functionlaity.
  • Built on CentOS 7 with Bind 9.1x(compiled with DLZ support), Tomcat 9, and MaridbDB.
  • Comming Soon - Many new DNS record types will be added. Ultimatly this will become a fully managed high availablity DNS server.
  • Comming Soon - Ansible Deployment Scripts for Master and Slaves.
  • Comming Soon - NGINX Slave Load Balanceing.
  • Comming Soon - New User Authentication Methods. (FreeIPA?, LDAP?)

Requirements


  • At least 3 CentOS 7.* Virtual Machines or Servers.
  • SSH Access to all DDNS Servers.
  • If publically accessable, Port 53 (UDP) must be open from each slave DNS server to (and from) the internet.

Support


Since I am extremely lazy I am not going to offer any support. Well maybe every once-n-a while. It really depends on my mood.

That being said, time was spent documenting each code section in the DNS Server. This should allow the scripts to be easily understood and modified if needed.

Update API


The update API was designed to mimic the dyndns2 protocol in order to make it compatible most DDNS clients. Once the Dynamic DNS Server is installed and running the API is avaialble. To access the API you will need credentials from the web application in order to use the API's Http Basic Authentication.

API Stucture:

http://{username}:{password}@{yourdomain.tld or ip address}/ddns/update?&hostname={hostname}&myip={IP Address}

API Parameters:

username [REQUIRED] Your Hiive.biz account username.

password [REQUIRED] Your Hiive.biz account password.

hostname [REQUIRED] Comma separated list of your Hiive.biz hostnames to update (up to 10 hostnames per request).

myip [Optional] The IP v4 Address that your Hiive.biz hostname(s) will be updated to. If no IP Address is specified the Hiive.biz system will attempt to obtain the IP Address.

API Responses:

good

IP Address for specified Hosts have been updated.

nochg

There is no update or change required. (No need to update more than once an hour without an IP change)

nohost

One or more Hosts are invalid.

numhost

More than the maximum of ten Hosts specified.

badaddress

IP Address form is invalid.

API Examples:

Included Files


  • Bitcoin Cash daemon deployment Bash script for CentOS 7.
  • Bitcoin Cash daemon systemd service file.
  • Bitcoin Cash logrotate configuration file.
  • Bitcoin Cash configuration file.

Quick Deployment Instrcutions (Work in Progress)


For quick deployment please ensure:

  • Root access to an updated CentOS 7 server.

As Root Type

yum install -y git
# Need to fill this in

Useful Links


Bind - Internet Systems Consortium:

https://www.isc.org/downloads/bind/

Bind with DLZ Support Documentation:

http://bind-dlz.sourceforge.net/

Donations


Many Bothans died getting this DNS server to you, honor them by sending me some Bitcoin(BTC), or Ethereum(ETH).

  • BTC: 1K4N5msYZHse6Hbxz4oWUjwqPf8wu6ducV
  • ETH: 0x76AB557F159a5048fA944566dbb18C834228d4e7

License


Released under the GNU General Public License v3. (Not sure this is even valid)

ddns_server's People

Contributors

rahimkhoja avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ddns_server's Issues

i see named.service find a problem

hi man

this is a good project

when reboot the server if mysql start blow the bind,bind will burst an error,add a line blow unit After=mariadb.service or mysql.service is better.

I hope I can help you

my english is not good

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.