Skip to content

Conversation

@ZILosoft
Copy link

🚀 Add Static IP Support

Summary

Adds support for static IP addresses alongside dynamic detection. Enables multiple A/AAAA records per domain.

🔧 Features

  • New Env Vars:
    • IP4_STATIC: comma-separated IPv4 list
    • IP6_STATIC: comma-separated IPv6 list
  • Composite Provider:
    • Combines dynamic + static IPs

✅ Backwards Compatible

  • Existing configs work without changes
  • Dynamic-only setups remain unaffected

🛠 Usage

IP4_STATIC=192.168.1.100,10.0.0.5 ./ddns

@favonia
Copy link
Owner

favonia commented Jun 27, 2025

@ZILosoft Thanks for the PR! I actually have a different plan that should eventually cover what you're looking for. The idea is to implement record comments as filters (you can see the details in #1045). This would let us tell static records apart from dynamic ones, and the tool would then simply ignore the static ones. Does that sound like a good alternative to you? Unfortunately, I'm stuck in a tough spot right now that's keeping me from working on this project (including reviewing PRs). Hope your fork is working well for you in the meanwhile!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants