CleanBrowsing does not have a built-in task scheduler for updating configurations dynamically. However, you can achieve this by running a script on your router or a device within your network that periodically updates CleanBrowsing with your new IP.
Specifics for different platforms can be found here:
Steps to Implement:
1. Use the CleanBrowsing Dynamic IP Updater URL
CleanBrowsing provides a dynamic IP update URL, which you can use in a script to update your IP automatically.
Your Dynamic Update URL (replace YOUR-UNIQUE-URL
with your actual CleanBrowsing update URL found in your dashboard):
https://my.cleanbrowsing.org/dynip/update?key=YOUR-UNIQUE-URL
2. Create a Script to Run Periodically
You can create a script that fetches your current public IP and updates CleanBrowsing.
Example Bash Script (for Linux/macOS or routers with cron support):
#!/bin/bash
# Get current public IP
CURRENT_IP=$(curl -s https://checkip.amazonaws.com)
# Update CleanBrowsing with new IP
curl -s "https://my.cleanbrowsing.org/dynip/update?key=YOUR-UNIQUE-URL&ip=$CURRENT_IP"
For Windows (PowerShell script):
$ip = Invoke-RestMethod -Uri "https://checkip.amazonaws.com"
Invoke-WebRequest -Uri "https://my.cleanbrowsing.org/dynip/update?key=YOUR-UNIQUE-URL&ip=$ip" -UseBasicParsing
3. Automate with a Scheduler
- Linux/macOS: Use
cron
to run the script every 5-10 minutes:bashCopyEditcrontab -e
Add this line:rubyCopyEdit*/10 * * * * /path/to/script.sh
- Windows: Use Task Scheduler to run the PowerShell script at regular intervals.
Alternative: Use a DDNS Service
If your router supports Dynamic DNS (DDNS), configure it with a DDNS provider (like No-IP or DynDNS). Then, in CleanBrowsing, set your domain (e.g., myhome.ddns.net
) instead of an IP, and it will resolve automatically.