Commit Graph

976 Commits

Author SHA1 Message Date
Ross McFarland cb28fa0e26 YamlProvider support for shared file, loaded into all zones 2023-08-18 16:20:53 -07:00
Ross McFarland 779f2f44fa Rename split_only to disable_zonefile. More accurate and future-proof. Also improve doc a bit 2023-08-18 15:40:49 -07:00
Ross McFarland aab868f345 Make sure the only* record isn't showing up when it shouldn't 2023-08-18 09:25:06 -07:00
Ross McFarland 3f7234bfd3 Move sources tests into correct class 2023-08-18 08:18:26 -07:00
Ross McFarland 61d3ed884a More YamlProvider details testing 2023-08-18 07:39:47 -07:00
Ross McFarland e473c32bfb Add some directories to ignore 2023-08-17 12:23:43 -07:00
Ross McFarland 608e367a9b More extensive tests of YamlProvider.list_zones 2023-08-17 12:13:42 -07:00
Ross McFarland 5b8498a550 Refactory yaml source logic out to make it easily testable 2023-08-12 19:31:38 -07:00
Ross McFarland 11ddb20005 Refactory YamlProvider and SplitYamlProvider into a unified class 2023-08-12 11:18:33 -07:00
Ross McFarland e0610112ad Merge branch 'main' into dynamic-zones 2023-08-10 16:27:07 -06:00
Kir 316ed95304 Reformatting test file 2023-08-09 12:38:46 +03:00
Kirill Losev 4c86566f82 rdata_text for SrvValue
Fixing #1038
2023-08-09 03:06:18 +03:00
Ross McFarland 45974099fd Merge branch 'main' into dynamic-zones 2023-08-06 10:26:47 -06:00
Ross McFarland fc76b1d604 Merge remote-tracking branch 'origin/main' into error-context 2023-07-31 12:09:25 -07:00
Ross McFarland f107c235f9 Merge remote-tracking branch 'origin/main' into dynamic-zones 2023-07-31 12:08:26 -07:00
Ross McFarland 303bc7740d Deprecate geo records in favor of dynamic 2023-07-30 06:40:17 -07:00
Ross McFarland c908d90656 Uncomment some lightweight dynamic yaml tests that were TODO'd 2023-07-29 18:16:56 -07:00
Ross McFarland c649a9c999 Formally deprecate Zone._remove_record in favor of Zone.remove_record 2023-07-29 17:58:28 -07:00
Ross McFarland 49bdf9e4df octodns-dump support all zones, including dynamic-config 2023-07-29 08:36:46 -07:00
Ross McFarland ebe9374405 Clean up context cases, full test coverage 2023-07-28 18:52:32 -07:00
Ross McFarland 1776d558b5 POC of config/validation errors with context. Implemented by YAML for all it's cases 2023-07-28 17:14:01 -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 da5b7d0d1e Sketch out an option for dynamic zone config 2023-07-21 13:26:29 -07: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 34980504b3 Full TinyDNS rework test coverage 2023-06-30 16:36:19 -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 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
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 cfa7abaee5 Validations to ensure Record.name and Zone.name have no whitespace 2023-05-19 09:57:56 -07:00
Ross McFarland 4c5e2a3ab8 Merge branch 'main' into ownership-remove-last-change 2023-05-13 17:47:38 -07:00
Viranch Mehta 4e0729d6c9 Add tests for full coverage 2023-05-03 21:31:19 -07:00
Ross McFarland 8ec75dc194 fix issue in OwnershipProcessor when last change is removed 2023-04-17 10:39:07 -07:00
Viranch Mehta 96f09cb4e5 Add subnet ordering validation 2023-04-09 09:17:42 -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 3fa9b0ef9d Add test for AutoArpa address boundary edge case 2023-02-27 09:58:06 -08:00
Samuel Parkinson 25206426ea Escape the DMARC1 values properly 2023-02-20 18:17:43 +00:00
Samuel Parkinson 70fe46f76b Patch dns.resolver.resolve in all processor tests 2023-02-20 18:17:43 +00:00
Samuel Parkinson 19e8a27110 Handle chunked values from DNS lookups 2023-02-20 18:17:43 +00:00
Samuel Parkinson 063bf78b9f Test nested include mechanisms 2023-02-20 18:17:43 +00:00
Samuel Parkinson ee44779f7f Error on ptr mechanisms
It has been deprecated in https://datatracker.ietf.org/doc/html/rfc7208#section-5.5.
2023-02-20 18:17:43 +00:00