z38/dynamicdns

Dynamic DNS update client and library

0.1.1 2015-01-06 15:56 UTC

This package is auto-updated.

Last update: 2024-05-07 03:18:46 UTC


README

Build Status

DynamicDns contains dynamic DNS updater utility (called ddns-updater). In addition, it allows users to write their custom Dynamic DNS updater by providing an easy-to-use API.

<?php

require __DIR__.'/vendor/autoload.php';

$host = 'yourhostname.ddns.net';
$ip = '173.194.66.100';
$credentials = array(
    'username' => 'foo',
    'password' => 'bar'
);

$provider = new Z38\DynamicDns\Provider\NoIp();
$provider->update($host, $ip, $credentials);

ddns-updater

Simply invoke ./bin/ddns-updater to get a list of the commands available.

License

MIT