Repository: AnalogJ/lexicon

Issue:
PowerDNS dot notation
From PowerDNS 4.2 onwards, undotted notation is not supported.
From PowerDNS >=4.0 but <=4.1 the dotted notation is _optional_.

I suggest we implement the dotted notation _by default_ since that will work with both dotted and undotted versions. 

We could have a flag to turn this behavior for those running some legacy versions (which doesn't support dotted notation) or simply add support for PowerDNS >=4.0.


Discussion:

Resolving patch:
diff --git a/lexicon/providers/powerdns.py b/lexicon/providers/powerdns.py
--- a/lexicon/providers/powerdns.py
+++ b/lexicon/providers/powerdns.py
@@ -86,7 +86,7 @@ def notify_slaves(self):
     def zone_data(self):
         """Get zone data"""
         if self._zone_data is None:
-            self._zone_data = self._get('/zones/' + self.domain).json()
+            self._zone_data = self._get('/zones/' + self._ensure_dot(self.domain)).json()
         return self._zone_data
 
     def _authenticate(self):
@@ -169,7 +169,7 @@ def _create_record(self, rtype, name, content):
         request = {'rrsets': [updated_data]}
         LOGGER.debug('request: %s', request)
 
-        self._patch('/zones/' + self.domain, data=request)
+        self._patch('/zones/' + self._ensure_dot(self.domain), data=request)
         self.notify_slaves()
         self._zone_data = None
         return True
@@ -205,8 +205,9 @@ def _delete_record(self, identifier=None, rtype=None, name=None, content=None):
         request = {'rrsets': [update_data]}
         LOGGER.debug('request: %s', request)
 
-        self._patch('/zones/' + self.domain, data=request)
+        self._patch('/zones/' + self._ensure_dot(self.domain), data=request)
         self.notify_slaves()
+
         self._zone_data = None
         return True
 
@@ -231,3 +232,12 @@ def _request(self, action='GET', url='/', data=None, query_params=None):
         LOGGER.debug('response: %s', response.text)
         response.raise_for_status()
         return response
+
+    @classmethod
+    def _ensure_dot(cls, text):
+        """
+        This function makes sure a string contains a dot at the end
+        """
+        if text.endswith("."):
+            return text
+        return text + "."


Test patch:
diff --git a/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_authenticate.yaml b/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_authenticate.yaml
--- a/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_authenticate.yaml
+++ b/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_authenticate.yaml
@@ -15,7 +15,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
diff --git a/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_create_record_for_A_with_valid_name_and_content.yaml b/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_create_record_for_A_with_valid_name_and_content.yaml
--- a/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_create_record_for_A_with_valid_name_and_content.yaml
+++ b/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_create_record_for_A_with_valid_name_and_content.yaml
@@ -15,7 +15,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
@@ -63,7 +63,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: PATCH
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: ''
diff --git a/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_create_record_for_CNAME_with_valid_name_and_content.yaml b/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_create_record_for_CNAME_with_valid_name_and_content.yaml
--- a/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_create_record_for_CNAME_with_valid_name_and_content.yaml
+++ b/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_create_record_for_CNAME_with_valid_name_and_content.yaml
@@ -15,7 +15,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
@@ -66,7 +66,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: PATCH
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: ''
diff --git a/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_create_record_for_TXT_with_fqdn_name_and_content.yaml b/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_create_record_for_TXT_with_fqdn_name_and_content.yaml
--- a/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_create_record_for_TXT_with_fqdn_name_and_content.yaml
+++ b/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_create_record_for_TXT_with_fqdn_name_and_content.yaml
@@ -15,7 +15,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
@@ -68,7 +68,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: PATCH
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: ''
diff --git a/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_create_record_for_TXT_with_full_name_and_content.yaml b/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_create_record_for_TXT_with_full_name_and_content.yaml
--- a/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_create_record_for_TXT_with_full_name_and_content.yaml
+++ b/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_create_record_for_TXT_with_full_name_and_content.yaml
@@ -15,7 +15,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
@@ -70,7 +70,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: PATCH
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: ''
diff --git a/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_create_record_for_TXT_with_valid_name_and_content.yaml b/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_create_record_for_TXT_with_valid_name_and_content.yaml
--- a/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_create_record_for_TXT_with_valid_name_and_content.yaml
+++ b/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_create_record_for_TXT_with_valid_name_and_content.yaml
@@ -15,7 +15,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
@@ -72,7 +72,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: PATCH
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: ''
diff --git a/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_create_record_multiple_times_should_create_record_set.yaml b/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_create_record_multiple_times_should_create_record_set.yaml
--- a/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_create_record_multiple_times_should_create_record_set.yaml
+++ b/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_create_record_multiple_times_should_create_record_set.yaml
@@ -15,7 +15,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
@@ -74,7 +74,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: PATCH
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: ''
@@ -116,7 +116,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
@@ -178,7 +178,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: PATCH
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: ''
diff --git a/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_create_record_with_duplicate_records_should_be_noop.yaml b/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_create_record_with_duplicate_records_should_be_noop.yaml
--- a/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_create_record_with_duplicate_records_should_be_noop.yaml
+++ b/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_create_record_with_duplicate_records_should_be_noop.yaml
@@ -15,7 +15,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
@@ -76,7 +76,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: PATCH
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: ''
@@ -118,7 +118,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
@@ -181,7 +181,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: PATCH
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: ''
@@ -223,7 +223,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
diff --git a/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_delete_record_by_filter_should_remove_record.yaml b/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_delete_record_by_filter_should_remove_record.yaml
--- a/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_delete_record_by_filter_should_remove_record.yaml
+++ b/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_delete_record_by_filter_should_remove_record.yaml
@@ -15,7 +15,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
@@ -78,7 +78,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: PATCH
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: ''
@@ -120,7 +120,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
@@ -184,7 +184,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: PATCH
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: ''
@@ -226,7 +226,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
diff --git a/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_delete_record_by_filter_with_fqdn_name_should_remove_record.yaml b/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_delete_record_by_filter_with_fqdn_name_should_remove_record.yaml
--- a/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_delete_record_by_filter_with_fqdn_name_should_remove_record.yaml
+++ b/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_delete_record_by_filter_with_fqdn_name_should_remove_record.yaml
@@ -15,7 +15,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
@@ -78,7 +78,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: PATCH
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: ''
@@ -120,7 +120,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
@@ -184,7 +184,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: PATCH
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: ''
@@ -226,7 +226,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
diff --git a/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_delete_record_by_filter_with_full_name_should_remove_record.yaml b/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_delete_record_by_filter_with_full_name_should_remove_record.yaml
--- a/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_delete_record_by_filter_with_full_name_should_remove_record.yaml
+++ b/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_delete_record_by_filter_with_full_name_should_remove_record.yaml
@@ -15,7 +15,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
@@ -78,7 +78,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: PATCH
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: ''
@@ -120,7 +120,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
@@ -184,7 +184,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: PATCH
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: ''
@@ -226,7 +226,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
diff --git a/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_delete_record_by_identifier_should_remove_record.yaml b/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_delete_record_by_identifier_should_remove_record.yaml
--- a/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_delete_record_by_identifier_should_remove_record.yaml
+++ b/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_delete_record_by_identifier_should_remove_record.yaml
@@ -15,7 +15,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
@@ -78,7 +78,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: PATCH
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: ''
@@ -120,7 +120,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
@@ -184,7 +184,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: PATCH
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: ''
@@ -226,7 +226,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
diff --git a/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_delete_record_with_record_set_by_content_should_leave_others_untouched.yaml b/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_delete_record_with_record_set_by_content_should_leave_others_untouched.yaml
--- a/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_delete_record_with_record_set_by_content_should_leave_others_untouched.yaml
+++ b/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_delete_record_with_record_set_by_content_should_leave_others_untouched.yaml
@@ -15,7 +15,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
@@ -78,7 +78,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: PATCH
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: ''
@@ -120,7 +120,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
@@ -186,7 +186,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: PATCH
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: ''
@@ -228,7 +228,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
@@ -294,7 +294,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: PATCH
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: ''
@@ -336,7 +336,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
diff --git a/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_delete_record_with_record_set_name_remove_all.yaml b/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_delete_record_with_record_set_name_remove_all.yaml
--- a/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_delete_record_with_record_set_name_remove_all.yaml
+++ b/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_delete_record_with_record_set_name_remove_all.yaml
@@ -15,7 +15,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
@@ -80,7 +80,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: PATCH
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: ''
@@ -122,7 +122,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
@@ -190,7 +190,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: PATCH
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: ''
@@ -232,7 +232,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
@@ -299,7 +299,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: PATCH
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: ''
@@ -341,7 +341,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
diff --git a/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_list_records_after_setting_ttl.yaml b/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_list_records_after_setting_ttl.yaml
--- a/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_list_records_after_setting_ttl.yaml
+++ b/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_list_records_after_setting_ttl.yaml
@@ -15,7 +15,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
@@ -80,7 +80,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: PATCH
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: ''
@@ -122,7 +122,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
diff --git a/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_list_records_should_handle_record_sets.yaml b/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_list_records_should_handle_record_sets.yaml
--- a/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_list_records_should_handle_record_sets.yaml
+++ b/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_list_records_should_handle_record_sets.yaml
@@ -15,7 +15,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
@@ -82,7 +82,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: PATCH
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: ''
@@ -124,7 +124,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
@@ -194,7 +194,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: PATCH
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: ''
@@ -236,7 +236,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
diff --git a/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_list_records_with_fqdn_name_filter_should_return_record.yaml b/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_list_records_with_fqdn_name_filter_should_return_record.yaml
--- a/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_list_records_with_fqdn_name_filter_should_return_record.yaml
+++ b/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_list_records_with_fqdn_name_filter_should_return_record.yaml
@@ -15,7 +15,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
@@ -85,7 +85,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: PATCH
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: ''
@@ -127,7 +127,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
diff --git a/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_list_records_with_full_name_filter_should_return_record.yaml b/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_list_records_with_full_name_filter_should_return_record.yaml
--- a/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_list_records_with_full_name_filter_should_return_record.yaml
+++ b/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_list_records_with_full_name_filter_should_return_record.yaml
@@ -15,7 +15,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
@@ -87,7 +87,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: PATCH
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: ''
@@ -129,7 +129,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
diff --git a/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_list_records_with_invalid_filter_should_be_empty_list.yaml b/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_list_records_with_invalid_filter_should_be_empty_list.yaml
--- a/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_list_records_with_invalid_filter_should_be_empty_list.yaml
+++ b/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_list_records_with_invalid_filter_should_be_empty_list.yaml
@@ -15,7 +15,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
diff --git a/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_list_records_with_name_filter_should_return_record.yaml b/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_list_records_with_name_filter_should_return_record.yaml
--- a/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_list_records_with_name_filter_should_return_record.yaml
+++ b/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_list_records_with_name_filter_should_return_record.yaml
@@ -15,7 +15,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
@@ -89,7 +89,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: PATCH
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: ''
@@ -131,7 +131,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
diff --git a/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_list_records_with_no_arguments_should_list_all.yaml b/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_list_records_with_no_arguments_should_list_all.yaml
--- a/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_list_records_with_no_arguments_should_list_all.yaml
+++ b/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_list_records_with_no_arguments_should_list_all.yaml
@@ -15,7 +15,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
diff --git a/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_update_record_should_modify_record.yaml b/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_update_record_should_modify_record.yaml
--- a/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_update_record_should_modify_record.yaml
+++ b/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_update_record_should_modify_record.yaml
@@ -15,7 +15,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
@@ -91,7 +91,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: PATCH
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: ''
@@ -133,7 +133,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
@@ -210,7 +210,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: PATCH
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: ''
@@ -252,7 +252,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
@@ -328,7 +328,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: PATCH
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: ''
diff --git a/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_update_record_with_fqdn_name_should_modify_record.yaml b/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_update_record_with_fqdn_name_should_modify_record.yaml
--- a/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_update_record_with_fqdn_name_should_modify_record.yaml
+++ b/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_update_record_with_fqdn_name_should_modify_record.yaml
@@ -15,7 +15,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
@@ -93,7 +93,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: PATCH
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: ''
@@ -135,7 +135,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
@@ -214,7 +214,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: PATCH
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: ''
@@ -256,7 +256,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
@@ -334,7 +334,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: PATCH
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: ''
diff --git a/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_update_record_with_full_name_should_modify_record.yaml b/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_update_record_with_full_name_should_modify_record.yaml
--- a/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_update_record_with_full_name_should_modify_record.yaml
+++ b/tests/fixtures/cassettes/powerdns/IntegrationTests/test_provider_when_calling_update_record_with_full_name_should_modify_record.yaml
@@ -15,7 +15,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
@@ -95,7 +95,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: PATCH
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: ''
@@ -137,7 +137,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
@@ -218,7 +218,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: PATCH
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: ''
@@ -260,7 +260,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: GET
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: '{"account": "", "api_rectify": false, "dnssec": false, "id": "sometestdomain.com.",
@@ -340,7 +340,7 @@ interactions:
       User-Agent:
       - python-requests/2.21.0
     method: PATCH
-    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com
+    uri: http://127.0.0.1:8081/api/v1/servers/localhost/zones/sometestdomain.com.
   response:
     body:
       string: ''