项目作者: cgzones

项目描述 :
ip update client for dtdns.com
高级语言: C++
项目地址: git://github.com/cgzones/dtdnssync.git
创建时间: 2016-11-17T09:50:45Z
项目社区:https://github.com/cgzones/dtdnssync

开源协议:Other

下载


dtdnssync

Build Status
Coverity Scan
Total Alerts
GitHub license

Overview

dtdnssync is an update client for keeping your dynamic ip at the DNS hosting service https://www.dtdns.com up2date.

Installation

Debian based

Requirements

  • c++14 compliant compiler (e.g. gcc-6, clang-3.9)
  • openssl and asio development headers (libasio-dev, libssl-dev)
  • debhelper tools
  • asciidoctor
  1. sudo apt install --no-install-recommends libssl-dev libasio-dev debhelper asciidoctor

Building

  1. debuild -us -uc

Installation

  1. sudo dpkg -i ../dtdnssync_*.deb

Non Debian

Requirements

  • c++14 compliant compiler (e.g. gcc-6, clang-3.9)
  • openssl and asio development headers
  • optional: asciidoctor for man pages

Building

  1. make

Installation

  1. sudo adduser --system --group --quiet --no-create-home --home /nonexistent dtdnssync # or equivalent
  2. sudo make install
  3. sudo make fixperms
  4. sudo cp cfg/dtdnssyncd.service /lib/systemd/system

Configuration

Configure the dtdns account credentials in /etc/dtdnssync/dtdnssync.conf and restart the service.

  1. systemctl restart dtdnssync

To manually check or update your ip, run:

  1. dtdnssync check
  2. dtdnssync update