You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Furthermore, the code just above (url = "{0}/{1}".format(base_url, zone)) does not take into account the (intentionally unspecified) encoding the API uses for zone names in URLs. I am unsure there is an official way to check for presence of a zone, other than listing all zones.
The text was updated successfully, but these errors were encountered:
In
def zone_exists
:but since PowerDNS/pdns@77bfe8d, the API uses 404 to indicate domain not found.
Furthermore, the code just above (
url = "{0}/{1}".format(base_url, zone)
) does not take into account the (intentionally unspecified) encoding the API uses for zone names in URLs. I am unsure there is an official way to check for presence of a zone, other than listing all zones.The text was updated successfully, but these errors were encountered: