Giter VIP home page Giter VIP logo

ddns-go's Introduction

GitHub release

ddns-go

  • 自动获得你的公网IPV4或IPV6并解析到域名中
  • 支持Mac、Windows、Linux系统,支持ARM、x86架构
  • 支持的域名服务商 Alidns(阿里云) Dnspod(腾讯云) Cloudflare
  • 间隔5分钟同步一次
  • 支持多个域名同时解析,公司必备
  • 支持多级域名
  • 网页中配置,简单又方便,可设置登录用户名和密码
  • 网页中方便快速查看最近50条日志,不需要跑docker中查看

系统中使用

Docker中使用

docker run -d \
  --name ddns-go \
  --restart=always \
  -p 9876:9876 \
  jeessy/ddns-go
  • 在网页中打开http://主机IP:9876,修改你的配置,成功
  • [可选] docker中默认不支持ipv6,需自行探索如何开启

使用IPV6

  • 前提:你的电脑或终端能正常获取IPV6
  • Windows/Mac系统推荐在 系统中使用,Windows/Mac桌面版的docker不支持--net=host
  • Linux的x86或arm架构,如服务器、群晖、xx盒子等等,推荐使用--net=host模式,简单点
    docker run -d \
      --name ddns-go \
      --restart=always \
      --net=host \
      jeessy/ddns-go
    
  • [可选] 使用IPV6后,建议设置登录用户名和密码

avatar

Development

go get -u github.com/go-bindata/go-bindata/...
go-bindata -debug -pkg util -o util/staticPagesData.go static/pages/...
go-bindata -pkg static -o static/js_css_data.go -fs -prefix "static/" static/

Release

go-bindata -pkg util -o util/staticPagesData.go static/pages/...
go-bindata -pkg static -o static/js_css_data.go -fs -prefix "static/" static/

# 自动发布
git tag v0.0.x -m "xxx" 
git push --tags

ddns-go's People

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.