aboutsummaryrefslogtreecommitdiffstats
path: root/config.py
diff options
context:
space:
mode:
authorGravatar Daniel Washburn <daniel@washburn.at> 2016-12-28 10:45:58 -0500
committerGravatar Daniel Washburn <daniel@washburn.at> 2016-12-28 10:45:58 -0500
commitb34f07f89f3c4dafd922f0fa94637a47202bfe42 (patch)
tree45d627debaae1611b49d2945fd7cf27ff39399ff /config.py
parentd46c6233891355b8674c82dbc4a11173d25c0874 (diff)
downloadzoneupdate-b34f07f89f3c4dafd922f0fa94637a47202bfe42.tar.gz
zoneupdate-b34f07f89f3c4dafd922f0fa94637a47202bfe42.tar.bz2
zoneupdate-b34f07f89f3c4dafd922f0fa94637a47202bfe42.zip
Break configuration out to a separate file
Diffstat (limited to 'config.py')
-rw-r--r--config.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/config.py b/config.py
new file mode 100644
index 0000000..9502668
--- /dev/null
+++ b/config.py
@@ -0,0 +1,12 @@
+#!/usr/bin/env python
+
+CONFIG = {}
+
+# The origin of the zone file
+CONFIG['origin'] = 'example.org'
+
+# The zone file itself
+CONFIG['zonefile'] = './example.org.zone'
+
+# Should return the external IP address of the current host
+CONFIG['lookup_url'] = 'http://ipv4.example.org/'