Coder Social home page Coder Social logo

ddns's Introduction

DDNS

通过公共解析服务实现动态IP的域名解析

支持列表

  • DNSPod

使用方法

0x1 DNSPod
  1. 进入DNSPod域名解析控制台,选择域名进入解析记录管理页面,按照自己的需求添加一条A记录。记录值可以随便填一个IP值。
  2. 获取DNSPod的Token和ID,用于调用API接口。
  3. 配置项目中的Config.json文件。
{
    "Corn": "* */15 * * * ?", // 每15分钟检查一次
    "Domain": "", // 域名
    "SubDomain": "", // 主机记录值,如”www“
    "Id": "", // 从API密钥管理获取的ID
    "Token": "" // 从API密钥管理获取的Token
}
  1. 使用docker部署应用
docker run -it \
    --name ddns \
    -v /home/dwgoing/.kubernetes/build_dir/Config.json:/.ddns/Config.json \
    -e RESOLVER_TYPE=DNSPod \
    dwgoing/ddns:v1.0.0

ddns's People

Watchers

 avatar  avatar

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.