Skip to content

Easy to Use ESP8266 DDNS Update Client Library.

License

Notifications You must be signed in to change notification settings

comertial/EasyDDNS

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EasyDDNS

An Easy to Use ESP8266 DDNS Update Client Library.

This Library is Created to Update your DDNS Domains with your ESP8266 Or ESP32. The EasyDDNS Library can be Implemented in your Major Projects too as a Sidekick. It is Independent and Does not Interfare with rest of the Working of your Code on ESP8266.

Currently EasyDDNS Library Supports DuckDNS, No-ip, DynDNS, Dynu, ENom.

Find More about DDNS: WiKipedia

How to Install

Directly Through Arduino IDE

Go to Sketch > Include Library > Library Manager > Search for "EasyDDNS" > Install

Manual Install

For Windows: Download the Repository and extract the .zip in Documents>Arduino>Libraries>{Place "EasyDDNS" folder Here}

For Linux: Download the Repository and extract the .zip in Sketchbook>Libraries>{Place "EasyDDNS" folder Here}

Manually through IDE

Download the Repository, Go to Sketch>Include Library>Add .zip Library> Select the Downloaded .zip File.

Dependencies

This Library is Dependent on ESP8266 Core Library or Arduino core for ESP32 to Function Properly. Make Sure you Install Both EasyDDNS and ESP8266 Core Library (or Arduino core for ESP32) to make this Work.

How to Implement

EasyDDNS Library uses only 3 Lines of Code to run the requested update server on your ESP8266 or ESP32.

Here is How you can use the Library:

For V1.5.0:

  • Add #include<EasyDDNS.h> in your Code at Top.
  • Use EasyDDNS.service(""); in setup() to select your ddns service - "duckdns" / "noip" / "dyndns" / "dynu" / "enom".

Now in setup() again, For DuckDNS Use EasyDDNS.client("domain","token");
OR
For DynDNS Use EasyDDNS.client("hostname","username","client-key");
OR
For No-ip / Dynu, Use EasyDDNS.client("hostname","username","password");
OR
For enom, Use EasyDDNS.client("host","domain","password");
where host is something like www, and domain can be example.com

  • Atlast Use EasyDDNS.update(10000); in loop() to set Interval to Check for New Public IP.

5 Ready to Use Examples are Provided with Library for DuckDNS, DynDNS, Dynu, No-ip & enom.

Support Me

Liked this Library? You can Support me by sending me a 🍺 Beer.

About

Easy to Use ESP8266 DDNS Update Client Library.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 100.0%