90b8f3f08a0bb03bbdce7d4e23966a2d337ff4aa
DDNS
DDNS is an application that enables the automatic updating of DNS records for various providers.
Supported providers:
- Porkbun
Build
Execute ./gradlew assemble.
The resulting binary will be located in ./build/bin/releaseExecutable/.
Usage
The following command updates all A and AAAA DNS records in Porkbun for example.com and test.example.com.
ddns porkbun \
--key=<key> \
--secret-key=<secret key> \
--domain=example.com \
--subdomain= \
--subdomain=test
Alternatively, a file can be used to declare one or more configurations.
The above example can be declared as follows.
porkbun
key=<key>
secret-key=<secret key>
domain=example.com
subdomain=
subdomain=test
To use this config file, execute the command ddns --config=<config file>.
By default, the config file is /etc/ddns.conf.
Languages
Rust
100%