aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorGus Power <gus@infinitesidequests.com>2025-05-14 13:21:08 +0100
committerGus Power <gus@infinitesidequests.com>2025-05-14 13:21:08 +0100
commitdd1483cb6d9c060a17dc68357975de2b1ec09c08 (patch)
treedae1850e9ab89894fd217cfcd32ce31d91a767f8 /test
parent87c3219c0e6c7f374cf117eb1990dd41e196710a (diff)
reduce size of DnsRecordType (introduce enum), add overall config w/ supporting "full" test file.
Diffstat (limited to 'test')
-rw-r--r--test/full-config.json26
1 files changed, 26 insertions, 0 deletions
diff --git a/test/full-config.json b/test/full-config.json
new file mode 100644
index 0000000..fab3129
--- /dev/null
+++ b/test/full-config.json
@@ -0,0 +1,26 @@
+[
+ {
+ "interface": "eth0",
+ "fqdn": "vpn.private-client.com",
+ "ttl": 600,
+ "record_type": "A",
+ "providers": [
+ {
+ "type": "GANDI",
+ "api_key": "SOME_API_KEY"
+ }
+ ]
+ },
+ {
+ "interface": "eth1",
+ "fqdn": "vpn2.private-client2.com",
+ "ttl": 1800,
+ "record_type": "AAAA",
+ "providers": [
+ {
+ "type": "GANDI",
+ "api_key": "SOME_OTHER_API_KEY"
+ }
+ ]
+ }
+]