Ross McFarland
f2b3505d43
Falidate record fields that should hold FQDNs w/tests
2022-02-04 15:04:18 -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
Ross McFarland
8c0065b7c6
Merge branch 'master' into pool-value-up
2021-09-21 16:07:45 -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
Viranch Mehta
f2164f3a92
fix status validation
2021-09-21 02:14:07 -07:00
Viranch Mehta
ee517587a9
add validation for status flag
2021-09-21 02:04:52 -07:00
Viranch Mehta
43e02c916c
enum for status flag of pool values
2021-09-21 01:54:55 -07:00
Viranch Mehta
1c531a9281
Force enable/disable pool values
2021-09-17 11:20:42 -07:00
Ross McFarland
aae65594f2
Remove explicit use of six
2021-09-17 07:10:07 -07:00
Ross McFarland
6b052feaa4
Switch record to use python 3 f-strings
2021-09-02 03:29:53 -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
ec41e0377e
multi-value PTR tests for Azure
2021-08-12 22:15:46 -07:00
Viranch Mehta
49bff426b7
Multi-value PTR records
2021-08-12 21:43:01 -07:00
Brian E Clow
8ca7070186
Formatting, lingering pr comments, fixing resulting errors
2021-07-23 15:03:51 -07:00
Brian E Clow
5e2f7d4384
Removing the TODO note from record
2021-07-22 15:26:21 -07:00
Brian E Clow
5361cadd1c
Adding URLFWD to record framework
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
cca288faa6
log warning when non-1 weight is set for single-value pools
2021-05-17 13:19:43 -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
Ross McFarland
b55a647e6e
Remove redudant pools_seen.add(pool) call
2021-04-26 06:36:05 -07:00
Ross McFarland
e90aeb5d34
pools used as fallbacks should count as seen
2021-04-22 18:45:14 -07:00
Mark Tearle
9d4bd0aaec
Add support for LOC records
2021-02-09 20:41:37 +08:00
Ross McFarland
cda56a3ca7
Force the value passed to FQDN to be a str
2021-02-04 10:48:45 -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
Jonathan Leroy
bb7a1a43b7
Implement suggested changes
2020-11-02 18:42:03 +01:00
Ross McFarland
19798e3acf
Only allow ALIAS on APEX
2020-11-02 07:26:07 -08:00
Jonathan Leroy
a1e62281f6
Fixes record copy when record is a child class of Record and as no record
...
type specified in its data
2020-10-31 10:54:17 +01:00
Jonathan Leroy
0b3a99bb8c
Implement Record.copy() function
...
Flip if in _populate_and_plan()
2020-10-31 09:38:35 +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
9989134286
Merge branch 'master' into patch-3
2020-06-19 15:40:34 -04:00
Dan Hanks
41b3018a79
Change continent code for Timor Leste
2020-06-17 14:44:51 -04:00
Lance Hudson
e477f9f888
Add the ability to mark a zone as lenient
2020-06-11 20:11:12 -04:00
Dan Hanks
07279e4804
Add Canadian provinces to geo_data.py
2020-06-03 11:10:54 -04:00
Dan Hanks
559a3994e6
Fix comment < 80 chars
2020-06-03 10:07:35 -04:00
Dan Hanks
1569d94513
Add support for geo-targeting of CA provinces
...
- For providers that support such
2020-06-03 10:04:53 -04:00
Ross McFarland
87a7595eae
Update geo_data to pick up a couple renames
2020-06-02 15:51:41 -07: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