Quay lại Trending
RepositoryShell
kkkgo

kkkgo/CloudXNS-DDNS-with-BashShell

The CloudXNS DDNS with BashShell

120sao
32fork
0issue
2lượt xem

🛠️ DDNS tự động qua CloudXNS bằng Bash

Script Bash nhỏ gọn tự động cập nhật IP động lên CloudXNS mỗi khi IP thay đổi, không cần chạy nền.

CloudXNS-DDNS-with-BashShell là một script Bash giúp bạn tự động cập nhật địa chỉ IP động (dynamic IP) lên dịch vụ CloudXNS thông qua API. Phù hợp cho người dùng muốn truy cập nhà hoặc máy chủ cá nhân qua tên miền không thay đổi dù IP internet thay đổi.

✨ Điểm nổi bật

  • Hai phiên bản: cloudxns_ddns.sh lấy IP ngoài internet qua URL, cloudxns_ddns_line.sh lấy IP từ thiết bị mạng trực tiếp.
  • Tích hợp Crontab: hỗ trợ lên lịch chạy định kỳ qua crontab, không cần chạy nền liên tục.
  • Tự động so sánh IP: chỉ cập nhật khi IP thực sự thay đổi, tránh gọi API không cần thiết.
  • Hỗ trợ thiết bị mạng: có thể chỉ định thiết bị mạng (ví dụ eth0) để lấy IP chính xác trên hệ thống đa giao diện.
  • Ghi nhật ký rõ ràng: các thông báo lỗi giúp dễ dàng chuẩn đoạn như DNS lỗi, IP rỗng, host record không tồn tại.

💡 Vì sao đáng chú ý

Script không tự động tạo sub-domain, bắt buộc thêm bản ghi A trước — giữ an toàn và rõ ràng. Dùng Crontab thay vì daemon giảm tài nguyên. Hai phiên bản phù hợp cả môi trường có IP động và môi trường cục bộ xác định thiết bị mạng.


#CloudXNS #DDNS #BashScript #Shell #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryShell
kkkgo/dnspod-ddns-with-bashshell

The Dnspod DDNS with BashShell

267
Mar 9, 2023
RepositoryTypeScript
n8n-io/n8n

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

212.9k
Dec 2, 2026
RepositoryMarkdown
DigitalPlatDev/FreeDomain

Free domain registration and practical DNS learning resources for everyone.

209.9k
Aug 12, 2026
RepositoryShell
233boy/v2ray

最好用的 V2Ray 一键安装脚本 & 管理脚本

29.9k
Jan 15, 2026
RepositoryShell
git-quick-stats/git-quick-stats

▁▅▆▃▅ Git quick statistics is a simple and efficient way to access various statistics in git repository.

7.0k
Apr 18, 2026
RepositoryShell
wnlen/clash-for-linux

🐧 一个更完整、更优雅的 Linux Clash / Mihomo 代理运行平台

6.3k
Sep 24, 2026
RepositoryShell
hyperupcall/autoenv

Directory-based environments.

6.1k
Nov 20, 2025
RepositoryShell
lakinduakash/linux-wifi-hotspot

Feature-rich wifi hotspot creator for Linux which provides both GUI and command-line interface. It is also able to create a hotspot using the same wifi card which is connected to an AP already ( Similar to Windows 10).

4.5k
Nov 2, 2026
RepositoryShell
arismelachroinos/lscript

The LAZY script will make your life easier, and of course faster.

4.3k
Aug 28, 2021