Commit Graph

527 Commits

Author SHA1 Message Date
Ross McFarland 858628a867 Update yaml test path to work on windows 2021-02-05 12:06:46 -08:00
Ross McFarland f9cbf81817 Merge branch 'master' into fix-windows-filename-problems 2021-02-05 12:04:31 -08:00
Robert Reichel ec0b309437 Remove unused client ref 2021-02-02 13:34:15 -05:00
Robert Reichel 290a630303 Update test_octodns_provider_azuredns.py 2021-02-02 13:29:52 -05:00
Robert Reichel c83e765acc Merge branch 'rreichel3/lazy-load-azuredns-client' of https://github.com/rreichel3/octodns into rreichel3/lazy-load-azuredns-client 2021-02-02 13:26:30 -05:00
Robert Reichel d94db03f5b Fix lint 2021-02-02 13:26:28 -05:00
Robert Reichel 9056c781c2 Merge branch 'master' into rreichel3/lazy-load-azuredns-client 2021-02-02 13:23:30 -05:00
Robert Reichel 950090bb54 Update test_octodns_provider_azuredns.py 2021-02-02 13:23:02 -05:00
Robert Reichel 1982fbddac Update patching 2021-02-02 13:18:04 -05:00
Robert Reichel c2c05a761e Fix patching 2021-02-02 13:14:29 -05:00
Ross McFarland c0000ee627 Merge branch 'master' into rreichel3/azure-dns-zones-improvement 2021-01-31 09:24:56 -08:00
Robert Reichel f79ad89e82 Continue linter appeasement 2021-01-29 15:22:13 -05:00
Robert Reichel 83cc7fbe1a Appease the linter 2021-01-29 15:19:19 -05:00
Robert Reichel a8505d66f1 Improve checking and creating Azure DNS Zones
This change improves the process for checking for AzureDNS zones by using the known set and not relying upon custom error handling.

Since the provider already fetches the zones, octodns doesn't need to make a second call to check for the existence of the zone - _populate_zones already does that for us.
2021-01-29 15:11:27 -05:00
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 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 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 <marc.schmitt@risson.space>
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 870c1209d3 Update test_octodns_provider_gandi.py 2020-12-08 09:51:10 +01: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 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 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 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 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