Ross McFarland
a8555a732f
Merge branch 'master' into tinydns-additions
2019-04-20 08:18:35 -07:00
Ross McFarland
a81cdaa032
Merge pull request #346 from PeterDaveHello/normalize-cname
...
Normalize CNAME/ALIAS/PTR value to lower-case
2019-04-20 07:48:27 -07:00
Ross McFarland
219eb5eb0e
Merge branch 'master' into normalize-cname
2019-04-20 07:43:21 -07:00
Ross McFarland
f41d7ef242
Merge pull request #338 from PeterDaveHello/refactor-scripts
...
Refactor shell script syntax and consistency
2019-04-20 07:42:58 -07:00
Peter Dave Hello
68580ac25b
Normalize CNAME/ALIAS/PTR value to lower-case
2019-04-17 23:43:01 +08:00
Andy Hawkins
c89b0dbabd
Add tests for escaping semicolons in TinyDNS TXT records
2019-04-17 11:35:51 +01:00
Andy Hawkins
799e939381
Escape semicolons read in from TinyDNS TXT records
2019-04-17 11:34:55 +01:00
Peter Dave Hello
a516f2ca7c
Refactor shell script syntax and consistency
...
- Add a missing space for styling
- Replace legacy "\`...\`" with `$(...)`
- Quote variable to prevent word splitting
- Use builtin `command -v` instead of non-standard `which`
- Add two missing `>&2` redirection for error/warning message
2019-04-13 22:04:04 +08:00
Andy Hawkins
3b98f3e0e1
Add tests for TinyDNS AAAA records
2019-04-12 21:30:45 +01:00
Andy Hawkins
a10cab351b
Add support for TinyDNS AAAA records
2019-04-12 21:29:58 +01:00
Andy Hawkins
1892489e77
Add tests for TinyDNS TXT records
2019-04-12 20:41:02 +01:00
Andy Hawkins
fbfc3f8bb9
Add support for TinyDNS TXT records
2019-04-12 20:40:28 +01:00
Ross McFarland
a0bd756c09
Merge pull request #336 from cfunkhouser/split-the-yaml
...
Allow multiple YAML files to define zones
2019-04-09 13:36:33 -07:00
Christian Funkhouser
b1d0b5aecc
Merge branch 'master' into split-the-yaml
2019-04-09 09:02:56 -04:00
Ross McFarland
959370b691
Merge pull request #339 from github/dyn-dynamic-serve-count-1
...
DynProvider dynamic serve_count=1 to match Route53
2019-04-08 14:33:48 -07:00
Ross McFarland
99bb14b4df
Merge branch 'master' into dyn-dynamic-serve-count-1
2019-04-08 14:29:24 -07:00
Christian Funkhouser
a65181b61d
Document directory requirements more clearly.
...
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com >
2019-04-08 17:22:26 -04:00
Ross McFarland
9f63a508e4
Address TODO about Dyn TD's and subzones to fix bug
...
We hit this bug internally. It generally needed to be fix and was a larger
potential problem than expected since it was assuming TD assocaitions rather
than looking at them directly. Test changes were a little involved to suss
out, otherwise this is a fairly clean and simple fix.
2019-04-08 14:22:07 -07:00
Christian Funkhouser
f239eb1aa8
Don't use classmethod for listing YAML files
...
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com >
2019-04-08 17:13:28 -04:00
Christian Funkhouser
2021a2caea
Construct YamlProvider logger more cleverly.
...
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com >
2019-04-08 17:09:29 -04:00
Christian Funkhouser
689043cd3d
Merge SplitYamlProvider and YamlProvider tests
...
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com >
2019-04-08 17:07:45 -04:00
Christian Funkhouser
250c31f8ed
Delete test_octodns_provider_splityaml.py
...
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com >
2019-04-08 16:46:56 -04:00
Ross McFarland
639ace9ce4
DynProvider dynamic serve_count=1 to match Route53
...
Might be possible/make sense to allow it to be configured later, but for now
Route53 doesn't support it so we'll go with 1 to make sure that things match
up behavior-wise.
2019-04-08 12:35:58 -07:00
Christian Funkhouser
2e2fd7157a
Try the test with a fresh zone
...
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com >
2019-04-08 14:55:04 -04:00
Christian Funkhouser
9f34526c61
Remove forklifted comment that doesn't entirely make sense
...
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com >
2019-04-08 13:59:45 -04:00
Christian Funkhouser
ceece68de8
Persist empty. zone
...
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com >
2019-04-08 13:59:45 -04:00
Christian Funkhouser
98dacd2dde
Add proper tests for SplitYamlProvider
...
The SplitYamlProvider itself now requires a directory matching the
zone name under its directory to contain all YAML files. This doesn't
actually change the intended usage at all, just how the configuration
file is laid out.
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com >
2019-04-08 13:59:45 -04:00
Christian Funkhouser
1d9553b93a
Appease the linter.
...
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com >
2019-04-08 13:59:45 -04:00
Christian Funkhouser
8639bc0af5
Actually fix tests, include YAML
...
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com >
2019-04-08 13:59:45 -04:00
Christian Funkhouser
ee133b3ac1
Fix tests
...
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com >
2019-04-08 13:59:45 -04:00
Christian Funkhouser
3bc0e0ad3e
File load success is too verbose
...
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com >
2019-04-08 13:59:44 -04:00
Christian Funkhouser
81d9c083fc
Add --split flag to dump
...
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com >
2019-04-08 13:59:44 -04:00
Christian Funkhouser
ffc4e2f957
Add SplitYamlProvider
...
SplitYamlProvider extends and behaves similarly to YamlProvider, but
organizes the zone in multiple files by record, insteat of in a
monolithic YAML file.
YamlProvider has been slightly modified to make its extension easier.
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com >
2019-04-08 13:59:44 -04:00
Ross McFarland
168f0725a3
Merge pull request #337 from PeterDaveHello/normalize-mx-exchange
...
Normalize MX exchange to lower-case, fix #322
2019-04-06 09:42:57 -07:00
Ross McFarland
169a678d10
Merge branch 'master' into normalize-mx-exchange
2019-04-06 09:13:45 -07:00
Ross McFarland
5d8a7cff31
Merge pull request #331 from omarkilani/azuredns-updates
...
AzureProvider: update for azure-mgmt-dns 2.1.0 and add support for CAA records.
2019-04-06 09:11:50 -07:00
Ross McFarland
2b152759b8
Merge branch 'master' into azuredns-updates
2019-04-06 09:06:11 -07:00
Ross McFarland
ed48f89491
Merge branch 'master' into normalize-mx-exchange
2019-04-06 09:05:30 -07:00
Ross McFarland
21440dd421
Merge pull request #333 from github/route53-dynamic
...
Route53Provider dynamic record support
2019-04-04 19:00:17 -07:00
Ross McFarland
add8cf25d4
Bunch of comments on Route53Provider from the PR review
2019-04-04 09:17:28 -07:00
Ross McFarland
3e0a452f77
CHANGELOG and README updates for dynamic and recent work
2019-04-04 08:37:55 -07:00
Peter Dave Hello
e0a8a619d6
Normalize MX exchange to lower-case, fix #322
2019-04-04 22:45:34 +08:00
Ross McFarland
cc9a1648d2
Pull dup'd parsing logic into a helper func, doc a singular case
2019-04-03 19:25:24 -07:00
Ross McFarland
dbc032a2cc
Switch to using tuples for _mod_keyer
2019-04-03 18:58:46 -07:00
Ross McFarland
684a152d9e
Merge remote-tracking branch 'origin/master' into route53-dynamic
2019-04-03 14:13:59 -07:00
Ross McFarland
92179a231e
Rework and clean up Route53Provider's extra_changes check to support dynamic
2019-04-03 14:13:23 -07:00
Ross McFarland
4db9d5cbf4
Remove TODO about value types, doesn't apply for now at least
2019-04-03 13:13:13 -07:00
Ross McFarland
34744b7b34
Normalize ip addresses for comparing health checks since Route53 does
2019-04-03 13:10:19 -07:00
Ross McFarland
af06dbec09
Route53Provider for CNAME style healthchecks
...
Note that you can't specify a Host header for these which I believe will
complicate the ability to use this. Figuring that out will have to wait
until I or someone else has a use case for these...
2019-04-03 10:29:52 -07:00
Ross McFarland
7b59eedc44
Route53Provider dynamic support
2019-04-01 14:17:59 -07:00