Ross McFarland
4ce2563d2e
Remove the rest of the . ending files, clean up code and tests for better coverage
2021-01-28 13:24:35 -08:00
Ross McFarland
dd1dbfbfdd
Rework copyfile and skip based on feedback from windows test
2021-01-28 12:23:13 -08:00
Ross McFarland
37381bd274
Skip the axfr default name test if we can't create the needed tests file
2021-01-25 15:50:34 -08:00
Ross McFarland
ea943e606e
Avoid . on the end of files, but still test axfr default
2021-01-25 15:45:23 -08:00
Ross McFarland
97feaa7823
Rename extention zonefile test to avoid existing unit.tests.
2021-01-25 15:32:30 -08:00
Ross McFarland and GitHub
9e04076d5f
Merge branch 'master' into azuredns_txt
2021-01-23 09:09:12 -08:00
Adam Smith
b2eab63d54
ZoneFileSource: allow users to specify file extension
2021-01-08 20:02:37 -08:00
Piotr Pieprzycki
7fe72f0061
Remove blank lines
2021-01-04 09:14:58 +01:00
Piotr Pieprzycki and GitHub
7afedb9893
Merge branch 'master' into azuredns_txt
2021-01-04 08:55:18 +01:00
Marc 'risson' Schmitt
2b454ccc22
manager: error when an alias zone is synced without its source
...
Signed-off-by: Marc 'risson' Schmitt <[email protected] >
2020-12-17 15:23:22 +01:00
Nikolay Denev
9549a0dec9
Ignore records with unsupported rrtypes and log warning.
2020-12-10 22:31:33 +00:00
Ross McFarland
a7bb6a306c
Remove corresponding nbsp's from manager tests
2020-12-10 08:39:31 -08:00
0xflotus and GitHub
870c1209d3
Update test_octodns_provider_gandi.py
2020-12-08 09:51:10 +01:00
Ross McFarland
e4d6084b4c
POC of processors concept that can hook in to modify zones
2020-12-03 17:50:56 -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
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
Jonathan Leroy and GitHub
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 and GitHub
729fd01dbf
Merge branch 'master' into gandi-provider
2020-11-02 19:13:12 +01:00
Jonathan Leroy
05ce134454
Add tests for zone creation
2020-11-02 18:02:15 +01:00
Jonathan Leroy
dc9dc45ae6
Fixes tests after merging of #620
2020-11-02 18:00:48 +01:00
Jonathan Leroy and GitHub
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
9a4812223e
Add missing empty line
2020-10-31 20:19:09 +01:00
Jonathan Leroy
038ae42284
Add comments and fixes some tests
2020-10-31 20:16:26 +01:00
Jonathan Leroy
a6d8848fad
Fixes linting issues
2020-10-31 14:19:43 +01:00
Jonathan Leroy
b0da090723
Add test for alias zones
2020-10-31 14:09:54 +01:00
Jonathan Leroy
a2aa98377d
Add tests for Record.copy()
2020-10-31 10:57:14 +01:00
Jonathan Leroy
4fb102e4be
Fixes tests related to _populate_and_plan()
2020-10-31 09:44:06 +01:00
Jonathan Leroy and GitHub
04a2d7a585
Merge branch 'master' into zones-aliases
2020-10-28 16:24:40 +01:00
Jonathan Leroy
eec4c4f81c
Remove support for dynamic DNAME records as no provider currently
...
support them
2020-10-27 20:31:57 +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
7161baa262
Fixes code coverage for unsupported records types
2020-10-26 23:23:32 +01:00
Jonathan Leroy
bfaafeb61b
Fixes value of "rrset_name" parameter for domain APEX
2020-10-26 23:10:36 +01:00
Jonathan Leroy
de51e5f531
Add support for DNAME records
2020-10-26 22:18:35 +01:00
Jonathan Leroy
3f85244264
Fixes incorrect domain name in gandi-no-changes.json
2020-10-26 20:30:15 +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
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 and GitHub
2cc91ead71
Merge branch 'master' into zones-aliases
2020-10-20 19:51:56 +02:00
mintopia
e89f309179
Ensure pool caching works for Constellix Provider
...
The caching of pools for the Constellix provider will now cache based
on the type of pool and the name. Previously it was caching based on
the name only.
2020-10-16 17:59:10 +01:00
mintopia
ce46758790
Add support for dynamic records to Constellix provider
2020-10-01 00:36:25 +01:00
mintopia
5158d28b03
Update endpoint for Constellix provider to only include /domains when working on domain and record resources.
...
In order to add support for pools and other API resources from Constellix, we need to update the base URL to not contain domains and instead specify this where it's needed.
2020-09-10 23:52:23 +01: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