navigationGo.pngQuick Navigation
allprojects32.pngAll projects
hardware32.pngHardware
links32.pngLinks

favoriteStar32.pngTop projects
Alan numitron clock
Clapclap 2313/1386
SNES Pi Webserver
USB Volume/USB toys
Smokey amp
Laser cutter
WordClock
ardReveil v3
SNES Arcade cabinet
Game boy projects
cameleon
Home Presence Detector

github32.pngGitHub
AlanFromJapan

navigationMail.pngContact me

alanfjmail.png
3flags.pngWho's Alan?


Akizukidenshi
Elec-lab
Rand Nerd Tut
EEVblog
SpritesMods
AvrFreaks
Gameboy Dev
FLOZz' blog
Switch-science
Sparkfun
Suzusho
Datasheet Lib
Reddit Elec
Ermicro
Carnet du maker (fr)

how to update your duckdns dynamic dns

Last update: Thu Oct 17 13:21:01 2024
How to update your http://www.duckdns.org/ Dynamic DNS.

Update DuckDNS

Very simple on Linux:
  • crontab -e
  • Add the below to update every other hour
  • # m h  dom mon dow   command
    
    #update bi-hourly the DNS (use the FULL path to executables, and leave "ip=" empty so it's auto detected)
    18 */2 * * * /usr/bin/curl "https://www.duckdns.org/update?domains=YOURDOMAIN&token=064not40-my4c-real-8to5-2ken452b0c1&ip=" > /tmp/latest_IP_update_result.log 2>&1
    
  • Finished!
  • Helpful sources

  • RTFM http://www.duckdns.org/faqs.jsp
  • Update NameCheap DNS

    Same as above, only the URL differs:
    #Hourly update
    19 * * * * /usr/bin/curl "https://dynamicdns.park-your-domain.com/update?host=@&domain=YOURDOMAIN&password=YOUR_DNS_UPDATE_PASSWORD" > /tmp/latest_IP_update_result.log 2>&1
    
    
    All content on this site is shared under the MIT licence (do what u want, don't sue me, hat tip appreciated)
    electrogeek.tokyo ~ Formerly known as Kalshagar.wikispaces.com and electrogeek.cc (AlanFromJapan [2009 - 2025])