All Projects → jeessy2 → Ddns Go

jeessy2 / Ddns Go

Licence: mit
简单好用的DDNS。自动更新域名解析到公网IP(支持阿里云、腾讯云dnspod、Cloudflare、华为云)

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Ddns Go

Ddns
🚩 自动更新域名解析到本机IP(支持dnspod,阿里DNS,CloudFlare,华为云,DNSCOM...)
Stars: ✭ 2,582 (+741.04%)
Mutual labels:  cloudflare, ipv6
Firewall
ASP.NET Core middleware for IP address filtering.
Stars: ✭ 159 (-48.21%)
Mutual labels:  cloudflare, ipv6
Discord-Token-Grabber
Steal Discord Token Directly From Memory and bypass any kind of token protection
Stars: ✭ 32 (-89.58%)
Mutual labels:  webhook
Nginx Lua Anti Ddos
A Anti-DDoS script to protect Nginx web servers using Lua with a HTML Javascript based authentication puzzle inspired by Cloudflare I am under attack mode an Anti-DDoS authentication page protect yourself from every attack type All Layer 7 Attacks Mitigating Historic Attacks DoS DoS Implications DDoS All Brute Force Attacks Zero day exploits Social Engineering Rainbow Tables Password Cracking Tools Password Lists Dictionary Attacks Time Delay Any Hosting Provider Any CMS or Custom Website Unlimited Attempt Frequency Search Attacks HTTP Basic Authentication HTTP Digest Authentication HTML Form Based Authentication Mask Attacks Rule-Based Search Attacks Combinator Attacks Botnet Attacks Unauthorized IPs IP Whitelisting Bruter THC Hydra John the Ripper Brutus Ophcrack unauthorized logins Injection Broken Authentication and Session Management Sensitive Data Exposure XML External Entities (XXE) Broken Access Control Security Misconfiguration Cross-Site Scripting (XSS) Insecure Deserialization Using Components with Known Vulnerabilities Insufficient Logging & Monitoring Drupal WordPress Joomla Flash Magento PHP Plone WHMCS Atlassian Products malicious traffic Adult video script avs KVS Kernel Video Sharing Clip Bucket Tube sites Content Management Systems Social networks scripts backends proxy proxies PHP Python Porn sites xxx adult gaming networks servers sites forums vbulletin phpbb mybb smf simple machines forum xenforo web hosting video streaming buffering ldap upstream downstream download upload rtmp vod video over dl hls dash hds mss livestream drm mp4 mp3 swf css js html php python sex m3u zip rar archive compressed mitigation code source sourcecode chan 4chan 4chan.org 8chan.net 8ch 8ch.net infinite chan 8kun 8kun.net anonymous anon tor services .onion torproject.org nginx.org nginx.com openresty.org darknet dark net deepweb deep web darkweb dark web mirror vpn reddit reddit.com adobe flash hackthissite.org dreamhack hack hacked hacking hacker hackers hackerz hackz hacks code coding script scripting scripter source leaks leaked leaking cve vulnerability great firewall china america japan russia .gov government http1 http2 http3 quic q3 litespeedtech litespeed apache torrents torrent torrenting webtorrent bittorrent bitorrent bit-torrent cyberlocker cyberlockers cyber locker cyberbunker warez keygen key generator free irc internet relay chat peer-to-peer p2p cryptocurrency crypto bitcoin miner browser xmr monero coinhive coin hive coin-hive litecoin ethereum cpu cycles popads pop-ads advert advertisement networks banner ads protect ovh blazingfast.io amazon steampowered valve store.steampowered.com steamcommunity thepiratebay lulzsec antisec xhamster pornhub porn.com pornhub.com xhamster.com xvideos xvdideos.com xnxx xnxx.com popads popcash cpm ppc
Stars: ✭ 295 (-3.91%)
Mutual labels:  cloudflare
Travis Ci Discord Webhook
⛓ Here's your serverless solution for sending build status from Travis CI to Discord as webhooks.
Stars: ✭ 273 (-11.07%)
Mutual labels:  webhook
Vedetta
OpenBSD Router Boilerplate
Stars: ✭ 260 (-15.31%)
Mutual labels:  ipv6
Api Covid19 In
COVID Rest API for India data, using Cloudflare Workers
Stars: ✭ 283 (-7.82%)
Mutual labels:  cloudflare
sbcOS
Barebone Opensource Powered SBC
Stars: ✭ 59 (-80.78%)
Mutual labels:  ipv6
Telegram
Telegram Bot API Wrapper for Scala
Stars: ✭ 310 (+0.98%)
Mutual labels:  webhook
Valvesockets Csharp
Managed C# abstraction of GameNetworkingSockets library by Valve Software
Stars: ✭ 273 (-11.07%)
Mutual labels:  ipv6
Smtp2http
A tiny software that receive a smtp request (email) and send it to the specified webhook as a http post request
Stars: ✭ 294 (-4.23%)
Mutual labels:  webhook
Netpalm
ReST based network device broker
Stars: ✭ 270 (-12.05%)
Mutual labels:  webhook
Cloudflare Sync
A nice to have, MIT-licensed tool for using Cloudflare as a dynamic DNS provider.
Stars: ✭ 269 (-12.38%)
Mutual labels:  cloudflare
Generic Webhook Trigger Plugin
Can receive any HTTP request, extract any values from JSON or XML and trigger a job with those values available as variables. Works with GitHub, GitLab, Bitbucket, Jira and many more.
Stars: ✭ 287 (-6.51%)
Mutual labels:  webhook
faaskit
A lightweight middleware framework for functions as a service
Stars: ✭ 24 (-92.18%)
Mutual labels:  cloudflare
Boringtun
Userspace WireGuard® Implementation in Rust
Stars: ✭ 3,760 (+1124.76%)
Mutual labels:  cloudflare
pac
Proxy Auto Config generator,自动代理配置生成PAC,可配合ss小飞机使用
Stars: ✭ 40 (-86.97%)
Mutual labels:  ipv6
Bgp Dashboard
BGP Dashboard and Monitoring Web Application
Stars: ✭ 268 (-12.7%)
Mutual labels:  ipv6
Ipnetwork
IPNetwork command line and C# library take care of complex network, IP, IPv4, IPv6, netmask, CIDR, subnet, subnetting, supernet, and supernetting calculation for .NET developers. It works with IPv4 as well as IPv6, is written in C#, has a light and clean API, and is fully unit-tested
Stars: ✭ 276 (-10.1%)
Mutual labels:  ipv6
Slickstack
SlickStack is a free LEMP stack automation script written in Bash designed to enhance and simplify WordPress provisioning, performance, and security.
Stars: ✭ 311 (+1.3%)
Mutual labels:  cloudflare

ddns-go

GitHub release

自动获得你的公网 IPv4 或 IPv6 地址,并解析到对应的域名服务。

特性

  • 支持Mac、Windows、Linux系统,支持ARM、x86架构
  • 支持的域名服务商 Alidns(阿里云) Dnspod(腾讯云) Cloudflare 华为云
  • 支持接口/网卡获取IP
  • 支持以服务的方式运行(v2.8.0后支持)
  • 默认间隔5分钟同步一次
  • 支持多个域名同时解析,公司必备
  • 支持多级域名
  • 网页中配置,简单又方便,可设置 登录用户名和密码 / 禁止从公网访问
  • 网页中方便快速查看最近50条日志,不需要跑docker中查看
  • 支持webhook

系统中使用

  • 下载并解压https://github.com/jeessy2/ddns-go/releases
  • 双击运行, 如没有找到配置, 程序自动打开http://127.0.0.1:9876
  • [可选] 安装服务
    • Mac/Linux: sudo ./ddns-go -s install
    • Win(以管理员打开cmd): .\ddns-go.exe -s install
    • 安装服务也支持 -l监听地址 -f同步间隔时间(秒)
  • [可选] 服务卸载
    • Mac/Linux: sudo ./ddns-go -s uninstall
    • Win(以管理员打开cmd): .\ddns-go.exe -s uninstall
  • [可选] 支持启动带参数 -l监听地址 -f同步间隔时间(秒)。如:sudo ./ddns-go -l 127.0.0.1:9876 -f 600

Docker中使用

  • 挂载主机目录, 删除容器后配置不会丢失。可替换 /opt/ddns-go 为有权限访问的目录, 配置文件为隐藏文件

    docker run -d --name ddns-go --restart=always -p 9876:9876 -v /opt/ddns-go:/root jeessy/ddns-go
    
  • 不挂载主机目录, 删除容器同时会删除配置

    docker run -d --name ddns-go --restart=always -p 9876:9876 jeessy/ddns-go
    
  • 在浏览器中打开http://主机IP:9876,修改你的配置,成功

  • [可选] docker中默认不支持ipv6,参考 使用IPv6

使用IPv6

  • 前提:你的电脑或终端能正常获取IPv6,并能正常访问IPv6

  • Windows/Mac:推荐 系统中使用,Windows/Mac桌面版的docker不支持--net=host

  • 群晖:

    • 套件中心下载docker并打开
    • 注册表中搜索ddns-go并下载
    • 映像 -> 选择jeessy/ddns-go -> 启动 -> 高级设置 -> 网络中勾选使用与 Docker Host 相同的网络,高级设置中勾选启动自动重新启动
    • 在浏览器中打开http://群晖IP:9876,修改你的配置,成功
  • Linux的x86或arm架构,如服务器、xx盒子等等,推荐使用--net=host模式,简单点

    # 使用默认端口9876,间隔5分钟同步
    docker run -d --name ddns-go --restart=always --net=host -v /opt/ddns-go:/root jeessy/ddns-go
    
  • 虚拟机中使用有可能正常获取IPv6,但不能正常访问IPv6

  • [可选] 使用IPv6后,建议设置登录用户名和密码

  • [可选] 支持启动带参数 -l监听地址 -f间隔时间(秒)

    docker run -d --name ddns-go --restart=always --net=host -v /opt/ddns-go:/root jeessy/ddns-go -l :9877 -f 600
    

Webhook

  • 支持webhook, 域名更新成功或不成功时, 会回调填写的URL

  • 支持的变量

    变量名 说明
    #{ipv4Addr} 新的IPv4地址
    #{ipv4Result} IPv4地址更新结果: 未改变 失败 成功
    #{ipv4Domains} IPv4的域名,多个以,分割
    #{ipv6Addr} 新的IPv6地址
    #{ipv6Result} IPv6地址更新结果: 未改变 失败 成功
    #{ipv6Domains} IPv6的域名,多个以,分割
  • RequestBody为空GET请求,不为空POST请求

  • Server酱: https://sc.ftqq.com/[SCKEY].send?text=主人IPv4变了#{ipv4Addr},域名更新结果:#{ipv4Result}

  • Bark: https://api.day.app/[YOUR_KEY]/主人IPv4变了#{ipv4Addr},域名更新结果:#{ipv4Result}

  • 钉钉:

    • 钉钉电脑端 -> 群设置 -> 智能群助手 -> 添加机器人 -> 自定义
    • 只勾选 自定义关键词, 输入的关键字必须包含在RequestBody的content中, 如:你的公网IP变了
    • URL中输入钉钉给你的 Webhook地址
    • RequestBody中输入 {"msgtype": "text","text": {"content": "你的公网IP变了:#{ipv4Addr},域名更新结果:#{ipv4Result}"}}

界面

screenshots

开发&自行编译

  • 如果喜欢从源代码编译自己的版本,可以使用本项目提供的 Makefile 构建
  • 开发环境 golang 1.16
  • 使用 make build 生成本地编译后的 ddns-go 可执行文件
  • 使用 make build_docker_image 自行编译 Docker 镜像
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].