Code Monkey home page Code Monkey logo

ddns-windows's Introduction

English | 简体中文

DDNS-Windows

This is a DDNS program written in C++.It can change Aliyun domain record automatically,IPv4 and IPv6 are both supported.This is the windows version.Warning:Windows XP/Windows Server 2003 or lower are not supported.

Build

To bulid this program,you need:

  • Visual Studio 2017 or newer (with c++11 support)
  • core and alidns module of Aliyun-openapi-cpp-sdk
  • libcurl installed.
  • SrvanyUI installed.

Bulid Step:

  1. Clone code to your device by execuing following command.
  git clone https://github.com/UnknownObject000/DDNS-Windows.git
  1. Install SrvanyUI. Run the 'install.exe' witch inside '3rd' folder to install it.(Administrator required.)

  2. Build and install.

    • Open Visual Studio.
    • Open this project and choose your platform(x86 for 32bit system,x64 for 64bit system)
    • Click Bulid->Bulid DDNS_CPP to bulid.
  3. Write Config

config.uson

config.uson recored your accesskey info and file path info,it must be putted in the same directory of main program. (the default is C:/Windows/System32)

You can see the 'config.uson' in source code to fill it with your data.('<' and '>' should not included)

dns.uson

dns.uson recorded your domain/dns record info.You can tell the program where it is by editing 'config.uson'.

You can see the 'dns.uson' in source code to fill it with your data.('<' and '>' should not included).Make sure that all domains in that file is belong to one account.If you have only one domain,you must set the 'DOMAIN_COUNT to 1 and all '<no.>' to 1.If you had more than one domain,set this from 1 to n.

log

The name of a log file can be whatever you want.What you just need to make sure is the directory that store log file exist and needn't to create a log file by yourself.

  1. Copy dll.
Copy all dll files in 'dll' folder into the folder where the program are.
  1. Install service.
    • Open srvanyUI
    • Click ➕ and choose 'system service',witch is default.
    • Choose DDNS_CPP.exe as the server program.
    • Input service name,service description.
    • Save.

Useage

The service will start after you installed.You can check and manage it in system's server manager.

ddns-windows's People

Contributors

unknownobject000 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ddns-windows's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.