Skip to content

Instantly share code, notes, and snippets.

@fu-sen

fu-sen/README.md

Last active Jan 3, 2021
Embed
What would you like to do?
Use freedns.afraid.org Dynamic DNS on Windows 10 https://freedns.afraid.org/dynamic/

Windows 10 now includes cURL. (It should be "curl.exe", not "curl")
So you can easily implement freedns.afraid.org Dynamic DNS with a simple .bat file or task scheduler.

See https://freedns.afraid.org/dynamic/ and replace the "Direct URL" in your (sub) domain.
and you can change the update interval "3600". (Seconds)

Note: ERROR: Address ●.●.●.● has not changed. is working fine.

@echo off
setlocal
:loop
echo %DATE% %TIME%
@curl.exe -k https://freedns.afraid.org/dynamic/update.php?(Direct URL)
timeout /t 3600 /nobreak >nul
goto loop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment