Ross McFarland
e1d262a301
Add a validation requiring single value weight=1
5 years ago
Viranch Mehta
cca288faa6
log warning when non-1 weight is set for single-value pools
5 years ago
Viranch Mehta
1b5bf75c58
drop method names from exceptions
5 years ago
Viranch Mehta
5df2077ed0
clarify the limitations and caveats of azure dynamic records
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
Viranch Mehta
d619025040
Support dynamic records in Azure DNS
5 years ago
omar
758c7fab61
Fix the last test.
5 years ago
omar
93de918e01
Fix lint, requirements.txt, and all the tests but one.
5 years ago
omar
ebfb9355b1
Update the AzureProvider to support azure-mgmt-dns 8.0.0 and azure-identity.
5 years ago
Viranch Mehta
6d7cab43e8
Rename data/params for dynamic methods
5 years ago
Viranch Mehta
15eb23eeb6
Trim trailing dot from CNAME answers for NS1 monitors
5 years ago
Viranch Mehta
40569945d2
Add support for dynamic CNAME records in NS1
5 years ago
Ross McFarland
58c7f431e8
v0.9.12 version bump and CHANGELOG update
5 years ago
Ricard Bejarano
f8aa4c8df5
minor correctness change (unnecessary .format() call)
5 years ago
Ricard Bejarano
d4c6836d0b
implemented HetznerProvider.zone_metadata as the equivalent to zone_records for zone metadata
5 years ago
Ricard Bejarano
a0c4e9ecd7
simplified HetznerClient by removing unused pagination handling
5 years ago
Ross McFarland
540fb27263
Clean up and test OwnershipProcessor
5 years ago
Ross McFarland
f387a61561
Allow/reject use sets and now have tests
5 years ago
Ross McFarland
716d068196
Backwards compat for plan overrides, 100% manager coverage, singular processor module name
5 years ago
Ricard Bejarano
0de9efd032
removed unused HetznerClient methods to fix imparial coverage
5 years ago
Ross McFarland
7832fb8809
Better name for _create_zone
5 years ago
Ross McFarland
fbd8389903
Tests for new-style ns1 data_for_dynamic_A fallback only pools
5 years ago
Ricard Bejarano
3f3d500152
fixed missing whitespace in plan() debug logging
When debug logging is enabled, the plan() function logs lines like:
<previous output>
Plan: DEBUG: __init__: Creates=13, Updates=0, Deletes=0Existing=0
<following output>
Where a space between "Deletes=0" and "Existing=0" is missing.
This adds it.
5 years ago
Ricard Bejarano
fe74c46213
made hetzner.HetznerProvider._do Mock-able for testing purposes making it a wrapper for _do_raw
5 years ago
Ross McFarland
078576520d
Rework NS1 pool handling to support fallback-only pools
5 years ago
Ross McFarland
b55a647e6e
Remove redudant pools_seen.add(pool) call
5 years ago
Ross McFarland
e90aeb5d34
pools used as fallbacks should count as seen
5 years ago
Cadu Ribeiro
3451c79c6a
Change DNSimple's Provider to query zones instead domains
A quick summary of a problem with have with DNSimple provider:
Let's suppose that I have the following config:
zones:
30.114.195.in-addr.arpa.:
sources:
- config
targets:
- dnsimple
Even if a customer has this Reverse zone configured in DNSimple, this
fails with:
400 Bad Request for url: https://api.sandbox.dnsimple.com/v2/x/domains
because it is trying to create a domain because the zone wasn't found.
octodns.provider.dnsimple.DnsimpleClientNotFound: Not found
This happens because the GET /domains endpoint at DNSimple does not
bring Reverse Zones. To make this work nice, we should use /zones/
instead making it return properly the reverse zones.
5 years ago
Ricard Bejarano
1a2cb50c63
fixed potential KeyError when record ttl field is missing
5 years ago
Yaroshevich, Denis
04d87fdf35
allow to customize token_type, since there are two types of tokens: permanent (APIKey) and JWT (Bearer)
5 years ago
Yaroshevich, Denis
0ff933244a
allow to pass login/password which will be used to acquire token for further usage
5 years ago
Ricard Bejarano
f507349ce5
implemented HetznerProvider
5 years ago
Ricard Bejarano
7c44e5eedc
fixed DigitalOcean provider issue with CAA records as reported here: https://github.com/octodns/octodns/pull/691#issuecomment-819228150
5 years ago
Ricard Bejarano
8a9743b36e
added HetznerClient._replace_at to address the "@"/"" record name problem
5 years ago
Ricard Bejarano
c8e91c1e11
added HetznerClient docstring
5 years ago
Ricard Bejarano
c71784b0e8
initial work on Hetzner provider
- implemented HetznerClient API class
- tested manually, lacking formal tests
5 years ago
Yaroshevich, Denis
988e8d27fb
fix populate for multiple resource records in single rrset
5 years ago
Christian Funkhouser
ada61f8d76
De-lint an aggressively-long log line
5 years ago
Christian Funkhouser
aa93e20f2e
Represent plan_output_fh less verbosely.
Co-authored-by: Ross McFarland <ross@github.com>
5 years ago
Christian Funkhouser
2075550f07
Test that Manager passes fh to _PlanOutputs
5 years ago
Christian Funkhouser
090dbe3515
sync accepts file handle for plan output
5 years ago
Maikel Poot
840cb03bf4
Fix lint error
5 years ago
Maikel Poot
374a5c62f2
Enable NS support for non-root NS records
5 years ago
Scott Little
a99c71b3e5
Change the auth value to have a proper string not a binary rep
5 years ago
Yaroshevich, Denis
70555ed546
add new API parameter has been added to fetch all resource records
5 years ago
Yaroshevich, Denis
ac56a36f43
multiple resource records values should be sent as separate 'content'-s
5 years ago
Yaroshevich, Denis
04a9b2b9b8
add logging for all apply actions, instead of in case of error(s)
5 years ago
Yaroshevich, Denis
2f90ce4756
add more information in logs when RR create/update/delete fail
5 years ago
Yaroshevich, Denis
88b003130e
fix API incorrect behaviour while returning records data: API always must return type in upper case, but at this moment it returns record type as it was provided on record creation
5 years ago
Yaroshevich, Denis
d688c6123a
Added G-Core DNS API v2 provider with support of A, AAAA records
5 years ago