Services/DDNS: Difference between revisions

From DcUsers
Line 22: Line 22:
apt-get install dhis-client
apt-get install dhis-client


And add a block in your configuration file ''/etc/dhid.conf'' like this:
And add a block for each IP in your configuration file ''/etc/dhid.conf'' like this:
{
{
HostID <hostid>
HostID <hostid>

Revision as of 21:43, 25 January 2014

Service 'DDNS'
Description Automatically find a changing (dynamic) IP address (home address for example) using this service.
Prerequisite None
Account Local (registration required) IPv6 Ready No
Security Notes This service is secured using keys.


Access

To use this service, ask for an account to an administrator. For each IP you need to track, you should be provided with:

  • HostID
  • AuthP lines
  • AuthQ lines

You also need to have the DHIS port opened, which is: UDP 58800.

Configuration on Debian

Install the software:

apt-get install dhis-client

And add a block for each IP in your configuration file /etc/dhid.conf like this:

{
       HostID          <hostid>
       ISAddr          ddns.duckcorp.org
       Refresh         1200
       AuthP           <auth-p-line-1>
       AuthP           <auth-p-line-2>
       AuthQ           <auth-q-line-1>
       AuthQ           <auth-q-line-2>
}

Restart the service:

service dhis-client restart

Technical Details

This service is made using: