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
Ross McFarland
f252aa3b98
Merge remote-tracking branch 'origin/master' into python3-start
2019-10-05 07:20:47 -07:00
Ross McFarland
da09d9baaf
Modernize object cmp methods
2019-07-29 08:45:49 -07:00
Ross McFarland
a9d0eef3ba
Lots of text_type
2019-07-29 08:37:47 -07:00
Kitten King
daa6fecc9b
Fix Typos
2019-07-20 06:31:05 +00:00
Ross McFarland
003e8651ce
Drop dynamic record value weight to 0-16
...
That's all Dyn supports and it's cleaner to match it than to scale dyn since
we'd lose precision we can't get back during populate.
2019-07-16 06:14:45 -07:00
Peter Dave Hello
68580ac25b
Normalize CNAME/ALIAS/PTR value to lower-case
2019-04-17 23:43:01 +08:00
Peter Dave Hello
e0a8a619d6
Normalize MX exchange to lower-case, fix #322
2019-04-04 22:45:34 +08:00
Ross McFarland
d4c4c479c4
Ensure that dynamic and geo can't coexist
2018-12-19 10:56:53 -08:00
Ross McFarland
ad04cefd88
More robust __eq__ on _Dynamic objects
2018-12-19 10:56:03 -08:00
Ross McFarland
60911917b4
Implement Dync populate dynamic, flesh out testing for all but dyn
2018-12-14 11:33:50 -08:00
Ross McFarland
388e9a67e0
Hook up new GeoCodes validation to _DynamicMixin
2018-12-10 13:04:25 -08:00
Ross McFarland
a767a5cb25
Implement pool-level fallbacks and validations
2018-12-07 14:29:05 -08:00
Ross McFarland
ccd9038a38
Impliment Dynamic rule geo validation
2018-12-05 16:42:38 -08:00
Ross McFarland
e16648ab1f
Progress towards fully fleshed out pools & rules
2018-12-05 16:28:41 -08:00
Ross McFarland
b80348c2c7
Add __eq__, __ne__, and __repr__ to Dynamic objects and test
2018-12-03 16:46:18 -08:00
Ross McFarland
446f66f562
Implement _DynamicMixin's value objects, unit test them
2018-12-03 15:51:30 -08:00
Ross McFarland
70c35aac26
WIP implementation of dyanmic pools & rules validation
2018-12-03 14:28:30 -08:00
Ross McFarland
c9b373f0ae
Further clean up/division of labor and tests
2018-11-30 08:32:55 -08:00
Ross McFarland
2829862ea5
Major refactoring of record validation to better support (planned) complex/dynamic record types
2018-11-29 15:15:12 -08:00
Ross McFarland
3ea78af8e1
pycodestyle updates, mostly escaping \, couple r's, ignore break on binary
2018-04-15 09:58:36 -07:00
Ross McFarland
e6d8669611
Implement healthcheck protocol and port for Dyn
2018-03-31 14:31:15 -07:00
Ross McFarland
849a97f161
Add healthcheck protocol validation, HTTP or HTTPS
2018-03-31 13:35:48 -07:00
Ross McFarland
9752cb0a12
Add protocol and port to octodns.healthcheck configurables
2018-03-31 13:10:06 -07:00
Dirkjan Bussink
a7f6da96d3
Merge branch 'master' into configurable-geo-healthcheck
2018-03-22 08:51:51 +01:00
Josh Soref
5d2ba2e715
Spelling ( #214 )
...
* spelling: ancillary
* spelling: antarctica
* spelling: australia
* spelling: authentication
* spelling: continental
* spelling: constructor
* spelling: conversion
* spelling: creation
* spelling: doesn't
* spelling: easily
* spelling: efficiently
* spelling: equivalent
* spelling: essentially
* spelling: everything
* spelling: exactly
* spelling: be
* spelling: expensive
* spelling: supports
* spelling: healthcheck
* spelling: immediately
* spelling: ignored
* spelling: invocation
* spelling: itself
* spelling: leftovers
* spelling: missing
* spelling: natural
* spelling: nonexistent
* spelling: peculiarities
* spelling: pointing
This change hit a line length limitation, so I'm wrapping it and
adding a period which appears to match local style...
* spelling: quicker
* spelling: response
* spelling: requested
* spelling: redirect
* spelling: traffic
* spelling: unknown
* spelling: uploaded
* spelling: useful
* spelling: separately
* spelling: zone
2018-02-27 09:09:47 -08:00
Ross McFarland
093398ff94
Support for SSHFP ECDSA (3) and SHA-256 (2)
...
RFC 6594 & RFC 7479
2018-02-11 17:01:38 -08:00
Ross McFarland
af435c3130
Handle MX preference of 0
2018-01-21 06:31:37 -08:00
Adam Smith
bf1896329b
validate values for empty string or None value
...
dump does not write invalid value(s) to yaml
2017-10-29 10:37:18 -07:00
Ross McFarland
bf4f7dd42d
Allow enabling lenient on a per-record basis with octodns.lenient
...
```
---
'':
octodns:
ignored: True
lenient: True
type: CNAME # not valid to have a root cname
value: foo.com.
2017-10-26 06:30:38 -05:00