1 Star 0 Fork 24

Junle / ddns

forked from FastTunnel / ddns 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

ddns

自建ddns服务,将域名映射到内网计算机,可通过域名访问内网计算机。 定时查询域名解析的A记录,宽带的ip改变后自动更新A记录的ip值

快速开始

1.修改配置文件appsettings.json

  "DDNS": {
    "openPlat": "aliyun",         // 目前仅实现了aliyun的接口
    "accessKey": "accessKey",     // 开放平台申请的accessKey
    "accessSecret": "accessSecret", // accessKey对应的accessSecret
    "domain": "test.com"            // 定时更新的 顶级域名
  }

2.运行程序

支持的域名解析服务商

  • 阿里云
  • ...

原理介绍

定时查询内网电脑所有的宽带的公网ip,通过开放接口查询域名解析记录解析的ip地址,对比两个值,如果不同,通过接口更新域名解析记录的值。

LICENSE

MIT

MIT License Copyright (c) 2020 Gui.H Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

自建ddns服务 域名访问内网计算机 内网穿透 花生壳 家庭宽带绑定域名 展开 收起
C#
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
C#
1
https://gitee.com/ljx5790/ddns.git
git@gitee.com:ljx5790/ddns.git
ljx5790
ddns
ddns
master

搜索帮助