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

Merge pull request #71 from github/route53-and-cloudflare-no-alias

Quick-fix disable ALIAS for Route53 & Cloudflare
This commit is contained in:
Ross McFarland
2017-06-20 08:44:21 -07:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -36,7 +36,7 @@ class CloudflareProvider(BaseProvider):
'''
SUPPORTS_GEO = False
# TODO: support SRV
UNSUPPORTED_TYPES = ('NAPTR', 'PTR', 'SOA', 'SRV', 'SSHFP')
UNSUPPORTED_TYPES = ('ALIAS', 'NAPTR', 'PTR', 'SOA', 'SRV', 'SSHFP')
MIN_TTL = 120
TIMEOUT = 15

View File

@@ -173,7 +173,7 @@ class Route53Provider(BaseProvider):
self._health_checks = None
def supports(self, record):
return record._type != 'SSHFP'
return record._type not in ('ALIAS', 'SSHFP')
@property
def r53_zones(self):