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

97 Commits

Author SHA1 Message Date
Ross McFarland
16e0bd0675 Testing of Zone and Record name/decoded_name handling 2022-08-20 11:55:19 -07:00
Ross McFarland
55b9701837 IdnaError exception handling, ensure validation happens on encoded names 2022-08-20 09:40:54 -07:00
Ross McFarland
e116d26eec Implement black formatting 2022-07-04 12:27:39 -07:00
Kian-Meng Ang
04b7bf0ac2 Fix typos 2022-05-29 13:16:01 +08: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
Ross McFarland
5827e23d22 Simplify Record.register_type. Values?Mixin public 2022-03-18 19:05:00 -07:00
Ross McFarland
ea5000e191 Real testing of register_type 2022-03-16 12:26:29 -07:00
Ross McFarland
7f98d9dfca Base of Record type registration 2022-03-16 09:58:44 -07:00
Ross McFarland
cdcaef8f2b Order changes: deletes, creates, updates 2022-03-04 14:18:23 -08:00
Ross McFarland
2564e4aebe Fix handling of null MX records and add test for behavior 2022-02-15 07:53:39 -08:00
Ross McFarland
99da4abd9f Include a CNAMe test for url with path too 2022-02-04 15:50:25 -08:00
Ross McFarland
f2b3505d43 Falidate record fields that should hold FQDNs w/tests 2022-02-04 15:04:18 -08:00
Ross McFarland
f62b4113c9 Test that CNAME does not allow url and fqdn w/path 2022-02-04 14:39:27 -08:00
Ross McFarland
9e51a4600f Extract RackspaceProvider from octoDNS core 2022-01-14 13:47:10 -08:00
Ross McFarland
3ed6d743e6 Switch to pytests, add a tiny bit of smoke test coverage to get something coverage no longer gets 2022-01-13 14:26:30 -08:00
Ross McFarland
32c358af04 Quell all python warnings, mostly *Equals -> Equal and warn -> warning 2022-01-13 10:58:07 -08:00
Ross McFarland
d280e0850c Add a validation to catch name=@ and suggest name='' instead 2021-12-31 08:48:47 -08:00
Viranch Mehta
8d95d05f5f Bump upper limit on weights 2021-10-12 13:04:26 -07:00
Viranch Mehta
e3f76e562e Add tests for full coverage 2021-09-27 19:42:51 -07:00
Viranch Mehta
787ce7ccc8 Add the default status in tests to make them pass 2021-09-27 18:31:38 -07:00
Ross McFarland
08c9925458 Merge branch 'master' into record-copy-octodns 2021-09-21 16:04:49 -07:00
Viranch Mehta
7d7a1361b2 Retain octodns settings on record copy 2021-09-21 02:47:59 -07:00
Ross McFarland
aae65594f2 Remove explicit use of six 2021-09-17 07:10:07 -07:00
Ross McFarland
9156bdaea0 f-strings for tests pass 1 2021-09-16 16:16:01 -07:00
Ross McFarland
074de66988 Normalize IP addresses 2021-08-19 18:18:07 -07:00
Viranch Mehta
6e9ce3ac3c pick first PTR value instead of erroring out 2021-08-16 16:39:23 -07:00
Viranch Mehta
49bff426b7 Multi-value PTR records 2021-08-12 21:43:01 -07:00
Brian E Clow
2a6480bc05 Adding URLFWD record testing 2021-07-22 14:32:09 -07:00
Sham
53608cbcf9 Merge branch 'octodns:master' into sham/issue-710 2021-06-10 00:26:30 -07:00
Ross McFarland
abef3202a0 Merge branch 'master' into azuredns-dynamic 2021-05-17 17:26:29 -07:00
Ross McFarland
e1d262a301 Add a validation requiring single value weight=1 2021-05-17 17:06:40 -07:00
Viranch Mehta
9b5c8be01e optimize by not creating traffic manager for single-value pools
If single-value pools have a weight defined, it will be lost by this
optimization. Next time octodns-sync is run, it will show an update for
setting the weight on remote. To overcome this, this commit includes a
change to Record object that ignores the weight in single-value pools.
2021-05-12 10:03:34 -07:00
Mark Tearle
9d4bd0aaec Add support for LOC records 2021-02-09 20:41:37 +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
Guillaume Gelin
9c20d0015b Fix name length validation
Closes #626
2020-11-16 15:35:57 +01:00
Ross McFarland
7958a6e1d1 Merge remote-tracking branch 'origin/master' into alias-root-only 2020-11-02 13:47:23 -08:00
Ross McFarland
19798e3acf Only allow ALIAS on APEX 2020-11-02 07:26:07 -08:00
Jonathan Leroy
a2aa98377d Add tests for Record.copy() 2020-10-31 10:57:14 +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
de51e5f531 Add support for DNAME records 2020-10-26 22:18:35 +01:00
Justin B Newman
427b8a1a06 Add support for wildcard SRV records, as shown in RFC 2782 2020-07-20 12:48:47 -05:00
Lance Hudson
e477f9f888 Add the ability to mark a zone as lenient 2020-06-11 20:11:12 -04:00
Ross McFarland
827b44daba Add TCP health check support to Record 2020-05-08 07:50:02 -07:00
Ross McFarland
54699e05ce dynamic validation tweak, allow reuse of pool if 2nd occur is a default 2020-04-02 10:51:42 -07:00
Ross McFarland
d35c136858 Warn about unused pools, ones not referenced by a rule 2020-03-20 13:32:37 -07:00
Ross McFarland
aa58631dcd Validate dynamic rules do not reuse pools 2020-03-20 13:15:14 -07:00
Ross McFarland
9e948aa4c8 Validate Record name & fqdn length 2019-10-18 10:36:14 -07:00
Ross McFarland
c82e94792e RackspaceProvider python3, value types hashing 2019-10-07 07:47:43 -07:00