aboutsummaryrefslogtreecommitdiff
path: root/gerboweb/deploy/dyndns_config.py.j2
diff options
context:
space:
mode:
authorjaseg <code@jaseg.net>2020-12-29 13:08:13 +0100
committerjaseg <code@jaseg.net>2020-12-29 13:08:13 +0100
commite63a7e557da86afc69f987df416b9932d0822d31 (patch)
tree0a72ec1b9d25cdcc44fa72cd04963de0ae244856 /gerboweb/deploy/dyndns_config.py.j2
parent659290677b4ab53bca1fd92fd01c90aee09c2fa7 (diff)
downloadgerbolyze-e63a7e557da86afc69f987df416b9932d0822d31.tar.gz
gerbolyze-e63a7e557da86afc69f987df416b9932d0822d31.tar.bz2
gerbolyze-e63a7e557da86afc69f987df416b9932d0822d31.zip
Add dns, dyndns services
Diffstat (limited to 'gerboweb/deploy/dyndns_config.py.j2')
-rw-r--r--gerboweb/deploy/dyndns_config.py.j214
1 files changed, 14 insertions, 0 deletions
diff --git a/gerboweb/deploy/dyndns_config.py.j2 b/gerboweb/deploy/dyndns_config.py.j2
new file mode 100644
index 0000000..3212a1e
--- /dev/null
+++ b/gerboweb/deploy/dyndns_config.py.j2
@@ -0,0 +1,14 @@
+
+SQLITE_DB = '{{dyndns_sqlite_dbfile}}'
+
+NAMESERVER = 'ns.jaseg.de'
+NAMESERVER_MAIL = 'dns@jaseg.de'
+ZONEFILE = 'dyn.jaseg.de.zone'
+ZONE = 'dyn.jaseg.de'
+NSD_CONTROL = 'sudo -u nsd nsd-control'.split()
+
+DYNAMIC_RECORDS = {
+ 'bigdata': ('v6', '{{ lookup('password', 'dyndns_secret_bigdata.txt length=32') }}'),
+ 'raspi': ('v6', '{{ lookup('password', 'dyndns_secret_raspi.txt length=32') }}'),
+}
+