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

782 Commits

Author SHA1 Message Date
Marc 'risson' Schmitt
2b454ccc22 manager: error when an alias zone is synced without its source
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
2020-12-17 15:23:22 +01:00
Nikolay Denev
049bdb55af Shorten line 2020-12-11 17:47:22 +00:00
Nikolay Denev
20dc4dc6a7 Update octodns/provider/ultra.py
Co-authored-by: Ross McFarland <ross@github.com>
2020-12-11 16:54:09 +00:00
Nikolay Denev
9549a0dec9 Ignore records with unsupported rrtypes and log warning. 2020-12-10 22:31:33 +00:00
Ross McFarland
86232b48cf Replace some nbsp chars that have slipped into manager.py somehow 2020-12-10 08:30:15 -08:00
0xflotus
61280e1e75 fix: error in gandi.py 2020-12-08 02:37:55 +01:00
Mark Tearle
6a869dae8b Merge branch 'master' into python_3.9_compat 2020-12-02 11:30:19 +08:00
Mark Tearle
0ebd343cba Merge branch 'master' into python_3.9_compat 2020-11-26 15:34:40 +08:00
Mark Tearle
7f89c621a1 Address coverage for Python 2, tidy up variable names in _is_valid_dkim_key 2020-11-25 23:29:49 +08:00
Mark Tearle
fa266c23d2 Fix _is_valid_dkim_key for Python 3.9 compatibility in OVH provider
base64.decodestring was deprecated and removed in Python 3.9 in favour of
decodebytes (See https://bugs.python.org/issue39351 )
2020-11-25 22:28:35 +08:00
Peter Dave Hello
3dd7061a0c Remove Azure allow empty CNAME, PTR value behavior
cc #84 #628
2020-11-22 21:10:47 +08:00
Peter Dave Hello
b7ed4aa57f Improve ALIAS, CNAME, DNAME & PTR record FQDN validation
Use fqdn package to help verify if the record value is really valid.

The original behavior will treat value like `_.` or `.` be a valid
record, which is strange, and the real world may not have those use
cases at all.

The RFC documents are pretty long, as I didn't read them all or enough
to tell should it be valid or not by the spec, so I opened issue #612 to
discuss this case and got a positive response from the main maintainer
to have the change.

Close #628
2020-11-22 21:10:47 +08:00
Ross McFarland
f822ef3d5f Removing trailing space 2020-11-19 06:44:44 -08:00
Ross McFarland
5e13d5009a Add a comment about the - version split 2020-11-19 06:35:13 -08:00
Pieter Lexis
e02a8b3858 PowerDNS: Support pre-release versions
This commit strips any superfluous -alphaN (or beta or rc) from the
version number's minor number so it can be cast to an int. This will
allow octodns to sync to/from PowerDNS pre-releases.
2020-11-19 10:04:02 +01:00
Guillaume Gelin
9c20d0015b Fix name length validation
Closes #626
2020-11-16 15:35:57 +01:00
Adam Smith
e98f21455d Add CAA record support to AxfrSource/ZoneFileSource 2020-11-12 09:48:23 -08:00
Ross McFarland
edf92fb159 v0.9.11 version bump and CHANGELOG update 2020-11-05 09:45:39 -08:00
Jonathan Leroy
f3e3f19cd3 Suppress previous exceptions before raising GandiClientUnknownDomainName
exception
2020-11-03 22:59:39 +01:00
Jonathan Leroy
09a02286f5 Merge branch 'master' into gandi-provider 2020-11-03 22:30:52 +01:00
Ross McFarland
7958a6e1d1 Merge remote-tracking branch 'origin/master' into alias-root-only 2020-11-02 13:47:23 -08:00
Jonathan Leroy
729fd01dbf Merge branch 'master' into gandi-provider 2020-11-02 19:13:12 +01:00
Jonathan Leroy
bb7a1a43b7 Implement suggested changes 2020-11-02 18:42:03 +01:00
Jonathan Leroy
20caaf8c4e Merge branch 'master' into gandi-provider 2020-11-02 16:35:14 +01:00
Ross McFarland
19798e3acf Only allow ALIAS on APEX 2020-11-02 07:26:07 -08:00
Jonathan Leroy
2d4855508c Check that an alias zone source is not an alias zone 2020-11-01 23:58:40 +01:00
Jonathan Leroy
95a71a268e Apply workaround for python bug #2506 witout using "pragma: no cover"
comment
2020-10-31 23:51:04 +01:00
Jonathan Leroy
e524d69f63 Fixes linting issue 2020-10-31 23:32:20 +01:00
Jonathan Leroy
d3be3be734 Fix coverage issue 2020-10-31 23:26:27 +01:00
Jonathan Leroy
6b568f5c9d Compare alias zones content with the one of its parent zone, even if
there is no changes in the parent zone
2020-10-31 19:07:34 +01:00
Jonathan Leroy
a1e62281f6 Fixes record copy when record is a child class of Record and as no record
type specified in its data
2020-10-31 10:54:17 +01:00
Jonathan Leroy
6f01a543df Implement configuration validation for alias zones 2020-10-31 09:43:23 +01:00
Jonathan Leroy
8679bb4899 Remove sources argument when calling _populate_and_plan() for an alias
zone
2020-10-31 09:41:27 +01:00
Jonathan Leroy
0b3a99bb8c Implement Record.copy() function
Flip if in _populate_and_plan()
2020-10-31 09:38:35 +01:00
Jonathan Leroy
3acea0d89d Handle multiples sources on aliased zones 2020-10-31 01:09:37 +01:00
Jonathan Leroy
04a2d7a585 Merge branch 'master' into zones-aliases 2020-10-28 16:24:40 +01:00
Jonathan Leroy
b280449969 Add record targets normalizaltion 2020-10-27 11:25:55 +01:00
Jonathan Leroy
6d17b4671a Handle domains not registred at Gandi or not using Gandi's DNS 2020-10-27 11:23:22 +01:00
Jonathan Leroy
de51e5f531 Add support for DNAME records 2020-10-26 22:18:35 +01:00
Jonathan Leroy
fd136b42d1 Add support for Gandi LiveDNS 2020-10-25 01:08:08 +02:00
Jonathan Leroy
897a033443 Add tests for Manager.get_zones() 2020-10-21 20:02:12 +02:00
Jonathan Leroy
1f60a6af5e Fixes typo in manager.get_zone() 2020-10-21 19:24:49 +02:00
Jonathan Leroy
94a8b67a3b Fixes linting errors 2020-10-21 19:18:27 +02:00
Jonathan Leroy
12c3aa64a8 Add zones aliases support to octodns-compare command 2020-10-21 19:11:25 +02:00
Jonathan Leroy
06c18f4063 Add zones aliases support to octodns-report command 2020-10-21 19:11:02 +02:00
Jonathan Leroy
f2a6f870b4 Make each alias zone reference its target zone instead of listing all
aliases zones in the target zone configuration
2020-10-20 22:18:48 +02:00
Jonathan Leroy
7bf0b31367 Revert "Add support for zones aliases"
This reverts commit b926d78c5c.
2020-10-20 19:54:35 +02:00
Jonathan Leroy
2cc91ead71 Merge branch 'master' into zones-aliases 2020-10-20 19:51:56 +02:00
Phelps Williams
270fd9682f Merge branch 'master' into compare_filtering_and_exit_codes 2020-09-03 11:58:10 -07:00
Guillaume Gelin
31105cc472 Implement octodns-sync --source
It can be useful to only synchronize zones that use a certain source. For
example, in a situation where some zones use a dynamic source and others don't,
you probably want to synchronize those with a dynamic source regularly, and
only synchronize the others when a change is made.

Although we only synchronize the zones that use a given source, we still want
to synchronize all sources to avoid deleting records that would live in another
source of the zone.
2020-08-27 16:16:24 +02:00