diff options
| author | 2016-12-28 10:45:58 -0500 | |
|---|---|---|
| committer | 2016-12-28 10:45:58 -0500 | |
| commit | b34f07f89f3c4dafd922f0fa94637a47202bfe42 (patch) | |
| tree | 45d627debaae1611b49d2945fd7cf27ff39399ff /config.py | |
| parent | d46c6233891355b8674c82dbc4a11173d25c0874 (diff) | |
| download | zoneupdate-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.py | 12 |
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/' |