Commit Graph

998 Commits

Author SHA1 Message Date
Viranch Mehta 55a535d0f0 Merge branch 'main' into mixed-subnets 2023-09-25 14:35:15 -07:00
Ross McFarland bca8db6c8f parse_rdata_text supports unquoting things (powerdns) 2023-09-25 12:59:51 -07:00
Ross McFarland 76e330a7c3 Add source parameter to Record.from_rrs 2023-09-25 12:26:59 -07:00
Viranch Mehta 63c5118bcd Fix validation for dynamic records with IPv4+IPv6 subnets 2023-09-24 23:27:35 -07:00
Ross McFarland da8ac9dd75 Merge branch 'main' into fix-multiple-dynamic-zones 2023-09-23 13:40:11 -07:00
Martin Frausing 533cd12128 Support both the both sets of field names for DS 2023-09-22 07:45:41 +02:00
Martin Frausing 43d380d76a The record got field names from the DNSKEY record by accident, fix this
Basically changing from
https://www.rfc-editor.org/rfc/rfc4034.html#section-2.1 to https://www.rfc-editor.org/rfc/rfc4034.html#section-5.1

So:
flags -> key_tag
protocol -> algorithm
algorithm -> digest_type
public_key -> digest
2023-09-20 10:09:16 +02:00
Viranch Mehta b6c37d500b Merge branch 'main' into fix-multiple-dynamic-zones 2023-09-19 11:14:49 -07:00
Viranch Mehta 11118efe93 Raise exception when no yamls are found for a zone 2023-09-18 21:41:44 -07:00
Viranch Mehta e92c1079c9 Fix wrong re-use of sources for dynamic zones 2023-09-18 21:16:50 -07:00
Viranch Mehta 0181158953 Include sources only if they exist 2023-09-18 15:31:16 -07:00
Kiran Naidoo b20113e1a9 Fix typo when loading auto-arpa config
Resolved a typo that prevented the auto-arpa configuration options from
loading.
2023-09-14 15:09:02 +01:00
Ross McFarland 4dca7c18cc Merge remote-tracking branch 'origin/main' into meta-processor 2023-09-10 14:46:17 -07:00
Ross McFarland 3343c4ba51 MetaProcessor implementation and testing 2023-09-10 12:30:26 -07:00
Ross McFarland 6f16412432 Merge branch 'main' into yaml-includes 2023-09-06 14:55:53 -06:00
Ross McFarland 028b2a52f6 Merge remote-tracking branch 'origin/main' into yaml-provider-static 2023-08-31 10:52:12 -07:00
Ross McFarland 8177ee6926 Revert "yaml provider is either split or zonefile, not both"
This reverts commit 6f39fcc5f7.
2023-08-29 12:59:38 -07:00
Ross McFarland 84add19ada Merge remote-tracking branch 'origin/main' into yaml-provider-refactor 2023-08-29 12:34:45 -07:00
Ross McFarland 6f39fcc5f7 yaml provider is either split or zonefile, not both 2023-08-27 08:37:26 -07:00
Ross McFarland c64e279dd2 Add support for !include YAML directive 2023-08-19 13:45:01 -07:00
Ross McFarland 857d5e2a61 Record's carry context, Zone exceptions make use of it to help with error messages 2023-08-18 20:24:26 -07:00
Ross McFarland e48759791c forgot to add shared.yaml test file 2023-08-18 16:35:20 -07:00
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