Ross McFarland
f2b3505d43
Falidate record fields that should hold FQDNs w/tests
4 years ago
Ross McFarland
f62b4113c9
Test that CNAME does not allow url and fqdn w/path
4 years ago
Ross McFarland
9e51a4600f
Extract RackspaceProvider from octoDNS core
4 years ago
Ross McFarland
3ed6d743e6
Switch to pytests, add a tiny bit of smoke test coverage to get something coverage no longer gets
4 years ago
Ross McFarland
32c358af04
Quell all python warnings, mostly *Equals -> Equal and warn -> warning
4 years ago
Ross McFarland
d280e0850c
Add a validation to catch name=@ and suggest name='' instead
4 years ago
Viranch Mehta
8d95d05f5f
Bump upper limit on weights
4 years ago
Viranch Mehta
e3f76e562e
Add tests for full coverage
4 years ago
Viranch Mehta
787ce7ccc8
Add the default status in tests to make them pass
4 years ago
Viranch Mehta
7d7a1361b2
Retain octodns settings on record copy
4 years ago
Ross McFarland
aae65594f2
Remove explicit use of six
4 years ago
Ross McFarland
9156bdaea0
f-strings for tests pass 1
4 years ago
Ross McFarland
074de66988
Normalize IP addresses
4 years ago
Viranch Mehta
6e9ce3ac3c
pick first PTR value instead of erroring out
4 years ago
Viranch Mehta
49bff426b7
Multi-value PTR records
4 years ago
Brian E Clow
2a6480bc05
Adding URLFWD record testing
5 years ago
Ross McFarland
e1d262a301
Add a validation requiring single value weight=1
5 years ago
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.
5 years ago
Mark Tearle
9d4bd0aaec
Add support for LOC records
5 years ago
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
5 years ago
Guillaume Gelin
9c20d0015b
Fix name length validation
Closes #626
5 years ago
Ross McFarland
19798e3acf
Only allow ALIAS on APEX
5 years ago
Jonathan Leroy
a2aa98377d
Add tests for Record.copy()
5 years ago
Jonathan Leroy
eec4c4f81c
Remove support for dynamic DNAME records as no provider currently
support them
5 years ago
Jonathan Leroy
de51e5f531
Add support for DNAME records
5 years ago
Justin B Newman
427b8a1a06
Add support for wildcard SRV records, as shown in RFC 2782
5 years ago
Lance Hudson
e477f9f888
Add the ability to mark a zone as lenient
6 years ago
Ross McFarland
827b44daba
Add TCP health check support to Record
6 years ago
Ross McFarland
54699e05ce
dynamic validation tweak, allow reuse of pool if 2nd occur is a default
6 years ago
Ross McFarland
d35c136858
Warn about unused pools, ones not referenced by a rule
6 years ago
Ross McFarland
aa58631dcd
Validate dynamic rules do not reuse pools
6 years ago
Ross McFarland
9e948aa4c8
Validate Record name & fqdn length
6 years ago
Ross McFarland
c82e94792e
RackspaceProvider python3, value types hashing
6 years ago
Ross McFarland
da09d9baaf
Modernize object cmp methods
6 years ago
Ross McFarland
a9d0eef3ba
Lots of text_type
6 years ago
Kitten King
daa6fecc9b
Fix Typos
6 years ago
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.
7 years ago
Peter Dave Hello
68580ac25b
Normalize CNAME/ALIAS/PTR value to lower-case
7 years ago
Peter Dave Hello
e0a8a619d6
Normalize MX exchange to lower-case, fix #322
7 years ago
Jörg Runkel
54787529d5
Move measure_latency option to Route53 provider
7 years ago
Jörg Runkel
1794f5ccd6
Add healthcheck option 'measure_latency' for Route53 provider
Route53 allows to monitor latency information on the dashboard
and using CloudWatch. While that is a nice to have function,
it is not necessary for a DNS failover scenario and increases
Route 53 costs.
To maintain backward compatibility, the default for this option
when ommited is true.
7 years ago
Ross McFarland
d4c4c479c4
Ensure that dynamic and geo can't coexist
7 years ago
Ross McFarland
ad04cefd88
More robust __eq__ on _Dynamic objects
7 years ago
Ross McFarland
60911917b4
Implement Dync populate dynamic, flesh out testing for all but dyn
7 years ago
Ross McFarland
388e9a67e0
Hook up new GeoCodes validation to _DynamicMixin
7 years ago
Ross McFarland
a767a5cb25
Implement pool-level fallbacks and validations
7 years ago
Ross McFarland
ccd9038a38
Impliment Dynamic rule geo validation
7 years ago
Ross McFarland
e16648ab1f
Progress towards fully fleshed out pools & rules
7 years ago
Ross McFarland
b80348c2c7
Add __eq__, __ne__, and __repr__ to Dynamic objects and test
7 years ago
Ross McFarland
446f66f562
Implement _DynamicMixin's value objects, unit test them
7 years ago