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

1274 Commits

Author SHA1 Message Date
Ross McFarland
a3e90ca4ac Add doc for processor.filter.* 2022-08-27 16:29:00 -07:00
Ross McFarland
dfd56c6636 Rel 0.9.19 version bump & CHANGELOG update 2022-08-14 11:49:20 -07:00
Ross McFarland
ffe456714c Correct error message grammar
Co-authored-by: Sachi King <nakato@nakato.io>
2022-08-12 13:28:06 -07:00
Ross McFarland
18ee70ddb5 Fix issue when subzone is a non-dotted endswith for zone 2022-08-11 09:10:56 -07:00
Ross McFarland
af010121ea Do away with zone_tree, not a tree and unnecessary now 2022-08-11 08:58:40 -07:00
Ross McFarland
810cc7faff Use collections.deque for pop'ing 2022-08-11 08:53:19 -07:00
Ross McFarland
611431b042 Broken up string formatting cleanup 2022-08-11 08:42:16 -07:00
Ross McFarland
33794f3796 Fix a bug in Zone.add_record subzone handling when name ends with non-dotted subzone name 2022-08-11 08:40:32 -07:00
Ross McFarland
6a1b86af6f Rework configured_sub_zones and add tests specifically for it 2022-08-11 07:50:32 -07:00
Ross McFarland
6e5c7a8b70 Add failing tests of subzone handling 2022-08-11 06:18:05 -07:00
Ross McFarland
35a6c85bbb Rework Manager.zone_tree into a property 2022-08-11 06:07:03 -07:00
Ross McFarland
af40184f29 Rel 0.9.18 version bump & CHANGELOG update 2022-08-09 08:06:53 -07:00
Ross McFarland
ea50c8cf38 Merge branch 'idna' of github.com:octodns/octodns into idna 2022-08-09 07:58:31 -07:00
Ross McFarland
78c53de22c Merge remote-tracking branch 'origin/master' into idna 2022-08-09 07:58:07 -07:00
Ross McFarland
02e07f4209 Merge remote-tracking branch 'origin/master' into dump-support-output-provider 2022-07-22 16:06:51 -07:00
Adam Smith
2a56d9b26e AxfrSource and ZoneFileSource: support multi-value PTR records 2022-07-22 12:50:24 -04:00
Ross McFarland
e671e7e57a Remove unneeded [] from list comprehension
Co-authored-by: Viranch Mehta <email@viranch.me>
2022-07-04 20:40:00 -07:00
Ross McFarland
e116d26eec Implement black formatting 2022-07-04 12:27:39 -07:00
Ross McFarland
c98b5abdf3 Merge branch 'master' into idna 2022-07-04 10:20:48 -07:00
Sachi King
d5363e8045 Add comments and use list comprehensions
Per PR review, use list comprehensions as they are prefered in py3 over
use of filter.

Add comments to describe the building of the zone tree.
2022-06-27 10:50:05 +10:00
Ross McFarland
5c1a1b9621 Merge remote-tracking branch 'origin/master' into idna 2022-06-26 16:36:17 -04:00
Ross McFarland
08523cd4ba Functionally complete (I think) IDNA encode/decode support 2022-06-26 16:35:47 -04:00
Sachi King
5592f5da96 Support dotted subdomains for subzones
Currently if there are two zones configured;
- example.com.
- delegated.subdomain.example.com.

When an NS record is created in example.com.yaml as such:
delegated.subdomain:
  type: NS
  values:
  - ns1.example.org.

The NS record for delegated.subdomain.example.com cannot be created as it
throws an exception:

octodns.zone.SubzoneRecordException: Record delegated.subdomain.example.com is under a managed subzone

Additionally, all records other than NS are rejected for
subdomain.example.com..

This is caused by zone_tree being the result of all zones split on '.'
and being added to the tree, even if a zone does not exist at that
point.

To support records where a subzone is dotted, the the map is built such
that each node represents the subdomain of the closest subzone.

Before:
{"com", {"example": {"subdomain": {"delegated": {}}}}}

After:
{"example.com": {"delegated.subdomain": {}}}

Fixes: #378
2022-06-24 20:36:47 +10:00
Kian-Meng Ang
04b7bf0ac2 Fix typos 2022-05-29 13:16:01 +08:00
Ross McFarland
044d8561ed Add idna encode/decode helpers 2022-05-20 09:13:38 -07:00
Aquifoliales
8b2bfa5dea SSHFP support for Source AXFR/Zonefile 2022-05-18 14:43:12 +02:00
Aquifoliales
084d537c94 Fixed testing for TLSA record type. 2022-05-10 09:50:57 +02:00
Aquifoliales
b139d266c9 Support for TLSA record, https://www.rfc-editor.org/rfc/rfc6698.txt 2022-05-04 11:01:50 +02:00
Ross McFarland
d332a7bb38 Comments about dump's directory and copy 2022-04-16 12:55:41 -07:00
Ross McFarland
0d606e0728 dump output_provider testing 2022-04-14 12:50:51 -07:00
Ross McFarland
43e955a538 Only copy and set directory when it doesn't match 2022-04-14 12:19:26 -07:00
Ross McFarland
17c294042f Implement a sketch of --output-provider support for dump 2022-04-14 10:19:33 -07:00
Ross McFarland
ee6fe1970f Rel 0.9.17 version bump & CHANGELOG update 2022-04-01 12:37:11 -07:00
Ross McFarland
6f15a4cec4 Add octodns-versions command 2022-03-30 19:09:03 -07:00
Ross McFarland
66958f7c21 Manager._try_version with 3.7 noop (for now) 2022-03-28 13:33:32 -07:00
Ross McFarland
d714f623b8 Merge branch 'master' into log-version 2022-03-27 11:56:33 -07:00
Ross McFarland
a0f9668e83 Remove extranious None default from get 2022-03-27 07:05:55 -07:00
Ross McFarland
b458fe0dc8 Walk module hierarchy looking for __VERSION__ 2022-03-25 20:43:48 -07:00
Ross McFarland
633aef5845 Manager prints provider, processor, and plan_output versions for non-core modules when available 2022-03-25 20:03:42 -07:00
Ross McFarland
6ab6124d72 Log the octoDNS version as part of Manager.__init__ info line 2022-03-25 18:16:50 -07:00
Ross McFarland
5827e23d22 Simplify Record.register_type. Values?Mixin public 2022-03-18 19:05:00 -07:00
Ross McFarland
7f98d9dfca Base of Record type registration 2022-03-16 09:58:44 -07:00
Ross McFarland
9e945f3b0a Merge branch 'master' into change-ordering 2022-03-07 18:15:12 -08:00
Ross McFarland
cdcaef8f2b Order changes: deletes, creates, updates 2022-03-04 14:18:23 -08:00
Ross McFarland
7c92d3984a Rel 0.9.16 version bump & CHANGELOG update 2022-03-04 11:07:30 -08:00
Ross McFarland
8e70695eb2 Apply suggestions/corrections from a round of code review 2022-02-23 09:32:20 -08:00
Ross McFarland
e3edae8466 Non-configured root NS when supported is always a warning 2022-02-17 13:24:34 -08:00
Ross McFarland
0544e9ed7d More thorough testing of root ns cases and associated improvements 2022-02-17 13:00:28 -08:00
Ross McFarland
81dd4d714b Only throw RootNsChange UnsafePlan on existing zones 2022-02-17 09:34:48 -08:00
Ross McFarland
02ee7518fa Rework root NS logic to ignore when unconfigured, more testing 2022-02-17 08:50:42 -08:00