Add domain search

This commit is contained in:
Matteo Bertucci
2021-01-14 17:29:14 +01:00
parent d44c8d0a71
commit ad68d13078
2 changed files with 99 additions and 14 deletions

View File

@ -5,3 +5,9 @@ DEFAULT_DELAY = "5 minutes"
BASE_ENDPOINT = "https://api.cloudflare.com/client/v4/"
VERIFY_TOKEN = BASE_ENDPOINT + "user/tokens/verify"
LIST_ZONES = BASE_ENDPOINT + "zones"
LIST_DNS = BASE_ENDPOINT + "zones/{zone_identifier}/dns_records"
# Utilities
ACCEPTED_RECORDS = ('A', 'AAAA')