Skip to content
This repository was archived by the owner on May 8, 2024. It is now read-only.
/ openwrt-wg-ddns Public archive

Update Wireguard endpoints with DynDNS domain names, for OpenWrt

License

Notifications You must be signed in to change notification settings

7Ji/openwrt-wg-ddns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenWrt WireGuard DynDNS updater

WireGuard only accepts endpoints with static IPs. If the config of endpoint contains a domain, then the domain would be resolved before it's used.

That works well until you have an endpoint with DynDNS whose underlying IPs change a lot. In that case, the endpoint IP won't be updated, and after an IP update of that DynDNS domain, the connection to that very endpoint would become impossible.

This works by using dig to resolve endpoint IPs per minute, and update the endpoint config to the latest resolved IPs.

By default, this runs with a 60 seconds interval.

About

Update Wireguard endpoints with DynDNS domain names, for OpenWrt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published