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

165 Commits

Author SHA1 Message Date
Ross McFarland
e9cdacdd13 Include octodns special section in record __repr__ 2023-11-10 16:01:14 -08:00
Ross McFarland
65f4a48bc1 rr_values as a property for consistency 2023-10-15 17:51:06 -07:00
Ross McFarland
ded53023e7 add support for chunked values to ValuesMixin.rrs 2023-10-15 13:23:57 -07:00
Ross McFarland
9a28437b81 chunked_values should return _value_type not plain string 2023-10-15 13:20:43 -07:00
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
a728a7ca4c Use sorted's key to sort subnets by version 2023-09-24 23:39:17 -07:00
Viranch Mehta
63c5118bcd Fix validation for dynamic records with IPv4+IPv6 subnets 2023-09-24 23:27:35 -07:00
Ross McFarland
879d8cd527 cls not self 2023-09-23 13:10:55 -07:00
Ross McFarland
dfac2da3ec DEPRECATION warning on DsValue field fixes 2023-09-23 13:08:59 -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
Ross McFarland
4256ad6caf Deprecate SpfRecord 2023-09-09 14:35:45 -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
Kirill Losev
4c86566f82 rdata_text for SrvValue
Fixing #1038
2023-08-09 03:06:18 +03:00
Ross McFarland
fc76b1d604 Merge remote-tracking branch 'origin/main' into error-context 2023-07-31 12:09:25 -07:00
Ross McFarland
303bc7740d Deprecate geo records in favor of dynamic 2023-07-30 06:40:17 -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
59a8958226 Record.parse_rdata_texts, TinyDns support for arbitrary record types 2023-07-01 09:18:53 -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
eeec1a7e7b prevent invalid subnet from crashing us 2023-04-12 23:51:52 -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
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
Ross McFarland
6be0a8133a isort import formatting 2023-01-22 13:54:19 -08:00
Ross McFarland
90c0402b00 break record tests into individual files 2023-01-02 23:08:18 -05:00
Ross McFarland
9205e32392 Finish breaking up octodns.record 2023-01-02 14:58:03 -05:00
Ross McFarland
965ee566bb Pull out rest of record into specific files 2023-01-02 14:33:44 -05:00
Ross McFarland
2c9c0518a5 Include Change in octodns.record, some module tests use it 2023-01-02 10:24:53 -05:00
Ross McFarland
be7c3d279e WIP breakup of octodns.record file 2023-01-02 10:12:59 -05:00
Ross McFarland
8ba5335333 Add support for DsRecord type 2023-01-01 21:15:11 -05:00
Ross McFarland
f5d2d8ba6d Actually NsValue is now the same as PtrValue, so _TargetsValue to DRY things up 2022-10-01 19:12:43 -07:00
Ross McFarland
4a6fae34b3 PtrValue should no longer be using _TargetValue now that it acceps multiple values 2022-10-01 19:08:24 -07:00
Ross McFarland
437e3a6ca2 Merge branch 'main' into records-rfc-test 2022-09-29 14:34:00 -07:00
Ross McFarland
1e57595554 Merge branch 'main' into empty-super 2022-09-23 18:47:11 -07:00
Ross McFarland
dbd40fb20a Merge in main, remove parse_rdata_text usage from validate & cstor 2022-09-23 15:09:34 -07:00
Ross McFarland
2c5d8ad101 Flip ttl and type return order 2022-09-22 20:29:08 -07:00
Ross McFarland
7f0cfb08a2 Implement Record.rrs 2022-09-22 20:26:25 -07:00
Ross McFarland
cea1c65305 Remove pprints and add some comments/doc 2022-09-22 18:58:16 -07:00
Ross McFarland
ace2fdf4e1 Make sure _ChunkedValue.parse_rdata_text escapes ; 2022-09-22 10:26:21 -07:00