This repository was archived by the owner on Oct 25, 2025. It is now read-only.
Using the include support for deduplication #500
hrzlgnm
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've discovered a great way on how to de duplicate my configuration using includes. Even though the documentation does not say anything about the functionality of
include, it's still supported.I'm using the following approach to setup how to retrieve ipv6/ipv4 addresses and share secrets between providers:
To give you an example:
Here we define on how to retrieve the ipv6 address to be used once for all providers
/etc/inadyn/conf.d/get_ipv6_address.conf/etc/inadyn/conf.d/get_ipv4_address.conf/etc/inadyn/secrets/dynv6_secrets.conf/etc/inadyn/secrets/duckdns_secrets.conf/etc/inadyn/secrets/ipv64_secrets.confPutting everything together in the main config:
/etc/inadyn.confWith this approach I only have to change in one location whenever those change. Or whenever I may decide to replace my router, I only need to change that in one location.
Beta Was this translation helpful? Give feedback.
All reactions