Added DDNS Feature
This article details the newly added DDNS feature, including its usage, functional characteristics, and differences from traditional DDNS. Through NullPrivate or AdGuardHome, users can easily set up private dynamic DNS (DDNS), enabling quick configuration without purchasing a domain name, with support for multiple platforms and various authentication methods.
Categories:
If you already have a NullPrivate service, you can now use the DDNS feature.
Overview
NullPrivate has open-sourced the DDNS script. This dynamic DNS (DDNS) is designed to provide a simple method for quickly setting up private dynamic DNS without purchasing a domain name. This DDNS script was specifically developed for nullprivate.com. By leveraging NullPrivate’s core functionality, you can seamlessly implement this feature.
Usage

- Ensure NullPrivate is deployed and running.
- Navigate to DNS Rewrite and download the DDNS script.
- Run the script.
Windows
Set-ExecutionPolicy Bypass -Scope Process
./ddns-script.ps1
Linux/macOS
chmod +x ddns-script.sh
./ddns-script.sh
Features
- Quick and Easy Setup: Configure in just a few steps.
- DDNS via NullPrivate: Implement DDNS using NullPrivate’s core functionality.
- Multi-Platform Support: Compatible with Windows and Unix-based systems.
- Multiple Authentication Options: Supports authentication via cookies (more secure but may expire) or username/password (more persistent but less secure).
Differences from Traditional DDNS
Compared to traditional DDNS, this private DDNS offers the following advantages:
- No Cache Time: Changes take effect immediately without waiting for DNS cache expiration.
- No DNS Propagation Delay: Updates are instantly available without DNS propagation delays.
- No Domain Purchase Required: Accessible via pseudo-domains without purchasing a domain name.
- Privacy Protection: Only users connected to the private DNS service can resolve DNS, ensuring privacy.
Quick Start Guide
- Ensure NullPrivate is deployed and running.
- Follow the instructions in the win/ddns.ps1 (for Windows) or unix/ddns.sh (for Unix-based systems) scripts to configure your private DDNS.
Open Source Repository: https://github.com/NullPrivate/nullprivate-ddns