Skip to content

kbabioch/php-ddns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ddns

ddns is a PHP script allowing for updates to DNS records. This allows you to run your own dynamic DNS update system similar to public ones like dyndns.com, noip.com, etc. The API is based on the one provided by dyndns.com itself, so it should be compatible with most clients out there.

KISS ... intended for small installations ...

PREREQUISITES

Run own nameserver, i.e. be in control of your zones.

API

Parameters:

  • myip
  • hostname
  • ...

THEORY OF OPERATION

After some basic option and argument parsing, otca sets up a suitable temporary environment for the ca(1) command. It then generates and self-signs a certificate for the CA, handing over the appropriate options. Afterwards a [certificate signing request][csr] for the server and client is generated using OpenSSL's req(1) command. These CSRs are then signed by the previously created CA using the ca(1) command once more. After some conversions (see pkcs12(1)), the certificates and keys are moved into the specified output directory. Then the temporary scratch space is removed, including the CA's private key. This, in essence, renders the CA useless, which is the point of this concept.

IP detection as described on SPDNS ...

CONTRIBUTIONS

The source code is maintained using git and lives over at [github.com][repo]. Contributions of any kind are highly welcome. The fastest way is to use pull requests, and report bugs or submit feature requests.

In case you are looking for something to work on, you probably want to take a look at the issue tracker or the TODO file in the project's root directory.

DONATIONS

Flattr this git repo

PayPal donation

Bitcoin: 1FmvKC7c9HWC3sSeWuTyhSBdjt9WxARYxd

LICENSE

GNU GPLv3

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http:https://www.gnu.org/licenses/>.

About

PHP script for running your own DynDNS service.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages