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

2380 Commits

Author SHA1 Message Date
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
62caa4bac6 Merge pull request #914 from octodns/rel-0-9-18
Rel 0.9.18 version bump & CHANGELOG update
v0.9.18
2022-08-09 08:09:09 -07:00
Ross McFarland
af40184f29 Rel 0.9.18 version bump & CHANGELOG update 2022-08-09 08:06:53 -07:00
Ross McFarland
a874edf43a Merge pull request #903 from octodns/idna
Add idna encode/decode helpers
2022-08-09 08:01:58 -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
c80a93a296 Merge pull request #898 from octodns/dump-support-output-provider
Implement a sketch of --output-provider support for dump
2022-07-22 16:09:06 -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
f749505df3 Merge pull request #913 from yzguy/zonefilesource_multivalue_ptr
AxfrSource and ZoneFileSource: support multi-value PTR records
2022-07-22 13:00:56 -04:00
Adam Smith
2a56d9b26e AxfrSource and ZoneFileSource: support multi-value PTR records 2022-07-22 12:50:24 -04:00
Ross McFarland
a0841f4420 Merge pull request #911 from octodns/black-formatting
Implement black formatting
2022-07-12 14:56:55 -07: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
26d8f7aa92 .git-blame-ignore-revs for initial black formatting 2022-07-04 12:29:46 -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
Ross McFarland
392d8b516f Merge pull request #910 from octodns/rm-funding
Remove repo-specific FUNDING.yml
2022-07-02 09:13:05 -07:00
Ross McFarland
0bf5154311 Remove repo-specific FUNDING.yml 2022-07-02 09:11:04 -07:00
Ross McFarland
c33da93bd9 Merge pull request #908 from nakato/dottedsubzone
Support dotted subdomains for subzones
2022-06-27 06:52:42 -07:00
Sachi King
04be906c3c Add test to validate non-dotted subdomain zones are vaild
This confirms that in addition to the recently added support for dotted
subdomains that subdomains that are not dotted are supported.  From
RFC1034 Section 3.5 this would be a <subdomain> that contains a single
<label> without <subdomain> recurring.
2022-06-27 10:56:20 +10: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
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
044d8561ed Add idna encode/decode helpers 2022-05-20 09:13:38 -07: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
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
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