تخطَّ إلى المحتوى

ddns

هذا المحتوى غير متوفر بلغتك بعد.

Dynamic DNS with Cloudflare IP monitoring, automatically updates DNS records when your server’s public IP changes. Pro plugin.

Requires: Basic license tier or higher. nself license set nself_pro_...

Terminal window
nself license set nself_pro_xxxxx...
nself plugin install ddns

Monitors your server’s public IPv4 and IPv6 addresses on a configurable interval and automatically updates Cloudflare DNS A and AAAA records when a change is detected. Operates in graceful degraded mode if the Cloudflare API is unreachable, retrying on the next interval rather than crashing. All IP changes and update attempts are persisted to the database for audit and debugging.

Env VarDefaultDescription
DDNS_PORT3217Port the DDNS plugin status service listens on
DDNS_CLOUDFLARE_TOKENnoneCloudflare API token with DNS edit permissions
DDNS_ZONE_IDnoneCloudflare zone ID for the target domain
DDNS_RECORD_NAMEnoneDNS record name to keep updated (e.g. home.example.com)
DDNS_CHECK_INTERVAL5mInterval between public IP checks
PortPurpose
3217DDNS plugin status HTTP service (background service; no public routes)

2 tables added to your Postgres database.

  • np_ddns_records: Tracked DNS records and last known IP values
  • np_ddns_update_log: History of IP change detections and DNS update results

None. This is a background service only and does not expose any public HTTP routes.