1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00
Commit Graph

1441 Commits

Author SHA1 Message Date
Ross McFarland
2c2d16b2cb Refactor out zone pre-processing so it can be shared with other methods 2023-07-29 08:36:11 -07:00
Ross McFarland
4b4b907584 Testing for manager's use of list_zones for dynamically configured zones 2023-07-28 14:34:50 -07:00
Ross McFarland
92623b1a2c Testing of (Split)YamlProvider.list_zones w/fixes 2023-07-28 14:16:36 -07:00
Ross McFarland
51d0265777 Merge remote-tracking branch 'origin/main' into dynamic-zones 2023-07-28 13:55:46 -07:00
Ross McFarland
2dabfe5a06 Version 1.0.0rc1 version bump and changelog update 2023-07-26 09:29:05 -07:00
Ross McFarland
5dd5fae210 error when list_zones is missing on a dynamic source 2023-07-26 09:26:09 -07:00
Ross McFarland
da5b7d0d1e Sketch out an option for dynamic zone config 2023-07-21 13:26:29 -07:00
Ross McFarland
0b5dac30b6 DRY up tinydns ttl finding logic 2023-07-06 08:00:51 -04:00
Ross McFarland
59a8958226 Record.parse_rdata_texts, TinyDns support for arbitrary record types 2023-07-01 09:18:53 -07:00
Ross McFarland
b1252f923e deal with duplicates and duplicate auto-creates cleanly 2023-06-30 18:53:57 -07:00
Ross McFarland
80adcc5d9b TinyDNS SRV support and test coverage 2023-06-30 18:31:09 -07:00
Ross McFarland
7920b815f3 We now use .ownes, so no need to handle SubzoneRecordException 2023-06-30 16:35:45 -07:00
Ross McFarland
ca3a4541a0 TindyDNS rework passing tests 2023-06-30 14:59:48 -07:00
Ross McFarland
4a7df31445 handle a couple zone.owns edge cases 2023-06-30 14:59:09 -07:00
Ross McFarland
49233e2da6 Add owns method to Zone 2023-06-30 14:31:06 -07:00
Ross McFarland
cdca6085a6 Correctly handle TTLs, remove dead code, arpa support 2023-06-30 13:13:07 -07:00
Ross McFarland
50df3387e6 tinydns lines to records isn't one-to-one, rework to handle that 2023-06-30 12:25:06 -07:00
Ross McFarland
1bad1e668b WIP: full tinydns spec-compliant source implementation 2023-06-29 15:40:00 -07:00
Ross McFarland
59478e9c7c Correctly handle trailing . in TinyDNS source fqdns 2023-06-29 10:12:52 -07:00
Ross McFarland
44c731dc79 Merge branch 'main' into ownership-add-lenient 2023-06-23 06:53:48 -07:00
Nathan Tat
1515fd186f Add zone name to TooMuchChange during plan 2023-06-22 14:32:03 -07:00
Ross McFarland
2de9b80acc Merge branch 'main' into ownership-add-lenient 2023-06-20 10:30:41 -07:00
Ross McFarland
50542b082c Merge branch 'main' into rc-version-fix 2023-06-20 09:23:38 -07:00
Ross McFarland
d370e3256b Support --leient flag for report cmd 2023-06-20 09:18:57 -07:00
Ross McFarland
2a99bd922f Always add ownership flatting records with lenient=True
This is intened to address cases where NS delegation ownership records
are added to the parent zone when they technically should live in the
delegated child. They're only used as ~metadata so this is fine, so long
as the provider supports it.
2023-06-20 07:41:38 -07:00
Nathan Tat
7e931080f4 Pass lenient through to arpa processor 2023-05-30 18:14:36 -07:00
Ross McFarland
98f51db028 updated black formatting 2023-05-23 10:27:23 -07:00
Ross McFarland
b8147cd8b4 Make the in-repo __VERSION__ match what the most recent release used 2023-05-19 10:03:47 -07:00
Ross McFarland
cfa7abaee5 Validations to ensure Record.name and Zone.name have no whitespace 2023-05-19 09:57:56 -07:00
Viranch Mehta
7ddfbd6143 Rel 1.0.0.rc0 version bump & CHANGELOG update 2023-05-16 10:54:16 -07:00
Ross McFarland
4c5e2a3ab8 Merge branch 'main' into ownership-remove-last-change 2023-05-13 17:47:38 -07:00
Ross McFarland
8ec75dc194 fix issue in OwnershipProcessor when last change is removed 2023-04-17 10:39:07 -07:00
Viranch Mehta
eeec1a7e7b prevent invalid subnet from crashing us 2023-04-12 23:51:52 -07:00
Viranch Mehta
a151ae31c9 log warning when unused subnet pools are dropped 2023-04-12 23:40:15 -07:00
Viranch Mehta
a19dc6c12e Copy/edit record only if there are subnet rules without the support 2023-04-12 23:39:00 -07:00
Viranch Mehta
cd975b28f4 Don't abort rest of the validation if unsupported pools are not present 2023-04-12 23:36:37 -07:00
Viranch Mehta
221367b06a empty lists ok, minor refactor in _process_desired_zone 2023-04-10 16:49:10 -07:00
Viranch Mehta
ae781f9b4f Validate rule ordering 2023-04-10 16:28:29 -07:00
Viranch Mehta
3b17eb155d subnets before geos, empty lists ok 2023-04-10 16:17:58 -07:00
Viranch Mehta
75cca9d12f Check subnets for re-used pools 2023-04-09 09:59:17 -07:00
Viranch Mehta
96f09cb4e5 Add subnet ordering validation 2023-04-09 09:17:42 -07:00
Viranch Mehta
47a898b1dc Wrap subnet support behind a SUPPORTS_ flag 2023-04-09 08:15:44 -07:00
Viranch Mehta
09c07d4651 Merge branch 'main' into dynamic-subnets 2023-04-06 14:29:17 -07:00
Viranch Mehta
a0646441e9 Drop unused logger 2023-04-02 05:07:34 -07:00
Viranch Mehta
37e8a88349 Support subnets in dynamic rules 2023-04-02 04:51:02 -07:00
Ross McFarland
2539cbe59b Rework script/generate-geo-data to output formatted code. Minor updates to data 2023-03-31 19:05:48 -07:00
Ross McFarland
80be9e7758 Add dynamic recordA validation to ensure last rule is a catch-all 2023-03-28 19:54:16 -07:00
Ross McFarland
ae5c6bdd52 Validate that dynamic rule goes are not reused 2023-03-28 10:53:44 -07:00
Ross McFarland
14668d8f94 Implement dynamic rule validation for targeting a specific location that would have already matched a more generic one 2023-03-28 10:50:44 -07:00
Ross McFarland
16e5928520 Refactor _DynamicMixin.validate, breaking out pools & rules checks 2023-03-28 10:15:50 -07:00