How neu-ece-esl/duckdns_auto_update works
This is a small DuckDNS updater for machines behind NAT: it selects a physical interface, obtains its local IP, and supplies that address to a DuckDNS update. The documented selection uses a configured MAC address, with an optional interface name as fallback; domain and token identify the update target. The README describes the workflow and cron invocation, but no source excerpts were provided, so implementation-level calls and the exact update transport cannot be verified.
Main entry points: makefile Update routine · find_IF_using_MAC_addr Interface selection · if_mac_addr MAC address · interface Interface fallback
Components 9
Configuration
- MAC address
.example-domain/if_mac_addr - Interface fallback
.example-domain/interface - DuckDNS domain
.example-domain/domain - DuckDNS token
.example-domain/token
Update runtime
- Update routine
makefile - Interface selection
find_IF_using_MAC_addr - Local IP lookup
makefile
Other components
- Cron job
- DuckDNS service
Connections 8
- Cron job → Update routine: runs periodically
README.md - MAC address → Interface selection: selects by MAC
README.md - Interface fallback → Interface selection: fallback interface
README.md - Interface selection → Local IP lookup: provides interface
README.md - Update routine → Local IP lookup: gets local IP
README.md - DuckDNS domain → Update routine: identifies domain
README.md - DuckDNS token → Update routine: authenticates update
README.md - Update routine → DuckDNS service: updates address
README.md