Simple Dynamic DNS Web management self-hosting. Run over dnsmasq.

Overview

MyDDNS [BETA]

Simple Dynamic DNS Web management self-hosting. It use dnsmasq. It was inspired on duckdns.org.

image

image

Preparation

You need root access to a server, virtual machine or container with IPv6 enabled. The 53 port must be open in your firewall.

Also, you have to create these records in your Zone DNS of your domain provider:

  • A record for subdomain (myddns.example.com) to point to IPv4 of your server
  • AAAA record for subdomain (myddns.example.com) to point to IPv6 of your server
  • NS record to point to subdomain (myddns.example.com)

Installation

Installation with docker-composer

  1. Install docker and docker-composer.
  2. Disable systemd-resolved or any other service that use 53 port.
  3. Clone this repository.
  4. Copy .env.example to .env and set the environment variables.
  5. Execute:
docker-compose up -d --build

Local installation in Ubuntu 20.04 server

  1. Change to root user
  2. Clone this repository
  3. Run INSTALL.bash as root

This script will ask you for the BASEDOMAIN, BASEIP and PASSWORD values ​​interactively. They can also be read as environment variables.

Use

From browser

Open base domain in your browser and click on "Update" button.

From command line

You can use curl or wget and call it from a cron to automatize:

&code= " ">
curl -s "http://myddns.example.com/?action=1&format=json&subdomain=
    
     &code=
     
      "
     
    

Arguments

They can be sent both by POST and by GET:

  • action: To create or update must be 1. By default is 0.
  • format: 'html', 'json' or 'simple'. By default is 'html'.
  • subdomain: It can only contain lowercase letters, numbers, or the symbols '_' and '-'. At least 4 characters. By default is ''.
  • ip: It can only contain a valid IP. By default, it autodetects the IP from which the request is made.
  • code: The password defined in config.php file. If empty, you can manage myDDNS without password required.

JSON response

  • domain
  • ip
  • error: false if the ip to subdomain was updated, true if not.
  • errormsg: object with error messages if any.

Simple response

  • OK if the ip to subdomain was updated.
  • KO if the ip to subdomain was not updated.
You might also like...
DooTask is a lightweight open source online project task management tool that provides various document collaboration tools, online mind mapping, online flowcharting, project management, task distribution, instant IM, file management and other tools.

DooTask is a lightweight open source online project task management tool that provides various document collaboration tools, online mind mapping, online flowcharting, project management, task distribution, instant IM, file management and other tools.

A great looking and easy-to-use photo-management-system you can run on your server, to manage and share photos.
A great looking and easy-to-use photo-management-system you can run on your server, to manage and share photos.

Lychee A great looking and easy-to-use photo-management-system. Since the 1st of April 2018 this project has moved to it's own Organisation (https://g

Create videos programmatically in the cloud from PHP: add watermarks, resize videos, create slideshows, add soundtrack, voice-over with text-to-speech (TTS), text animations.

Create videos programmatically in the cloud from PHP: add watermarks, resize videos, create slideshows, add soundtrack, voice-over with text-to-speech (TTS), text animations.

¡BACKEND OVER APP! API REST IMPLEMENTANDO CONCEPTOS DE ARQUITECTURA HEXAGONAL, DDD, TDD Y SOLID. HECHO EN LARAVEL & PHP
¡BACKEND OVER APP! API REST IMPLEMENTANDO CONCEPTOS DE ARQUITECTURA HEXAGONAL, DDD, TDD Y SOLID. HECHO EN LARAVEL & PHP

¡BACKEND OVER APP! API REST IMPLEMENTANDO CONCEPTOS DE ARQUITECTURA HEXAGONAL, DDD, TDD Y SOLID. HECHO EN LARAVEL & PHP

An open source self hosted notes and bookmarks taking web app.
An open source self hosted notes and bookmarks taking web app.

Benotes An open source self hosted web app for your notes and bookmarks side by side. This project is currently in Beta. You may encounter bugs or err

Self-hosted platform to keep and share your content: web links, posts, passwords and pictures.
Self-hosted platform to keep and share your content: web links, posts, passwords and pictures.

Shaark is a self-hosted platform to keep and share your content: web links, posts, passwords and pictures. All of your data can be private, public or

One time password generator, validator, and qrcode generator that has no web dependencies (self-contained) in PHP
One time password generator, validator, and qrcode generator that has no web dependencies (self-contained) in PHP

otp-thing One time password generator, validator, and qrcode generator that has no web dependencies (self-contained) in PHP Introduction This started

Simple self-hosted bug tracker

Bugken is a simple self-hosted error monitoring tool with laravel based. Json Error Payload { "message" : "get_error_message_from_exception", "log

SARA: Dynamic licensing system with PHP

This license system allows you to dynamically create a license with Domain, IP address and Time.

Owner
Iván Eixarch
Iván Eixarch
MOFHY Lite is a free web hosting management system to manage MOFH hosting accounts and SSL certificates.

MOFHY Lite MOFHY LITE is a priceless MyOwnFreeHost Client Area for account management, ticket support system and a free ssl service. It has easy to us

Santiago Rodríguez 6 Dec 28, 2021
:panda_face: Jitamin is a free software written in PHP, intended to handle the project management over the web. QQ群: 656868

Jitamin Jitamin (pronounced /ˈdʒɪtəmɪn/) is a free software written in PHP, intended to handle the project management over the web. Jitamin is inspire

jitamin 916 Dec 14, 2022
Vigil is a free client and hosting account management system designed especially for MyOwnFreeHost resellers.

Vigil is a free client and hosting account management system designed especially for MyOwnFreeHost resellers. It comes out of the box with a ticket support system, free SSL generator and elegant design.

JAI KRISHNA 1 Nov 21, 2021
SPFtoolbox is a Javascript and PHP app to look up DNS records such as SPF, MX, Whois, and more

SPFtoolbox is a Javascript and PHP app to look up DNS records such as SPF, MX, Whois, and more

Charles Barnes 216 Dec 30, 2022
A simple website for estimating withdrawal availability over multiple exchanges.

IOTA exchange status FAQs | Installation | Contributing IOTA exchange status is a simple website for tracking the current withdrawal possibility of IO

Brayd 1 Aug 4, 2022
A fully responsive and dynamic web app to present all products for a start-up called Zarafah

A fully responsive and dynamic web app to present all products for a start-up called Zarafah. Made of HTML, CSS, TailwindCss, Vanilla JavaScript, AlpineJS, Laravelphp, Laravel Breeze, Jotform Api for forms submissions and Mailchimp Api for Newsletter.

Mostafa Said 7 Dec 11, 2022
Now Introducing a new and easy way to manage your clients and MyOwnFreeHost hosting accounts.

Warning This is a beta version of Xera. Use it for testing purpose only. You are be responsible for any loss or damages that may occor from using this

Mahtab Hassan 23 Dec 15, 2022
Self hosted project management and collaboration tool powered by TALL stack

Sponsored By: Self hosted project management and collaboration tool inspired by basecamp. Notice: Project under some major change, do not use until st

iluminar 1.8k Jan 6, 2023
Self hosted project management application

Version 2 is available at 92fiveapp.com Before proceeding to installation please make sure that your server meets the minimum server requirements: Min

Chintan Banugaria 1.1k Jan 6, 2023