Commit Graph

539 Commits

Author SHA1 Message Date
Mark Tearle 5d23977bbd Adjust remaining unit tests due to extra records in test zone 2021-02-15 22:46:22 +08:00
Mark Tearle 84a0c089d4 Warn that NULL SRV records are unsupported in DNS Made Easy provider 2021-02-15 22:33:12 +08:00
Mark Tearle 2cd5511dc6 Warn that NULL SRV records are unsupported in DNSimple provider
DNSimple does not handle NULL SRV records correctly (either via
their web interface or API).  Flag to end user if attempted.

Issue noted with DNSimple support 2020-12-09
2021-02-15 22:33:04 +08:00
Mark Tearle e0d79f826f Update Edge DNS tests and fixtures for NULL SRV records
Thanks to @jdgri for assisting with API tests to confirm support
2021-02-15 22:33:02 +08:00
Mark Tearle fb197b890e Update Mythic Beasts tests and fixtures for NULL SRV records
Thanks to @pwaring for assisting with API tests to confirm support,
and reaching out to Mythic Beasts to obtain a fix
2021-02-15 22:33:00 +08:00
Mark Tearle 909c7ad7e8 Update EasyDNS tests and fixtures for NULL SRV records
Thanks to @actazen for assisting with API tests to confirm support
2021-02-15 22:32:58 +08:00
Mark Tearle ae65311a96 Update Constellix tests and fixtures for NULL SRV records
Thanks to @yzguy for assisting with API tests to confirm support
2021-02-15 22:32:56 +08:00
Mark Tearle 4105fb7ee7 Update Gandi tests and fixtures for NULL SRV records
Thanks to @yzguy for assisting with API tests to confirm support
2021-02-15 22:32:54 +08:00
Mark Tearle 876a5b46f3 Update PowerDNS tests and fixtures for NULL SRV records 2021-02-15 22:24:39 +08:00
Mark Tearle 39412924da Fix handling of NULL SRV records in DigitalOcean provider 2021-02-15 22:24:26 +08:00
Mark Tearle 403be8bb83 Fix handling of NULL SRV records in Cloudflare provider 2021-02-15 22:23:45 +08:00
Mark Tearle 45d5da23cf Add NULL SRV record examples to unit tests 2021-02-15 21:24:53 +08:00
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