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

2351 Commits

Author SHA1 Message Date
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
Sachi King
e299ceced2 Prepare tests with failing "managed subzone" error
The is not a zone between delegated.subzone.unit.tests. and unit.tests.,
however we get a delegated subzone error.  This modifies the tests to
succeed with the added record, however the tests fail as it incorrectly
throws the managed subzone error.

Change the name of delegated.subzone, and the tests will pass cleanly.
2022-06-23 19:22:15 +10:00
Ross McFarland
e17e30b383 Merge pull request #907 from williamjacksn/patch-1
Add documentation for `include_meta` config key
2022-05-29 15:50:02 -07:00
William Jackson
a17c4f8e0c Add documentation for include_meta config key
Update README.md to include documentation for the `include_meta` key in the `manager` section of the config.
2022-05-29 16:22:52 -05:00
Ross McFarland
fe116fdbb1 Merge pull request #906 from kianmeng/fix-typos
Fix typos
2022-05-29 08:00:37 -07:00
Kian-Meng Ang
04b7bf0ac2 Fix typos 2022-05-29 13:16:01 +08:00
Ross McFarland
75f1003bb3 Merge pull request #905 from johankok/patch-1
Updated link to providers in README.md
2022-05-27 07:49:09 -07:00
Johan Kok
4241cb5277 Updated link to providers in README.md
The supported providers table was renamed in 9b79c98a09, this would fix the link to the table.
2022-05-27 16:36:39 +02:00
Ross McFarland
eccf91f32e Merge pull request #902 from Aquifoliales/master
SSHFP support for Source AXFR/Zonefile
2022-05-20 07:22:51 -07:00
Aquifoliales
8b2bfa5dea SSHFP support for Source AXFR/Zonefile 2022-05-18 14:43:12 +02:00
Ross McFarland
4416756c16 Merge pull request #901 from Aquifoliales/master
Feature: TLSA record
2022-05-10 07:12:59 -07:00
Aquifoliales
2401a7318c Fixed testing, TLSA record ready. 2022-05-10 15:56:33 +02:00
Aquifoliales
3cdefc5058 Adaption for Linting 2022-05-10 14:58:35 +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
67b7fe333d Merge pull request #896 from octodns/rel-0-9-17
Rel 0.9.17 version bump & CHANGELOG update
v0.9.17
2022-04-04 09:43:03 -07:00
Ross McFarland
ee6fe1970f Rel 0.9.17 version bump & CHANGELOG update 2022-04-01 12:37:11 -07:00
Ross McFarland
ec4b404f38 Merge pull request #895 from octodns/octodns-versions-cdm
Add octodns-versions command
2022-03-31 11:20:59 -07:00
Ross McFarland
6f15a4cec4 Add octodns-versions command 2022-03-30 19:09:03 -07:00
Ross McFarland
e9d9fbc0d5 Merge pull request #891 from octodns/log-version
Log the octoDNS version as part of Manager.__init__ info line
2022-03-30 18:57:47 -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
a7506f487c Merge pull request #892 from octodns/pep440-style-versions
Implement pep440 style public and local version numbers
2022-03-27 11:56:26 -07:00
Ross McFarland
bdc10c45ea Merge branch 'master' into pep440-style-versions 2022-03-27 07:44:31 -07:00
Ross McFarland
5b52c9cd91 Merge pull request #893 from octodns/split-out-cibuild-setup-py
Split out cibuild-setup-py
2022-03-27 07:44:23 -07:00
Ross McFarland
45123a4c81 Split out cibuild-setup-py 2022-03-27 07:42:35 -07:00
Ross McFarland
d207df9e40 Implement pep440 style public and local version numbers 2022-03-27 07:34:08 -07:00
Ross McFarland
b4d66c3f91 Merge pull request #889 from octodns/record-type-registration
Dynamic Record type registration
2022-03-27 07:15:15 -07:00
Ross McFarland
9313b5f233 CHANGELOG entry for Record.register_type 2022-03-27 07:10:15 -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
a96dff480c Documentation for dynamic Record type registration 2022-03-21 14:29:39 -07:00
Ross McFarland
eee234aa16 Merge branch 'master' into record-type-registration 2022-03-21 14:07:05 -07:00
Ross McFarland
6b9a130c18 Merge pull request #890 from octodns/modules-on-review
Run the modules ci jobs when reviews are submitted
2022-03-21 14:06:46 -07:00
Ross McFarland
c211e8b472 Run the modules ci jobs when reviews are submitted 2022-03-21 13:53:57 -07:00
Ross McFarland
5827e23d22 Simplify Record.register_type. Values?Mixin public 2022-03-18 19:05:00 -07:00
Ross McFarland
ea5000e191 Real testing of register_type 2022-03-16 12:26:29 -07:00
Ross McFarland
89e31e34db Merge branch 'master' into record-type-registration 2022-03-16 10:05:06 -07:00
Ross McFarland
7f98d9dfca Base of Record type registration 2022-03-16 09:58:44 -07:00
Ross McFarland
0d52be3872 Merge pull request #887 from octodns/modules-3-9
modules test run on 3.9 for now
2022-03-11 17:00:08 -08:00
Ross McFarland
3ec48b1ccd modules test run on 3.9 for now 2022-03-10 14:21:32 -08:00
Ross McFarland
2d865b62c3 Merge pull request #886 from octodns/update-requirements-txt
Update requirements*.txt to the latest
2022-03-10 13:27:11 -08:00
Ross McFarland
ed6125c003 Explicitly include pytest-cov 2022-03-10 07:19:33 -08:00
Ross McFarland
c39733cf91 Update requirements*.txt to the latest 2022-03-10 07:09:58 -08:00
Ross McFarland
35c1a021a4 Merge pull request #884 from octodns/no-fail-fast
Don't fail-fast on actions jobs, we want to see all variants
2022-03-09 07:17:03 -08:00
Ross McFarland
2ac82f4dfe module, not modules 2022-03-09 07:14:05 -08:00
Ross McFarland
f7e080617b Don't fail-fast on actions jobs, we want to see all variants 2022-03-09 07:11:33 -08:00
Ross McFarland
ddc7b22007 Merge pull request #883 from octodns/ci-modules
Manually runnable modules test
2022-03-09 07:06:54 -08:00