Repository: AnalogJ/lexicon

Issue:
Yandex PDD provider
Hi
I create support Yandex PDD as a DNS provider.
But, I skip test because I haven't ideas to implementation it.
@AnalogJ  please merge if it possible.


Discussion:

Resolving patch:
diff --git a/lexicon/providers/yandex.py b/lexicon/providers/yandex.py
new file mode 100644
--- /dev/null
+++ b/lexicon/providers/yandex.py
@@ -0,0 +1,140 @@
+from __future__ import print_function
+from __future__ import absolute_import
+from .base import Provider as BaseProvider
+import requests
+import json
+__author__ = 'Aliaksandr Kharkevich'
+__license__ = 'MIT'
+__contact__ = 'https://github.com/kharkevich'
+
+def ProviderParser(subparser):
+    subparser.add_argument("--auth-token", help="specify PDD token (https://tech.yandex.com/domain/doc/concepts/access-docpage/)")
+
+class Provider(BaseProvider):
+
+    def __init__(self, options, provider_options={}):
+        super(Provider, self).__init__(options)
+        self.domain_id = None
+        self.api_endpoint = provider_options.get('api_endpoint') or 'https://pddimp.yandex.ru/api2/admin/dns'
+
+    def authenticate(self):
+        payload = self._get('/list?domain={0}'.format(self.options['domain']))
+        if payload['success'] != "ok":
+            raise Exception('No domain found')
+        self.domain_id = self.options['domain']
+
+    def create_record(self, type, name, content):
+        if (type == 'CNAME') or (type == 'MX') or (type == 'NS'):
+            content = content.rstrip('.') + '.' # make sure a the data is always a FQDN for CNAMe.
+
+        querystring = 'domain={0}&type={1}&subdomain={2}&content={3}'.format(self.domain_id, type, self._relative_name(name), content)
+        if self.options.get('ttl'):
+            querystring += "&ttl={0}".format(self.options.get('ttl'))
+
+        payload = self._post('/add', {},querystring)
+
+        return self._check_exitcode(payload, 'create_record')
+
+    # List all records. Return an empty list if no records found
+    # type, name and content are used to filter records.
+    # If possible filter during the query, otherwise filter after response is received.
+    def list_records(self, type=None, name=None, content=None):
+        url = '/list?domain={0}'.format(self.domain_id)
+        records = []
+        payload = {}
+
+        next = url
+        while next is not None:
+            payload = self._get(next)
+            if 'links' in payload \
+                    and 'pages' in payload['links'] \
+                    and 'next' in payload['links']['pages']:
+                next = payload['links']['pages']['next']
+            else:
+                next = None
+
+            for record in payload['records']:
+                processed_record = {
+                    'type': record['type'],
+                    'name': "{0}.{1}".format(record['subdomain'], self.domain_id),
+                    'ttl': record['ttl'],
+                    'content': record['content'],
+                    'id': record['record_id']
+                }
+                records.append(processed_record)
+
+        if type:
+            records = [record for record in records if record['type'] == type]
+        if name:
+            records = [record for record in records if record['name'] == self._full_name(name)]
+        if content:
+            records = [record for record in records if record['content'].lower() == content.lower()]
+
+        print('list_records: {0}'.format(records))
+        return records
+
+    # Just update existing record. Domain ID (domain) and Identifier (record_id) is mandatory
+    def update_record(self, identifier, type=None, name=None, content=None):
+
+        if not identifier:
+            print('Domain ID (domain) and Identifier (record_id) is mandatory parameters for this case')
+            return False
+        
+        data = ''
+        if type:
+            data += '&type={0}'.format(type)
+        if name:
+            data += '&subdomain={0}'.format(self._relative_name(name))
+        if content:
+            data += '&content={0}'.format(content)
+
+        payload = self._post('/edit', {}, 'domain={0}&record_id={1}'.format(self.domain_id, identifier) + data)
+
+        return self._check_exitcode(payload, 'update_record')
+
+    # Delete an existing record.
+    # If record does not exist (I'll hope), do nothing.
+    def delete_record(self, identifier=None, type=None, name=None, content=None):
+        if not identifier:
+            records = self.list_records(type, name, content)
+            print(records)
+            if len(records) == 1:
+                identifier = records[0]['id']
+            else:
+                raise Exception('Record identifier could not be found.')
+        payload = self._post('/del', {}, 'domain={0}&record_id={1}'.format(self.domain_id, identifier))
+
+        return self._check_exitcode(payload, 'delete_record')
+
+    # Helpers
+    def _request(self, action='GET',  url='/', data=None, query_params=None):
+        if data is None:
+            data = {}
+        if query_params is None:
+            query_params = {}
+        default_headers = {
+            'Accept': 'application/json',
+            'Content-Type': 'application/json',
+            'PddToken': self.options.get('auth_token')
+        }
+
+        if not url.startswith(self.api_endpoint):
+            url = self.api_endpoint + url
+
+        r = requests.request(action, url, params=query_params,
+                             data=json.dumps(data),
+                             headers=default_headers)
+        r.raise_for_status()  # if the request fails for any reason, throw an error.
+        if action == 'DELETE':
+            return ''
+        else:
+            return r.json()
+
+
+    def _check_exitcode(self, payload, title):
+        if payload['success'] == 'ok':
+            print('{0}: {1}'.format(title, payload['success']))
+            return True
+        else:
+            print('{0}: {1}'.format(title, payload['error']))
+            return False


Test patch:
diff --git a/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_authenticate.yaml b/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_authenticate.yaml
new file mode 100644
--- /dev/null
+++ b/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_authenticate.yaml
@@ -0,0 +1,66 @@
+interactions:
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: GET
+    uri: https://pddimp.yandex.ru/api2/admin/dns/list?domain=capsulecd.com
+  response:
+    body: {string: !!python/unicode '{"records": [{"content": "mx.yandex.net.", "domain":
+        "capsulecd.com", "fqdn": "capsulecd.com", "priority": 10, "ttl": 21600, "record_id":
+        39559783, "subdomain": "@", "type": "MX"}, {"content": "dns1.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559782, "subdomain": "@", "type": "NS"}, {"content":
+        "dns2.yandex.net.", "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39559781, "subdomain": "@", "type": "NS"},
+        {"content": "dns1.yandex.net.", "domain": "capsulecd.com", "retry": 900, "fqdn":
+        "capsulecd.com", "refresh": 14400, "admin_mail": "lexicon.test.yandex.ru",
+        "priority": "", "expire": 1209600, "ttl": 21600, "record_id": 39559780, "subdomain":
+        "@", "type": "SOA", "minttl": 14400}, {"content": "v=spf1 redirect=_spf.yandex.net",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559784, "subdomain": "@", "type": "TXT"}, {"content":
+        "domain.mail.yandex.net.", "domain": "capsulecd.com", "fqdn": "mail.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39559969, "subdomain": "mail",
+        "type": "CNAME"}, {"content": "104.31.76.164", "domain": "capsulecd.com",
+        "fqdn": "www.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39559785,
+        "subdomain": "www", "type": "A"}, {"content": "104.31.77.164", "domain": "capsulecd.com",
+        "fqdn": "www.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39559786,
+        "subdomain": "www", "type": "A"}, {"content": "2400:cb00:2048:1::681f:4ca4",
+        "domain": "capsulecd.com", "fqdn": "www.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559791, "subdomain": "www", "type": "AAAA"}, {"content":
+        "2400:cb00:2048:1::681f:4da4", "domain": "capsulecd.com", "fqdn": "www.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39559792, "subdomain": "www", "type":
+        "AAAA"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-client._tcp.capsulecd.com", "port": 5222, "priority":
+        20, "ttl": 21600, "record_id": 39559787, "subdomain": "_xmpp-client._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-client._tcp.conference.capsulecd.com", "port":
+        5222, "priority": 20, "ttl": 21600, "record_id": 39559789, "subdomain": "_xmpp-client._tcp.conference",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.capsulecd.com", "port": 5269, "priority":
+        20, "ttl": 21600, "record_id": 39559788, "subdomain": "_xmpp-server._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.conference.capsulecd.com", "port":
+        5269, "priority": 20, "ttl": 21600, "record_id": 39559790, "subdomain": "_xmpp-server._tcp.conference",
+        "type": "SRV"}], "domain": "capsulecd.com", "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['2941']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:40:37 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      transfer-encoding: [chunked]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+version: 1
diff --git a/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_authenticate_with_unmanaged_domain_should_fail.yaml b/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_authenticate_with_unmanaged_domain_should_fail.yaml
new file mode 100644
--- /dev/null
+++ b/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_authenticate_with_unmanaged_domain_should_fail.yaml
@@ -0,0 +1,30 @@
+interactions:
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: GET
+    uri: https://pddimp.yandex.ru/api2/admin/dns/list?domain=thisisadomainidonotown.com
+  response:
+    body: {string: !!python/unicode '{"domain": "thisisadomainidonotown.com", "success":
+        "error", "error": "not_allowed"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['85']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:41:04 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+version: 1
diff --git a/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_when_calling_create_record_for_A_with_valid_name_and_content.yaml b/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_when_calling_create_record_for_A_with_valid_name_and_content.yaml
new file mode 100644
--- /dev/null
+++ b/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_when_calling_create_record_for_A_with_valid_name_and_content.yaml
@@ -0,0 +1,96 @@
+interactions:
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: GET
+    uri: https://pddimp.yandex.ru/api2/admin/dns/list?domain=capsulecd.com
+  response:
+    body: {string: !!python/unicode '{"records": [{"content": "mx.yandex.net.", "domain":
+        "capsulecd.com", "fqdn": "capsulecd.com", "priority": 10, "ttl": 21600, "record_id":
+        39559783, "subdomain": "@", "type": "MX"}, {"content": "dns1.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559782, "subdomain": "@", "type": "NS"}, {"content":
+        "dns2.yandex.net.", "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39559781, "subdomain": "@", "type": "NS"},
+        {"content": "dns1.yandex.net.", "domain": "capsulecd.com", "retry": 900, "fqdn":
+        "capsulecd.com", "refresh": 14400, "admin_mail": "lexicon.test.yandex.ru",
+        "priority": "", "expire": 1209600, "ttl": 21600, "record_id": 39559780, "subdomain":
+        "@", "type": "SOA", "minttl": 14400}, {"content": "v=spf1 redirect=_spf.yandex.net",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559784, "subdomain": "@", "type": "TXT"}, {"content":
+        "domain.mail.yandex.net.", "domain": "capsulecd.com", "fqdn": "mail.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39559969, "subdomain": "mail",
+        "type": "CNAME"}, {"content": "104.31.76.164", "domain": "capsulecd.com",
+        "fqdn": "www.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39559785,
+        "subdomain": "www", "type": "A"}, {"content": "104.31.77.164", "domain": "capsulecd.com",
+        "fqdn": "www.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39559786,
+        "subdomain": "www", "type": "A"}, {"content": "2400:cb00:2048:1::681f:4ca4",
+        "domain": "capsulecd.com", "fqdn": "www.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559791, "subdomain": "www", "type": "AAAA"}, {"content":
+        "2400:cb00:2048:1::681f:4da4", "domain": "capsulecd.com", "fqdn": "www.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39559792, "subdomain": "www", "type":
+        "AAAA"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-client._tcp.capsulecd.com", "port": 5222, "priority":
+        20, "ttl": 21600, "record_id": 39559787, "subdomain": "_xmpp-client._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-client._tcp.conference.capsulecd.com", "port":
+        5222, "priority": 20, "ttl": 21600, "record_id": 39559789, "subdomain": "_xmpp-client._tcp.conference",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.capsulecd.com", "port": 5269, "priority":
+        20, "ttl": 21600, "record_id": 39559788, "subdomain": "_xmpp-server._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.conference.capsulecd.com", "port":
+        5269, "priority": 20, "ttl": 21600, "record_id": 39559790, "subdomain": "_xmpp-server._tcp.conference",
+        "type": "SRV"}], "domain": "capsulecd.com", "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['2941']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:43:30 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      transfer-encoding: [chunked]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: POST
+    uri: https://pddimp.yandex.ru/api2/admin/dns/add?domain=capsulecd.com&type=A&subdomain=localhost&content=127.0.0.1
+  response:
+    body: {string: !!python/unicode '{"record": {"content": "127.0.0.1", "domain":
+        "capsulecd.com", "fqdn": "localhost.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39560119, "subdomain": "localhost", "type": "A"}, "domain":
+        "capsulecd.com", "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['235']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:43:31 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+version: 1
diff --git a/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_when_calling_create_record_for_CNAME_with_valid_name_and_content.yaml b/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_when_calling_create_record_for_CNAME_with_valid_name_and_content.yaml
new file mode 100644
--- /dev/null
+++ b/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_when_calling_create_record_for_CNAME_with_valid_name_and_content.yaml
@@ -0,0 +1,99 @@
+interactions:
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: GET
+    uri: https://pddimp.yandex.ru/api2/admin/dns/list?domain=capsulecd.com
+  response:
+    body: {string: !!python/unicode '{"records": [{"content": "mx.yandex.net.", "domain":
+        "capsulecd.com", "fqdn": "capsulecd.com", "priority": 10, "ttl": 21600, "record_id":
+        39559783, "subdomain": "@", "type": "MX"}, {"content": "dns1.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559782, "subdomain": "@", "type": "NS"}, {"content":
+        "dns2.yandex.net.", "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39559781, "subdomain": "@", "type": "NS"},
+        {"content": "dns1.yandex.net.", "domain": "capsulecd.com", "retry": 900, "fqdn":
+        "capsulecd.com", "refresh": 14400, "admin_mail": "lexicon.test.yandex.ru",
+        "priority": "", "expire": 1209600, "ttl": 21600, "record_id": 39559780, "subdomain":
+        "@", "type": "SOA", "minttl": 14400}, {"content": "v=spf1 redirect=_spf.yandex.net",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559784, "subdomain": "@", "type": "TXT"}, {"content":
+        "127.0.0.1", "domain": "capsulecd.com", "fqdn": "localhost.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560119, "subdomain": "localhost",
+        "type": "A"}, {"content": "domain.mail.yandex.net.", "domain": "capsulecd.com",
+        "fqdn": "mail.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39559969,
+        "subdomain": "mail", "type": "CNAME"}, {"content": "104.31.76.164", "domain":
+        "capsulecd.com", "fqdn": "www.capsulecd.com", "priority": "", "ttl": 21600,
+        "record_id": 39559785, "subdomain": "www", "type": "A"}, {"content": "104.31.77.164",
+        "domain": "capsulecd.com", "fqdn": "www.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559786, "subdomain": "www", "type": "A"}, {"content":
+        "2400:cb00:2048:1::681f:4ca4", "domain": "capsulecd.com", "fqdn": "www.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39559791, "subdomain": "www", "type":
+        "AAAA"}, {"content": "2400:cb00:2048:1::681f:4da4", "domain": "capsulecd.com",
+        "fqdn": "www.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39559792,
+        "subdomain": "www", "type": "AAAA"}, {"content": "domain-xmpp.yandex.net.",
+        "domain": "capsulecd.com", "weight": 0, "fqdn": "_xmpp-client._tcp.capsulecd.com",
+        "port": 5222, "priority": 20, "ttl": 21600, "record_id": 39559787, "subdomain":
+        "_xmpp-client._tcp", "type": "SRV"}, {"content": "domain-xmpp.yandex.net.",
+        "domain": "capsulecd.com", "weight": 0, "fqdn": "_xmpp-client._tcp.conference.capsulecd.com",
+        "port": 5222, "priority": 20, "ttl": 21600, "record_id": 39559789, "subdomain":
+        "_xmpp-client._tcp.conference", "type": "SRV"}, {"content": "domain-xmpp.yandex.net.",
+        "domain": "capsulecd.com", "weight": 0, "fqdn": "_xmpp-server._tcp.capsulecd.com",
+        "port": 5269, "priority": 20, "ttl": 21600, "record_id": 39559788, "subdomain":
+        "_xmpp-server._tcp", "type": "SRV"}, {"content": "domain-xmpp.yandex.net.",
+        "domain": "capsulecd.com", "weight": 0, "fqdn": "_xmpp-server._tcp.conference.capsulecd.com",
+        "port": 5269, "priority": 20, "ttl": 21600, "record_id": 39559790, "subdomain":
+        "_xmpp-server._tcp.conference", "type": "SRV"}], "domain": "capsulecd.com",
+        "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['3121']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:44:52 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      transfer-encoding: [chunked]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: POST
+    uri: https://pddimp.yandex.ru/api2/admin/dns/add?domain=capsulecd.com&type=CNAME&subdomain=docs&content=docs.example.com.
+  response:
+    body: {string: !!python/unicode '{"record": {"content": "docs.example.com.", "domain":
+        "capsulecd.com", "fqdn": "docs.capsulecd.com", "priority": "", "ttl": 21600,
+        "record_id": 39560158, "subdomain": "docs", "type": "CNAME"}, "domain": "capsulecd.com",
+        "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['237']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:44:53 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+version: 1
diff --git a/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_when_calling_create_record_for_TXT_with_fqdn_name_and_content.yaml b/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_when_calling_create_record_for_TXT_with_fqdn_name_and_content.yaml
new file mode 100644
--- /dev/null
+++ b/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_when_calling_create_record_for_TXT_with_fqdn_name_and_content.yaml
@@ -0,0 +1,101 @@
+interactions:
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: GET
+    uri: https://pddimp.yandex.ru/api2/admin/dns/list?domain=capsulecd.com
+  response:
+    body: {string: !!python/unicode '{"records": [{"content": "mx.yandex.net.", "domain":
+        "capsulecd.com", "fqdn": "capsulecd.com", "priority": 10, "ttl": 21600, "record_id":
+        39559783, "subdomain": "@", "type": "MX"}, {"content": "dns1.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559782, "subdomain": "@", "type": "NS"}, {"content":
+        "dns2.yandex.net.", "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39559781, "subdomain": "@", "type": "NS"},
+        {"content": "dns1.yandex.net.", "domain": "capsulecd.com", "retry": 900, "fqdn":
+        "capsulecd.com", "refresh": 14400, "admin_mail": "lexicon.test.yandex.ru",
+        "priority": "", "expire": 1209600, "ttl": 21600, "record_id": 39559780, "subdomain":
+        "@", "type": "SOA", "minttl": 14400}, {"content": "v=spf1 redirect=_spf.yandex.net",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559784, "subdomain": "@", "type": "TXT"}, {"content":
+        "docs.example.com.", "domain": "capsulecd.com", "fqdn": "docs.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560158, "subdomain": "docs",
+        "type": "CNAME"}, {"content": "127.0.0.1", "domain": "capsulecd.com", "fqdn":
+        "localhost.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39560119,
+        "subdomain": "localhost", "type": "A"}, {"content": "domain.mail.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "mail.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559969, "subdomain": "mail", "type": "CNAME"}, {"content":
+        "104.31.76.164", "domain": "capsulecd.com", "fqdn": "www.capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39559785, "subdomain": "www", "type": "A"},
+        {"content": "104.31.77.164", "domain": "capsulecd.com", "fqdn": "www.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39559786, "subdomain": "www", "type":
+        "A"}, {"content": "2400:cb00:2048:1::681f:4ca4", "domain": "capsulecd.com",
+        "fqdn": "www.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39559791,
+        "subdomain": "www", "type": "AAAA"}, {"content": "2400:cb00:2048:1::681f:4da4",
+        "domain": "capsulecd.com", "fqdn": "www.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559792, "subdomain": "www", "type": "AAAA"}, {"content":
+        "domain-xmpp.yandex.net.", "domain": "capsulecd.com", "weight": 0, "fqdn":
+        "_xmpp-client._tcp.capsulecd.com", "port": 5222, "priority": 20, "ttl": 21600,
+        "record_id": 39559787, "subdomain": "_xmpp-client._tcp", "type": "SRV"}, {"content":
+        "domain-xmpp.yandex.net.", "domain": "capsulecd.com", "weight": 0, "fqdn":
+        "_xmpp-client._tcp.conference.capsulecd.com", "port": 5222, "priority": 20,
+        "ttl": 21600, "record_id": 39559789, "subdomain": "_xmpp-client._tcp.conference",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.capsulecd.com", "port": 5269, "priority":
+        20, "ttl": 21600, "record_id": 39559788, "subdomain": "_xmpp-server._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.conference.capsulecd.com", "port":
+        5269, "priority": 20, "ttl": 21600, "record_id": 39559790, "subdomain": "_xmpp-server._tcp.conference",
+        "type": "SRV"}], "domain": "capsulecd.com", "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['3303']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:45:24 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      transfer-encoding: [chunked]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: POST
+    uri: https://pddimp.yandex.ru/api2/admin/dns/add?domain=capsulecd.com&type=TXT&subdomain=_acme-challenge.fqdn&content=challengetoken
+  response:
+    body: {string: !!python/unicode '{"record": {"content": "challengetoken", "domain":
+        "capsulecd.com", "fqdn": "_acme-challenge.fqdn.capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39560183, "subdomain": "_acme-challenge.fqdn",
+        "type": "TXT"}, "domain": "capsulecd.com", "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['264']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:45:26 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+version: 1
diff --git a/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_when_calling_create_record_for_TXT_with_full_name_and_content.yaml b/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_when_calling_create_record_for_TXT_with_full_name_and_content.yaml
new file mode 100644
--- /dev/null
+++ b/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_when_calling_create_record_for_TXT_with_full_name_and_content.yaml
@@ -0,0 +1,103 @@
+interactions:
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: GET
+    uri: https://pddimp.yandex.ru/api2/admin/dns/list?domain=capsulecd.com
+  response:
+    body: {string: !!python/unicode '{"records": [{"content": "mx.yandex.net.", "domain":
+        "capsulecd.com", "fqdn": "capsulecd.com", "priority": 10, "ttl": 21600, "record_id":
+        39559783, "subdomain": "@", "type": "MX"}, {"content": "dns1.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559782, "subdomain": "@", "type": "NS"}, {"content":
+        "dns2.yandex.net.", "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39559781, "subdomain": "@", "type": "NS"},
+        {"content": "dns1.yandex.net.", "domain": "capsulecd.com", "retry": 900, "fqdn":
+        "capsulecd.com", "refresh": 14400, "admin_mail": "lexicon.test.yandex.ru",
+        "priority": "", "expire": 1209600, "ttl": 21600, "record_id": 39559780, "subdomain":
+        "@", "type": "SOA", "minttl": 14400}, {"content": "v=spf1 redirect=_spf.yandex.net",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559784, "subdomain": "@", "type": "TXT"}, {"content":
+        "docs.example.com.", "domain": "capsulecd.com", "fqdn": "docs.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560158, "subdomain": "docs",
+        "type": "CNAME"}, {"content": "127.0.0.1", "domain": "capsulecd.com", "fqdn":
+        "localhost.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39560119,
+        "subdomain": "localhost", "type": "A"}, {"content": "domain.mail.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "mail.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559969, "subdomain": "mail", "type": "CNAME"}, {"content":
+        "104.31.76.164", "domain": "capsulecd.com", "fqdn": "www.capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39559785, "subdomain": "www", "type": "A"},
+        {"content": "104.31.77.164", "domain": "capsulecd.com", "fqdn": "www.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39559786, "subdomain": "www", "type":
+        "A"}, {"content": "2400:cb00:2048:1::681f:4ca4", "domain": "capsulecd.com",
+        "fqdn": "www.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39559791,
+        "subdomain": "www", "type": "AAAA"}, {"content": "2400:cb00:2048:1::681f:4da4",
+        "domain": "capsulecd.com", "fqdn": "www.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559792, "subdomain": "www", "type": "AAAA"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "_acme-challenge.fqdn.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560183, "subdomain": "_acme-challenge.fqdn",
+        "type": "TXT"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-client._tcp.capsulecd.com", "port": 5222, "priority":
+        20, "ttl": 21600, "record_id": 39559787, "subdomain": "_xmpp-client._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-client._tcp.conference.capsulecd.com", "port":
+        5222, "priority": 20, "ttl": 21600, "record_id": 39559789, "subdomain": "_xmpp-client._tcp.conference",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.capsulecd.com", "port": 5269, "priority":
+        20, "ttl": 21600, "record_id": 39559788, "subdomain": "_xmpp-server._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.conference.capsulecd.com", "port":
+        5269, "priority": 20, "ttl": 21600, "record_id": 39559790, "subdomain": "_xmpp-server._tcp.conference",
+        "type": "SRV"}], "domain": "capsulecd.com", "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['3512']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:45:50 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      transfer-encoding: [chunked]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: POST
+    uri: https://pddimp.yandex.ru/api2/admin/dns/add?domain=capsulecd.com&type=TXT&subdomain=_acme-challenge.full&content=challengetoken
+  response:
+    body: {string: !!python/unicode '{"record": {"content": "challengetoken", "domain":
+        "capsulecd.com", "fqdn": "_acme-challenge.full.capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39560186, "subdomain": "_acme-challenge.full",
+        "type": "TXT"}, "domain": "capsulecd.com", "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['264']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:45:51 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+version: 1
diff --git a/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_when_calling_create_record_for_TXT_with_valid_name_and_content.yaml b/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_when_calling_create_record_for_TXT_with_valid_name_and_content.yaml
new file mode 100644
--- /dev/null
+++ b/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_when_calling_create_record_for_TXT_with_valid_name_and_content.yaml
@@ -0,0 +1,106 @@
+interactions:
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: GET
+    uri: https://pddimp.yandex.ru/api2/admin/dns/list?domain=capsulecd.com
+  response:
+    body: {string: !!python/unicode '{"records": [{"content": "mx.yandex.net.", "domain":
+        "capsulecd.com", "fqdn": "capsulecd.com", "priority": 10, "ttl": 21600, "record_id":
+        39559783, "subdomain": "@", "type": "MX"}, {"content": "dns1.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559782, "subdomain": "@", "type": "NS"}, {"content":
+        "dns2.yandex.net.", "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39559781, "subdomain": "@", "type": "NS"},
+        {"content": "dns1.yandex.net.", "domain": "capsulecd.com", "retry": 900, "fqdn":
+        "capsulecd.com", "refresh": 14400, "admin_mail": "lexicon.test.yandex.ru",
+        "priority": "", "expire": 1209600, "ttl": 21600, "record_id": 39559780, "subdomain":
+        "@", "type": "SOA", "minttl": 14400}, {"content": "v=spf1 redirect=_spf.yandex.net",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559784, "subdomain": "@", "type": "TXT"}, {"content":
+        "docs.example.com.", "domain": "capsulecd.com", "fqdn": "docs.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560158, "subdomain": "docs",
+        "type": "CNAME"}, {"content": "127.0.0.1", "domain": "capsulecd.com", "fqdn":
+        "localhost.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39560119,
+        "subdomain": "localhost", "type": "A"}, {"content": "domain.mail.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "mail.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559969, "subdomain": "mail", "type": "CNAME"}, {"content":
+        "104.31.76.164", "domain": "capsulecd.com", "fqdn": "www.capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39559785, "subdomain": "www", "type": "A"},
+        {"content": "104.31.77.164", "domain": "capsulecd.com", "fqdn": "www.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39559786, "subdomain": "www", "type":
+        "A"}, {"content": "2400:cb00:2048:1::681f:4ca4", "domain": "capsulecd.com",
+        "fqdn": "www.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39559791,
+        "subdomain": "www", "type": "AAAA"}, {"content": "2400:cb00:2048:1::681f:4da4",
+        "domain": "capsulecd.com", "fqdn": "www.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559792, "subdomain": "www", "type": "AAAA"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "_acme-challenge.fqdn.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560183, "subdomain": "_acme-challenge.fqdn",
+        "type": "TXT"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn":
+        "_acme-challenge.full.capsulecd.com", "priority": "", "ttl": 21600, "record_id":
+        39560186, "subdomain": "_acme-challenge.full", "type": "TXT"}, {"content":
+        "domain-xmpp.yandex.net.", "domain": "capsulecd.com", "weight": 0, "fqdn":
+        "_xmpp-client._tcp.capsulecd.com", "port": 5222, "priority": 20, "ttl": 21600,
+        "record_id": 39559787, "subdomain": "_xmpp-client._tcp", "type": "SRV"}, {"content":
+        "domain-xmpp.yandex.net.", "domain": "capsulecd.com", "weight": 0, "fqdn":
+        "_xmpp-client._tcp.conference.capsulecd.com", "port": 5222, "priority": 20,
+        "ttl": 21600, "record_id": 39559789, "subdomain": "_xmpp-client._tcp.conference",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.capsulecd.com", "port": 5269, "priority":
+        20, "ttl": 21600, "record_id": 39559788, "subdomain": "_xmpp-server._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.conference.capsulecd.com", "port":
+        5269, "priority": 20, "ttl": 21600, "record_id": 39559790, "subdomain": "_xmpp-server._tcp.conference",
+        "type": "SRV"}], "domain": "capsulecd.com", "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['3721']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:45:52 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      transfer-encoding: [chunked]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: POST
+    uri: https://pddimp.yandex.ru/api2/admin/dns/add?domain=capsulecd.com&type=TXT&subdomain=_acme-challenge.test&content=challengetoken
+  response:
+    body: {string: !!python/unicode '{"record": {"content": "challengetoken", "domain":
+        "capsulecd.com", "fqdn": "_acme-challenge.test.capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39560187, "subdomain": "_acme-challenge.test",
+        "type": "TXT"}, "domain": "capsulecd.com", "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['264']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:45:53 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+version: 1
diff --git a/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_when_calling_delete_record_by_filter_should_remove_record.yaml b/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_when_calling_delete_record_by_filter_should_remove_record.yaml
new file mode 100644
--- /dev/null
+++ b/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_when_calling_delete_record_by_filter_should_remove_record.yaml
@@ -0,0 +1,291 @@
+interactions:
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: GET
+    uri: https://pddimp.yandex.ru/api2/admin/dns/list?domain=capsulecd.com
+  response:
+    body: {string: !!python/unicode '{"records": [{"content": "mx.yandex.net.", "domain":
+        "capsulecd.com", "fqdn": "capsulecd.com", "priority": 10, "ttl": 21600, "record_id":
+        39559783, "subdomain": "@", "type": "MX"}, {"content": "dns1.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559782, "subdomain": "@", "type": "NS"}, {"content":
+        "dns2.yandex.net.", "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39559781, "subdomain": "@", "type": "NS"},
+        {"content": "dns1.yandex.net.", "domain": "capsulecd.com", "retry": 900, "fqdn":
+        "capsulecd.com", "refresh": 14400, "admin_mail": "lexicon.test.yandex.ru",
+        "priority": "", "expire": 1209600, "ttl": 21600, "record_id": 39559780, "subdomain":
+        "@", "type": "SOA", "minttl": 14400}, {"content": "v=spf1 redirect=_spf.yandex.net",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559784, "subdomain": "@", "type": "TXT"}, {"content":
+        "docs.example.com.", "domain": "capsulecd.com", "fqdn": "docs.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560158, "subdomain": "docs",
+        "type": "CNAME"}, {"content": "127.0.0.1", "domain": "capsulecd.com", "fqdn":
+        "localhost.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39560119,
+        "subdomain": "localhost", "type": "A"}, {"content": "domain.mail.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "mail.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559969, "subdomain": "mail", "type": "CNAME"}, {"content":
+        "104.31.76.164", "domain": "capsulecd.com", "fqdn": "www.capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39559785, "subdomain": "www", "type": "A"},
+        {"content": "104.31.77.164", "domain": "capsulecd.com", "fqdn": "www.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39559786, "subdomain": "www", "type":
+        "A"}, {"content": "2400:cb00:2048:1::681f:4ca4", "domain": "capsulecd.com",
+        "fqdn": "www.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39559791,
+        "subdomain": "www", "type": "AAAA"}, {"content": "2400:cb00:2048:1::681f:4da4",
+        "domain": "capsulecd.com", "fqdn": "www.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559792, "subdomain": "www", "type": "AAAA"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "_acme-challenge.fqdn.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560183, "subdomain": "_acme-challenge.fqdn",
+        "type": "TXT"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn":
+        "_acme-challenge.full.capsulecd.com", "priority": "", "ttl": 21600, "record_id":
+        39560186, "subdomain": "_acme-challenge.full", "type": "TXT"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "_acme-challenge.test.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560187, "subdomain": "_acme-challenge.test",
+        "type": "TXT"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-client._tcp.capsulecd.com", "port": 5222, "priority":
+        20, "ttl": 21600, "record_id": 39559787, "subdomain": "_xmpp-client._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-client._tcp.conference.capsulecd.com", "port":
+        5222, "priority": 20, "ttl": 21600, "record_id": 39559789, "subdomain": "_xmpp-client._tcp.conference",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.capsulecd.com", "port": 5269, "priority":
+        20, "ttl": 21600, "record_id": 39559788, "subdomain": "_xmpp-server._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.conference.capsulecd.com", "port":
+        5269, "priority": 20, "ttl": 21600, "record_id": 39559790, "subdomain": "_xmpp-server._tcp.conference",
+        "type": "SRV"}], "domain": "capsulecd.com", "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['3930']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:46:08 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      transfer-encoding: [chunked]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: POST
+    uri: https://pddimp.yandex.ru/api2/admin/dns/add?domain=capsulecd.com&type=TXT&subdomain=delete.testfilt&content=challengetoken
+  response:
+    body: {string: !!python/unicode '{"record": {"content": "challengetoken", "domain":
+        "capsulecd.com", "fqdn": "delete.testfilt.capsulecd.com", "priority": "",
+        "ttl": 21600, "record_id": 39560213, "subdomain": "delete.testfilt", "type":
+        "TXT"}, "domain": "capsulecd.com", "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['254']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:46:09 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: GET
+    uri: https://pddimp.yandex.ru/api2/admin/dns/list?domain=capsulecd.com
+  response:
+    body: {string: !!python/unicode '{"records": [{"content": "mx.yandex.net.", "domain":
+        "capsulecd.com", "fqdn": "capsulecd.com", "priority": 10, "ttl": 21600, "record_id":
+        39559783, "subdomain": "@", "type": "MX"}, {"content": "dns1.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559782, "subdomain": "@", "type": "NS"}, {"content":
+        "dns2.yandex.net.", "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39559781, "subdomain": "@", "type": "NS"},
+        {"content": "dns1.yandex.net.", "domain": "capsulecd.com", "retry": 900, "fqdn":
+        "capsulecd.com", "refresh": 14400, "admin_mail": "lexicon.test.yandex.ru",
+        "priority": "", "expire": 1209600, "ttl": 21600, "record_id": 39559780, "subdomain":
+        "@", "type": "SOA", "minttl": 14400}, {"content": "v=spf1 redirect=_spf.yandex.net",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559784, "subdomain": "@", "type": "TXT"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "delete.testfilt.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560213, "subdomain": "delete.testfilt",
+        "type": "TXT"}, {"content": "docs.example.com.", "domain": "capsulecd.com",
+        "fqdn": "docs.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39560158,
+        "subdomain": "docs", "type": "CNAME"}, {"content": "127.0.0.1", "domain":
+        "capsulecd.com", "fqdn": "localhost.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39560119, "subdomain": "localhost", "type": "A"}, {"content":
+        "domain.mail.yandex.net.", "domain": "capsulecd.com", "fqdn": "mail.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39559969, "subdomain": "mail",
+        "type": "CNAME"}, {"content": "104.31.76.164", "domain": "capsulecd.com",
+        "fqdn": "www.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39559785,
+        "subdomain": "www", "type": "A"}, {"content": "104.31.77.164", "domain": "capsulecd.com",
+        "fqdn": "www.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39559786,
+        "subdomain": "www", "type": "A"}, {"content": "2400:cb00:2048:1::681f:4ca4",
+        "domain": "capsulecd.com", "fqdn": "www.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559791, "subdomain": "www", "type": "AAAA"}, {"content":
+        "2400:cb00:2048:1::681f:4da4", "domain": "capsulecd.com", "fqdn": "www.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39559792, "subdomain": "www", "type":
+        "AAAA"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn":
+        "_acme-challenge.fqdn.capsulecd.com", "priority": "", "ttl": 21600, "record_id":
+        39560183, "subdomain": "_acme-challenge.fqdn", "type": "TXT"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "_acme-challenge.full.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560186, "subdomain": "_acme-challenge.full",
+        "type": "TXT"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn":
+        "_acme-challenge.test.capsulecd.com", "priority": "", "ttl": 21600, "record_id":
+        39560187, "subdomain": "_acme-challenge.test", "type": "TXT"}, {"content":
+        "domain-xmpp.yandex.net.", "domain": "capsulecd.com", "weight": 0, "fqdn":
+        "_xmpp-client._tcp.capsulecd.com", "port": 5222, "priority": 20, "ttl": 21600,
+        "record_id": 39559787, "subdomain": "_xmpp-client._tcp", "type": "SRV"}, {"content":
+        "domain-xmpp.yandex.net.", "domain": "capsulecd.com", "weight": 0, "fqdn":
+        "_xmpp-client._tcp.conference.capsulecd.com", "port": 5222, "priority": 20,
+        "ttl": 21600, "record_id": 39559789, "subdomain": "_xmpp-client._tcp.conference",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.capsulecd.com", "port": 5269, "priority":
+        20, "ttl": 21600, "record_id": 39559788, "subdomain": "_xmpp-server._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.conference.capsulecd.com", "port":
+        5269, "priority": 20, "ttl": 21600, "record_id": 39559790, "subdomain": "_xmpp-server._tcp.conference",
+        "type": "SRV"}], "domain": "capsulecd.com", "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['4129']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:46:10 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      transfer-encoding: [chunked]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: POST
+    uri: https://pddimp.yandex.ru/api2/admin/dns/del?domain=capsulecd.com&record_id=39560213
+  response:
+    body: {string: !!python/unicode '{"record_id": 39560213, "domain": "capsulecd.com",
+        "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['68']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:46:11 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: GET
+    uri: https://pddimp.yandex.ru/api2/admin/dns/list?domain=capsulecd.com
+  response:
+    body: {string: !!python/unicode '{"records": [{"content": "mx.yandex.net.", "domain":
+        "capsulecd.com", "fqdn": "capsulecd.com", "priority": 10, "ttl": 21600, "record_id":
+        39559783, "subdomain": "@", "type": "MX"}, {"content": "dns1.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559782, "subdomain": "@", "type": "NS"}, {"content":
+        "dns2.yandex.net.", "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39559781, "subdomain": "@", "type": "NS"},
+        {"content": "dns1.yandex.net.", "domain": "capsulecd.com", "retry": 900, "fqdn":
+        "capsulecd.com", "refresh": 14400, "admin_mail": "lexicon.test.yandex.ru",
+        "priority": "", "expire": 1209600, "ttl": 21600, "record_id": 39559780, "subdomain":
+        "@", "type": "SOA", "minttl": 14400}, {"content": "v=spf1 redirect=_spf.yandex.net",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559784, "subdomain": "@", "type": "TXT"}, {"content":
+        "docs.example.com.", "domain": "capsulecd.com", "fqdn": "docs.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560158, "subdomain": "docs",
+        "type": "CNAME"}, {"content": "127.0.0.1", "domain": "capsulecd.com", "fqdn":
+        "localhost.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39560119,
+        "subdomain": "localhost", "type": "A"}, {"content": "domain.mail.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "mail.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559969, "subdomain": "mail", "type": "CNAME"}, {"content":
+        "104.31.76.164", "domain": "capsulecd.com", "fqdn": "www.capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39559785, "subdomain": "www", "type": "A"},
+        {"content": "104.31.77.164", "domain": "capsulecd.com", "fqdn": "www.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39559786, "subdomain": "www", "type":
+        "A"}, {"content": "2400:cb00:2048:1::681f:4ca4", "domain": "capsulecd.com",
+        "fqdn": "www.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39559791,
+        "subdomain": "www", "type": "AAAA"}, {"content": "2400:cb00:2048:1::681f:4da4",
+        "domain": "capsulecd.com", "fqdn": "www.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559792, "subdomain": "www", "type": "AAAA"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "_acme-challenge.fqdn.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560183, "subdomain": "_acme-challenge.fqdn",
+        "type": "TXT"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn":
+        "_acme-challenge.full.capsulecd.com", "priority": "", "ttl": 21600, "record_id":
+        39560186, "subdomain": "_acme-challenge.full", "type": "TXT"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "_acme-challenge.test.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560187, "subdomain": "_acme-challenge.test",
+        "type": "TXT"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-client._tcp.capsulecd.com", "port": 5222, "priority":
+        20, "ttl": 21600, "record_id": 39559787, "subdomain": "_xmpp-client._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-client._tcp.conference.capsulecd.com", "port":
+        5222, "priority": 20, "ttl": 21600, "record_id": 39559789, "subdomain": "_xmpp-client._tcp.conference",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.capsulecd.com", "port": 5269, "priority":
+        20, "ttl": 21600, "record_id": 39559788, "subdomain": "_xmpp-server._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.conference.capsulecd.com", "port":
+        5269, "priority": 20, "ttl": 21600, "record_id": 39559790, "subdomain": "_xmpp-server._tcp.conference",
+        "type": "SRV"}], "domain": "capsulecd.com", "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['3930']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:46:12 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      transfer-encoding: [chunked]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+version: 1
diff --git a/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_when_calling_delete_record_by_filter_with_fqdn_name_should_remove_record.yaml b/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_when_calling_delete_record_by_filter_with_fqdn_name_should_remove_record.yaml
new file mode 100644
--- /dev/null
+++ b/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_when_calling_delete_record_by_filter_with_fqdn_name_should_remove_record.yaml
@@ -0,0 +1,291 @@
+interactions:
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: GET
+    uri: https://pddimp.yandex.ru/api2/admin/dns/list?domain=capsulecd.com
+  response:
+    body: {string: !!python/unicode '{"records": [{"content": "mx.yandex.net.", "domain":
+        "capsulecd.com", "fqdn": "capsulecd.com", "priority": 10, "ttl": 21600, "record_id":
+        39559783, "subdomain": "@", "type": "MX"}, {"content": "dns1.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559782, "subdomain": "@", "type": "NS"}, {"content":
+        "dns2.yandex.net.", "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39559781, "subdomain": "@", "type": "NS"},
+        {"content": "dns1.yandex.net.", "domain": "capsulecd.com", "retry": 900, "fqdn":
+        "capsulecd.com", "refresh": 14400, "admin_mail": "lexicon.test.yandex.ru",
+        "priority": "", "expire": 1209600, "ttl": 21600, "record_id": 39559780, "subdomain":
+        "@", "type": "SOA", "minttl": 14400}, {"content": "v=spf1 redirect=_spf.yandex.net",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559784, "subdomain": "@", "type": "TXT"}, {"content":
+        "docs.example.com.", "domain": "capsulecd.com", "fqdn": "docs.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560158, "subdomain": "docs",
+        "type": "CNAME"}, {"content": "127.0.0.1", "domain": "capsulecd.com", "fqdn":
+        "localhost.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39560119,
+        "subdomain": "localhost", "type": "A"}, {"content": "domain.mail.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "mail.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559969, "subdomain": "mail", "type": "CNAME"}, {"content":
+        "104.31.76.164", "domain": "capsulecd.com", "fqdn": "www.capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39559785, "subdomain": "www", "type": "A"},
+        {"content": "104.31.77.164", "domain": "capsulecd.com", "fqdn": "www.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39559786, "subdomain": "www", "type":
+        "A"}, {"content": "2400:cb00:2048:1::681f:4ca4", "domain": "capsulecd.com",
+        "fqdn": "www.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39559791,
+        "subdomain": "www", "type": "AAAA"}, {"content": "2400:cb00:2048:1::681f:4da4",
+        "domain": "capsulecd.com", "fqdn": "www.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559792, "subdomain": "www", "type": "AAAA"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "_acme-challenge.fqdn.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560183, "subdomain": "_acme-challenge.fqdn",
+        "type": "TXT"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn":
+        "_acme-challenge.full.capsulecd.com", "priority": "", "ttl": 21600, "record_id":
+        39560186, "subdomain": "_acme-challenge.full", "type": "TXT"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "_acme-challenge.test.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560187, "subdomain": "_acme-challenge.test",
+        "type": "TXT"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-client._tcp.capsulecd.com", "port": 5222, "priority":
+        20, "ttl": 21600, "record_id": 39559787, "subdomain": "_xmpp-client._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-client._tcp.conference.capsulecd.com", "port":
+        5222, "priority": 20, "ttl": 21600, "record_id": 39559789, "subdomain": "_xmpp-client._tcp.conference",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.capsulecd.com", "port": 5269, "priority":
+        20, "ttl": 21600, "record_id": 39559788, "subdomain": "_xmpp-server._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.conference.capsulecd.com", "port":
+        5269, "priority": 20, "ttl": 21600, "record_id": 39559790, "subdomain": "_xmpp-server._tcp.conference",
+        "type": "SRV"}], "domain": "capsulecd.com", "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['3930']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:46:21 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      transfer-encoding: [chunked]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: POST
+    uri: https://pddimp.yandex.ru/api2/admin/dns/add?domain=capsulecd.com&type=TXT&subdomain=delete.testfqdn&content=challengetoken
+  response:
+    body: {string: !!python/unicode '{"record": {"content": "challengetoken", "domain":
+        "capsulecd.com", "fqdn": "delete.testfqdn.capsulecd.com", "priority": "",
+        "ttl": 21600, "record_id": 39560225, "subdomain": "delete.testfqdn", "type":
+        "TXT"}, "domain": "capsulecd.com", "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['254']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:46:22 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: GET
+    uri: https://pddimp.yandex.ru/api2/admin/dns/list?domain=capsulecd.com
+  response:
+    body: {string: !!python/unicode '{"records": [{"content": "mx.yandex.net.", "domain":
+        "capsulecd.com", "fqdn": "capsulecd.com", "priority": 10, "ttl": 21600, "record_id":
+        39559783, "subdomain": "@", "type": "MX"}, {"content": "dns1.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559782, "subdomain": "@", "type": "NS"}, {"content":
+        "dns2.yandex.net.", "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39559781, "subdomain": "@", "type": "NS"},
+        {"content": "dns1.yandex.net.", "domain": "capsulecd.com", "retry": 900, "fqdn":
+        "capsulecd.com", "refresh": 14400, "admin_mail": "lexicon.test.yandex.ru",
+        "priority": "", "expire": 1209600, "ttl": 21600, "record_id": 39559780, "subdomain":
+        "@", "type": "SOA", "minttl": 14400}, {"content": "v=spf1 redirect=_spf.yandex.net",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559784, "subdomain": "@", "type": "TXT"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "delete.testfqdn.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560225, "subdomain": "delete.testfqdn",
+        "type": "TXT"}, {"content": "docs.example.com.", "domain": "capsulecd.com",
+        "fqdn": "docs.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39560158,
+        "subdomain": "docs", "type": "CNAME"}, {"content": "127.0.0.1", "domain":
+        "capsulecd.com", "fqdn": "localhost.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39560119, "subdomain": "localhost", "type": "A"}, {"content":
+        "domain.mail.yandex.net.", "domain": "capsulecd.com", "fqdn": "mail.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39559969, "subdomain": "mail",
+        "type": "CNAME"}, {"content": "104.31.76.164", "domain": "capsulecd.com",
+        "fqdn": "www.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39559785,
+        "subdomain": "www", "type": "A"}, {"content": "104.31.77.164", "domain": "capsulecd.com",
+        "fqdn": "www.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39559786,
+        "subdomain": "www", "type": "A"}, {"content": "2400:cb00:2048:1::681f:4ca4",
+        "domain": "capsulecd.com", "fqdn": "www.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559791, "subdomain": "www", "type": "AAAA"}, {"content":
+        "2400:cb00:2048:1::681f:4da4", "domain": "capsulecd.com", "fqdn": "www.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39559792, "subdomain": "www", "type":
+        "AAAA"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn":
+        "_acme-challenge.fqdn.capsulecd.com", "priority": "", "ttl": 21600, "record_id":
+        39560183, "subdomain": "_acme-challenge.fqdn", "type": "TXT"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "_acme-challenge.full.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560186, "subdomain": "_acme-challenge.full",
+        "type": "TXT"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn":
+        "_acme-challenge.test.capsulecd.com", "priority": "", "ttl": 21600, "record_id":
+        39560187, "subdomain": "_acme-challenge.test", "type": "TXT"}, {"content":
+        "domain-xmpp.yandex.net.", "domain": "capsulecd.com", "weight": 0, "fqdn":
+        "_xmpp-client._tcp.capsulecd.com", "port": 5222, "priority": 20, "ttl": 21600,
+        "record_id": 39559787, "subdomain": "_xmpp-client._tcp", "type": "SRV"}, {"content":
+        "domain-xmpp.yandex.net.", "domain": "capsulecd.com", "weight": 0, "fqdn":
+        "_xmpp-client._tcp.conference.capsulecd.com", "port": 5222, "priority": 20,
+        "ttl": 21600, "record_id": 39559789, "subdomain": "_xmpp-client._tcp.conference",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.capsulecd.com", "port": 5269, "priority":
+        20, "ttl": 21600, "record_id": 39559788, "subdomain": "_xmpp-server._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.conference.capsulecd.com", "port":
+        5269, "priority": 20, "ttl": 21600, "record_id": 39559790, "subdomain": "_xmpp-server._tcp.conference",
+        "type": "SRV"}], "domain": "capsulecd.com", "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['4129']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:46:22 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      transfer-encoding: [chunked]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: POST
+    uri: https://pddimp.yandex.ru/api2/admin/dns/del?domain=capsulecd.com&record_id=39560225
+  response:
+    body: {string: !!python/unicode '{"record_id": 39560225, "domain": "capsulecd.com",
+        "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['68']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:46:23 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: GET
+    uri: https://pddimp.yandex.ru/api2/admin/dns/list?domain=capsulecd.com
+  response:
+    body: {string: !!python/unicode '{"records": [{"content": "mx.yandex.net.", "domain":
+        "capsulecd.com", "fqdn": "capsulecd.com", "priority": 10, "ttl": 21600, "record_id":
+        39559783, "subdomain": "@", "type": "MX"}, {"content": "dns1.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559782, "subdomain": "@", "type": "NS"}, {"content":
+        "dns2.yandex.net.", "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39559781, "subdomain": "@", "type": "NS"},
+        {"content": "dns1.yandex.net.", "domain": "capsulecd.com", "retry": 900, "fqdn":
+        "capsulecd.com", "refresh": 14400, "admin_mail": "lexicon.test.yandex.ru",
+        "priority": "", "expire": 1209600, "ttl": 21600, "record_id": 39559780, "subdomain":
+        "@", "type": "SOA", "minttl": 14400}, {"content": "v=spf1 redirect=_spf.yandex.net",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559784, "subdomain": "@", "type": "TXT"}, {"content":
+        "docs.example.com.", "domain": "capsulecd.com", "fqdn": "docs.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560158, "subdomain": "docs",
+        "type": "CNAME"}, {"content": "127.0.0.1", "domain": "capsulecd.com", "fqdn":
+        "localhost.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39560119,
+        "subdomain": "localhost", "type": "A"}, {"content": "domain.mail.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "mail.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559969, "subdomain": "mail", "type": "CNAME"}, {"content":
+        "104.31.76.164", "domain": "capsulecd.com", "fqdn": "www.capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39559785, "subdomain": "www", "type": "A"},
+        {"content": "104.31.77.164", "domain": "capsulecd.com", "fqdn": "www.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39559786, "subdomain": "www", "type":
+        "A"}, {"content": "2400:cb00:2048:1::681f:4ca4", "domain": "capsulecd.com",
+        "fqdn": "www.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39559791,
+        "subdomain": "www", "type": "AAAA"}, {"content": "2400:cb00:2048:1::681f:4da4",
+        "domain": "capsulecd.com", "fqdn": "www.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559792, "subdomain": "www", "type": "AAAA"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "_acme-challenge.fqdn.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560183, "subdomain": "_acme-challenge.fqdn",
+        "type": "TXT"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn":
+        "_acme-challenge.full.capsulecd.com", "priority": "", "ttl": 21600, "record_id":
+        39560186, "subdomain": "_acme-challenge.full", "type": "TXT"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "_acme-challenge.test.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560187, "subdomain": "_acme-challenge.test",
+        "type": "TXT"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-client._tcp.capsulecd.com", "port": 5222, "priority":
+        20, "ttl": 21600, "record_id": 39559787, "subdomain": "_xmpp-client._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-client._tcp.conference.capsulecd.com", "port":
+        5222, "priority": 20, "ttl": 21600, "record_id": 39559789, "subdomain": "_xmpp-client._tcp.conference",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.capsulecd.com", "port": 5269, "priority":
+        20, "ttl": 21600, "record_id": 39559788, "subdomain": "_xmpp-server._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.conference.capsulecd.com", "port":
+        5269, "priority": 20, "ttl": 21600, "record_id": 39559790, "subdomain": "_xmpp-server._tcp.conference",
+        "type": "SRV"}], "domain": "capsulecd.com", "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['3930']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:46:24 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      transfer-encoding: [chunked]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+version: 1
diff --git a/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_when_calling_delete_record_by_filter_with_full_name_should_remove_record.yaml b/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_when_calling_delete_record_by_filter_with_full_name_should_remove_record.yaml
new file mode 100644
--- /dev/null
+++ b/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_when_calling_delete_record_by_filter_with_full_name_should_remove_record.yaml
@@ -0,0 +1,291 @@
+interactions:
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: GET
+    uri: https://pddimp.yandex.ru/api2/admin/dns/list?domain=capsulecd.com
+  response:
+    body: {string: !!python/unicode '{"records": [{"content": "mx.yandex.net.", "domain":
+        "capsulecd.com", "fqdn": "capsulecd.com", "priority": 10, "ttl": 21600, "record_id":
+        39559783, "subdomain": "@", "type": "MX"}, {"content": "dns1.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559782, "subdomain": "@", "type": "NS"}, {"content":
+        "dns2.yandex.net.", "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39559781, "subdomain": "@", "type": "NS"},
+        {"content": "dns1.yandex.net.", "domain": "capsulecd.com", "retry": 900, "fqdn":
+        "capsulecd.com", "refresh": 14400, "admin_mail": "lexicon.test.yandex.ru",
+        "priority": "", "expire": 1209600, "ttl": 21600, "record_id": 39559780, "subdomain":
+        "@", "type": "SOA", "minttl": 14400}, {"content": "v=spf1 redirect=_spf.yandex.net",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559784, "subdomain": "@", "type": "TXT"}, {"content":
+        "docs.example.com.", "domain": "capsulecd.com", "fqdn": "docs.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560158, "subdomain": "docs",
+        "type": "CNAME"}, {"content": "127.0.0.1", "domain": "capsulecd.com", "fqdn":
+        "localhost.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39560119,
+        "subdomain": "localhost", "type": "A"}, {"content": "domain.mail.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "mail.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559969, "subdomain": "mail", "type": "CNAME"}, {"content":
+        "104.31.76.164", "domain": "capsulecd.com", "fqdn": "www.capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39559785, "subdomain": "www", "type": "A"},
+        {"content": "104.31.77.164", "domain": "capsulecd.com", "fqdn": "www.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39559786, "subdomain": "www", "type":
+        "A"}, {"content": "2400:cb00:2048:1::681f:4ca4", "domain": "capsulecd.com",
+        "fqdn": "www.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39559791,
+        "subdomain": "www", "type": "AAAA"}, {"content": "2400:cb00:2048:1::681f:4da4",
+        "domain": "capsulecd.com", "fqdn": "www.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559792, "subdomain": "www", "type": "AAAA"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "_acme-challenge.fqdn.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560183, "subdomain": "_acme-challenge.fqdn",
+        "type": "TXT"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn":
+        "_acme-challenge.full.capsulecd.com", "priority": "", "ttl": 21600, "record_id":
+        39560186, "subdomain": "_acme-challenge.full", "type": "TXT"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "_acme-challenge.test.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560187, "subdomain": "_acme-challenge.test",
+        "type": "TXT"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-client._tcp.capsulecd.com", "port": 5222, "priority":
+        20, "ttl": 21600, "record_id": 39559787, "subdomain": "_xmpp-client._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-client._tcp.conference.capsulecd.com", "port":
+        5222, "priority": 20, "ttl": 21600, "record_id": 39559789, "subdomain": "_xmpp-client._tcp.conference",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.capsulecd.com", "port": 5269, "priority":
+        20, "ttl": 21600, "record_id": 39559788, "subdomain": "_xmpp-server._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.conference.capsulecd.com", "port":
+        5269, "priority": 20, "ttl": 21600, "record_id": 39559790, "subdomain": "_xmpp-server._tcp.conference",
+        "type": "SRV"}], "domain": "capsulecd.com", "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['3930']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:46:25 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      transfer-encoding: [chunked]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: POST
+    uri: https://pddimp.yandex.ru/api2/admin/dns/add?domain=capsulecd.com&type=TXT&subdomain=delete.testfull&content=challengetoken
+  response:
+    body: {string: !!python/unicode '{"record": {"content": "challengetoken", "domain":
+        "capsulecd.com", "fqdn": "delete.testfull.capsulecd.com", "priority": "",
+        "ttl": 21600, "record_id": 39560226, "subdomain": "delete.testfull", "type":
+        "TXT"}, "domain": "capsulecd.com", "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['254']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:46:26 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: GET
+    uri: https://pddimp.yandex.ru/api2/admin/dns/list?domain=capsulecd.com
+  response:
+    body: {string: !!python/unicode '{"records": [{"content": "mx.yandex.net.", "domain":
+        "capsulecd.com", "fqdn": "capsulecd.com", "priority": 10, "ttl": 21600, "record_id":
+        39559783, "subdomain": "@", "type": "MX"}, {"content": "dns1.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559782, "subdomain": "@", "type": "NS"}, {"content":
+        "dns2.yandex.net.", "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39559781, "subdomain": "@", "type": "NS"},
+        {"content": "dns1.yandex.net.", "domain": "capsulecd.com", "retry": 900, "fqdn":
+        "capsulecd.com", "refresh": 14400, "admin_mail": "lexicon.test.yandex.ru",
+        "priority": "", "expire": 1209600, "ttl": 21600, "record_id": 39559780, "subdomain":
+        "@", "type": "SOA", "minttl": 14400}, {"content": "v=spf1 redirect=_spf.yandex.net",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559784, "subdomain": "@", "type": "TXT"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "delete.testfull.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560226, "subdomain": "delete.testfull",
+        "type": "TXT"}, {"content": "docs.example.com.", "domain": "capsulecd.com",
+        "fqdn": "docs.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39560158,
+        "subdomain": "docs", "type": "CNAME"}, {"content": "127.0.0.1", "domain":
+        "capsulecd.com", "fqdn": "localhost.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39560119, "subdomain": "localhost", "type": "A"}, {"content":
+        "domain.mail.yandex.net.", "domain": "capsulecd.com", "fqdn": "mail.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39559969, "subdomain": "mail",
+        "type": "CNAME"}, {"content": "104.31.76.164", "domain": "capsulecd.com",
+        "fqdn": "www.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39559785,
+        "subdomain": "www", "type": "A"}, {"content": "104.31.77.164", "domain": "capsulecd.com",
+        "fqdn": "www.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39559786,
+        "subdomain": "www", "type": "A"}, {"content": "2400:cb00:2048:1::681f:4ca4",
+        "domain": "capsulecd.com", "fqdn": "www.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559791, "subdomain": "www", "type": "AAAA"}, {"content":
+        "2400:cb00:2048:1::681f:4da4", "domain": "capsulecd.com", "fqdn": "www.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39559792, "subdomain": "www", "type":
+        "AAAA"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn":
+        "_acme-challenge.fqdn.capsulecd.com", "priority": "", "ttl": 21600, "record_id":
+        39560183, "subdomain": "_acme-challenge.fqdn", "type": "TXT"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "_acme-challenge.full.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560186, "subdomain": "_acme-challenge.full",
+        "type": "TXT"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn":
+        "_acme-challenge.test.capsulecd.com", "priority": "", "ttl": 21600, "record_id":
+        39560187, "subdomain": "_acme-challenge.test", "type": "TXT"}, {"content":
+        "domain-xmpp.yandex.net.", "domain": "capsulecd.com", "weight": 0, "fqdn":
+        "_xmpp-client._tcp.capsulecd.com", "port": 5222, "priority": 20, "ttl": 21600,
+        "record_id": 39559787, "subdomain": "_xmpp-client._tcp", "type": "SRV"}, {"content":
+        "domain-xmpp.yandex.net.", "domain": "capsulecd.com", "weight": 0, "fqdn":
+        "_xmpp-client._tcp.conference.capsulecd.com", "port": 5222, "priority": 20,
+        "ttl": 21600, "record_id": 39559789, "subdomain": "_xmpp-client._tcp.conference",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.capsulecd.com", "port": 5269, "priority":
+        20, "ttl": 21600, "record_id": 39559788, "subdomain": "_xmpp-server._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.conference.capsulecd.com", "port":
+        5269, "priority": 20, "ttl": 21600, "record_id": 39559790, "subdomain": "_xmpp-server._tcp.conference",
+        "type": "SRV"}], "domain": "capsulecd.com", "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['4129']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:46:27 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      transfer-encoding: [chunked]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: POST
+    uri: https://pddimp.yandex.ru/api2/admin/dns/del?domain=capsulecd.com&record_id=39560226
+  response:
+    body: {string: !!python/unicode '{"record_id": 39560226, "domain": "capsulecd.com",
+        "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['68']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:46:28 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: GET
+    uri: https://pddimp.yandex.ru/api2/admin/dns/list?domain=capsulecd.com
+  response:
+    body: {string: !!python/unicode '{"records": [{"content": "mx.yandex.net.", "domain":
+        "capsulecd.com", "fqdn": "capsulecd.com", "priority": 10, "ttl": 21600, "record_id":
+        39559783, "subdomain": "@", "type": "MX"}, {"content": "dns1.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559782, "subdomain": "@", "type": "NS"}, {"content":
+        "dns2.yandex.net.", "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39559781, "subdomain": "@", "type": "NS"},
+        {"content": "dns1.yandex.net.", "domain": "capsulecd.com", "retry": 900, "fqdn":
+        "capsulecd.com", "refresh": 14400, "admin_mail": "lexicon.test.yandex.ru",
+        "priority": "", "expire": 1209600, "ttl": 21600, "record_id": 39559780, "subdomain":
+        "@", "type": "SOA", "minttl": 14400}, {"content": "v=spf1 redirect=_spf.yandex.net",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559784, "subdomain": "@", "type": "TXT"}, {"content":
+        "docs.example.com.", "domain": "capsulecd.com", "fqdn": "docs.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560158, "subdomain": "docs",
+        "type": "CNAME"}, {"content": "127.0.0.1", "domain": "capsulecd.com", "fqdn":
+        "localhost.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39560119,
+        "subdomain": "localhost", "type": "A"}, {"content": "domain.mail.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "mail.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559969, "subdomain": "mail", "type": "CNAME"}, {"content":
+        "104.31.76.164", "domain": "capsulecd.com", "fqdn": "www.capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39559785, "subdomain": "www", "type": "A"},
+        {"content": "104.31.77.164", "domain": "capsulecd.com", "fqdn": "www.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39559786, "subdomain": "www", "type":
+        "A"}, {"content": "2400:cb00:2048:1::681f:4ca4", "domain": "capsulecd.com",
+        "fqdn": "www.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39559791,
+        "subdomain": "www", "type": "AAAA"}, {"content": "2400:cb00:2048:1::681f:4da4",
+        "domain": "capsulecd.com", "fqdn": "www.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559792, "subdomain": "www", "type": "AAAA"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "_acme-challenge.fqdn.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560183, "subdomain": "_acme-challenge.fqdn",
+        "type": "TXT"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn":
+        "_acme-challenge.full.capsulecd.com", "priority": "", "ttl": 21600, "record_id":
+        39560186, "subdomain": "_acme-challenge.full", "type": "TXT"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "_acme-challenge.test.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560187, "subdomain": "_acme-challenge.test",
+        "type": "TXT"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-client._tcp.capsulecd.com", "port": 5222, "priority":
+        20, "ttl": 21600, "record_id": 39559787, "subdomain": "_xmpp-client._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-client._tcp.conference.capsulecd.com", "port":
+        5222, "priority": 20, "ttl": 21600, "record_id": 39559789, "subdomain": "_xmpp-client._tcp.conference",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.capsulecd.com", "port": 5269, "priority":
+        20, "ttl": 21600, "record_id": 39559788, "subdomain": "_xmpp-server._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.conference.capsulecd.com", "port":
+        5269, "priority": 20, "ttl": 21600, "record_id": 39559790, "subdomain": "_xmpp-server._tcp.conference",
+        "type": "SRV"}], "domain": "capsulecd.com", "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['3930']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:46:29 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      transfer-encoding: [chunked]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+version: 1
diff --git a/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_when_calling_delete_record_by_identifier_should_remove_record.yaml b/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_when_calling_delete_record_by_identifier_should_remove_record.yaml
new file mode 100644
--- /dev/null
+++ b/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_when_calling_delete_record_by_identifier_should_remove_record.yaml
@@ -0,0 +1,291 @@
+interactions:
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: GET
+    uri: https://pddimp.yandex.ru/api2/admin/dns/list?domain=capsulecd.com
+  response:
+    body: {string: !!python/unicode '{"records": [{"content": "mx.yandex.net.", "domain":
+        "capsulecd.com", "fqdn": "capsulecd.com", "priority": 10, "ttl": 21600, "record_id":
+        39559783, "subdomain": "@", "type": "MX"}, {"content": "dns1.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559782, "subdomain": "@", "type": "NS"}, {"content":
+        "dns2.yandex.net.", "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39559781, "subdomain": "@", "type": "NS"},
+        {"content": "dns1.yandex.net.", "domain": "capsulecd.com", "retry": 900, "fqdn":
+        "capsulecd.com", "refresh": 14400, "admin_mail": "lexicon.test.yandex.ru",
+        "priority": "", "expire": 1209600, "ttl": 21600, "record_id": 39559780, "subdomain":
+        "@", "type": "SOA", "minttl": 14400}, {"content": "v=spf1 redirect=_spf.yandex.net",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559784, "subdomain": "@", "type": "TXT"}, {"content":
+        "docs.example.com.", "domain": "capsulecd.com", "fqdn": "docs.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560158, "subdomain": "docs",
+        "type": "CNAME"}, {"content": "127.0.0.1", "domain": "capsulecd.com", "fqdn":
+        "localhost.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39560119,
+        "subdomain": "localhost", "type": "A"}, {"content": "domain.mail.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "mail.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559969, "subdomain": "mail", "type": "CNAME"}, {"content":
+        "104.31.76.164", "domain": "capsulecd.com", "fqdn": "www.capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39559785, "subdomain": "www", "type": "A"},
+        {"content": "104.31.77.164", "domain": "capsulecd.com", "fqdn": "www.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39559786, "subdomain": "www", "type":
+        "A"}, {"content": "2400:cb00:2048:1::681f:4ca4", "domain": "capsulecd.com",
+        "fqdn": "www.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39559791,
+        "subdomain": "www", "type": "AAAA"}, {"content": "2400:cb00:2048:1::681f:4da4",
+        "domain": "capsulecd.com", "fqdn": "www.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559792, "subdomain": "www", "type": "AAAA"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "_acme-challenge.fqdn.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560183, "subdomain": "_acme-challenge.fqdn",
+        "type": "TXT"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn":
+        "_acme-challenge.full.capsulecd.com", "priority": "", "ttl": 21600, "record_id":
+        39560186, "subdomain": "_acme-challenge.full", "type": "TXT"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "_acme-challenge.test.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560187, "subdomain": "_acme-challenge.test",
+        "type": "TXT"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-client._tcp.capsulecd.com", "port": 5222, "priority":
+        20, "ttl": 21600, "record_id": 39559787, "subdomain": "_xmpp-client._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-client._tcp.conference.capsulecd.com", "port":
+        5222, "priority": 20, "ttl": 21600, "record_id": 39559789, "subdomain": "_xmpp-client._tcp.conference",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.capsulecd.com", "port": 5269, "priority":
+        20, "ttl": 21600, "record_id": 39559788, "subdomain": "_xmpp-server._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.conference.capsulecd.com", "port":
+        5269, "priority": 20, "ttl": 21600, "record_id": 39559790, "subdomain": "_xmpp-server._tcp.conference",
+        "type": "SRV"}], "domain": "capsulecd.com", "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['3930']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:46:30 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      transfer-encoding: [chunked]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: POST
+    uri: https://pddimp.yandex.ru/api2/admin/dns/add?domain=capsulecd.com&type=TXT&subdomain=delete.testid&content=challengetoken
+  response:
+    body: {string: !!python/unicode '{"record": {"content": "challengetoken", "domain":
+        "capsulecd.com", "fqdn": "delete.testid.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39560227, "subdomain": "delete.testid", "type": "TXT"},
+        "domain": "capsulecd.com", "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['250']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:46:31 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: GET
+    uri: https://pddimp.yandex.ru/api2/admin/dns/list?domain=capsulecd.com
+  response:
+    body: {string: !!python/unicode '{"records": [{"content": "mx.yandex.net.", "domain":
+        "capsulecd.com", "fqdn": "capsulecd.com", "priority": 10, "ttl": 21600, "record_id":
+        39559783, "subdomain": "@", "type": "MX"}, {"content": "dns1.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559782, "subdomain": "@", "type": "NS"}, {"content":
+        "dns2.yandex.net.", "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39559781, "subdomain": "@", "type": "NS"},
+        {"content": "dns1.yandex.net.", "domain": "capsulecd.com", "retry": 900, "fqdn":
+        "capsulecd.com", "refresh": 14400, "admin_mail": "lexicon.test.yandex.ru",
+        "priority": "", "expire": 1209600, "ttl": 21600, "record_id": 39559780, "subdomain":
+        "@", "type": "SOA", "minttl": 14400}, {"content": "v=spf1 redirect=_spf.yandex.net",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559784, "subdomain": "@", "type": "TXT"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "delete.testid.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560227, "subdomain": "delete.testid",
+        "type": "TXT"}, {"content": "docs.example.com.", "domain": "capsulecd.com",
+        "fqdn": "docs.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39560158,
+        "subdomain": "docs", "type": "CNAME"}, {"content": "127.0.0.1", "domain":
+        "capsulecd.com", "fqdn": "localhost.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39560119, "subdomain": "localhost", "type": "A"}, {"content":
+        "domain.mail.yandex.net.", "domain": "capsulecd.com", "fqdn": "mail.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39559969, "subdomain": "mail",
+        "type": "CNAME"}, {"content": "104.31.76.164", "domain": "capsulecd.com",
+        "fqdn": "www.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39559785,
+        "subdomain": "www", "type": "A"}, {"content": "104.31.77.164", "domain": "capsulecd.com",
+        "fqdn": "www.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39559786,
+        "subdomain": "www", "type": "A"}, {"content": "2400:cb00:2048:1::681f:4ca4",
+        "domain": "capsulecd.com", "fqdn": "www.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559791, "subdomain": "www", "type": "AAAA"}, {"content":
+        "2400:cb00:2048:1::681f:4da4", "domain": "capsulecd.com", "fqdn": "www.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39559792, "subdomain": "www", "type":
+        "AAAA"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn":
+        "_acme-challenge.fqdn.capsulecd.com", "priority": "", "ttl": 21600, "record_id":
+        39560183, "subdomain": "_acme-challenge.fqdn", "type": "TXT"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "_acme-challenge.full.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560186, "subdomain": "_acme-challenge.full",
+        "type": "TXT"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn":
+        "_acme-challenge.test.capsulecd.com", "priority": "", "ttl": 21600, "record_id":
+        39560187, "subdomain": "_acme-challenge.test", "type": "TXT"}, {"content":
+        "domain-xmpp.yandex.net.", "domain": "capsulecd.com", "weight": 0, "fqdn":
+        "_xmpp-client._tcp.capsulecd.com", "port": 5222, "priority": 20, "ttl": 21600,
+        "record_id": 39559787, "subdomain": "_xmpp-client._tcp", "type": "SRV"}, {"content":
+        "domain-xmpp.yandex.net.", "domain": "capsulecd.com", "weight": 0, "fqdn":
+        "_xmpp-client._tcp.conference.capsulecd.com", "port": 5222, "priority": 20,
+        "ttl": 21600, "record_id": 39559789, "subdomain": "_xmpp-client._tcp.conference",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.capsulecd.com", "port": 5269, "priority":
+        20, "ttl": 21600, "record_id": 39559788, "subdomain": "_xmpp-server._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.conference.capsulecd.com", "port":
+        5269, "priority": 20, "ttl": 21600, "record_id": 39559790, "subdomain": "_xmpp-server._tcp.conference",
+        "type": "SRV"}], "domain": "capsulecd.com", "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['4125']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:46:32 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      transfer-encoding: [chunked]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: POST
+    uri: https://pddimp.yandex.ru/api2/admin/dns/del?domain=capsulecd.com&record_id=39560227
+  response:
+    body: {string: !!python/unicode '{"record_id": 39560227, "domain": "capsulecd.com",
+        "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['68']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:46:33 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: GET
+    uri: https://pddimp.yandex.ru/api2/admin/dns/list?domain=capsulecd.com
+  response:
+    body: {string: !!python/unicode '{"records": [{"content": "mx.yandex.net.", "domain":
+        "capsulecd.com", "fqdn": "capsulecd.com", "priority": 10, "ttl": 21600, "record_id":
+        39559783, "subdomain": "@", "type": "MX"}, {"content": "dns1.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559782, "subdomain": "@", "type": "NS"}, {"content":
+        "dns2.yandex.net.", "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39559781, "subdomain": "@", "type": "NS"},
+        {"content": "dns1.yandex.net.", "domain": "capsulecd.com", "retry": 900, "fqdn":
+        "capsulecd.com", "refresh": 14400, "admin_mail": "lexicon.test.yandex.ru",
+        "priority": "", "expire": 1209600, "ttl": 21600, "record_id": 39559780, "subdomain":
+        "@", "type": "SOA", "minttl": 14400}, {"content": "v=spf1 redirect=_spf.yandex.net",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559784, "subdomain": "@", "type": "TXT"}, {"content":
+        "docs.example.com.", "domain": "capsulecd.com", "fqdn": "docs.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560158, "subdomain": "docs",
+        "type": "CNAME"}, {"content": "127.0.0.1", "domain": "capsulecd.com", "fqdn":
+        "localhost.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39560119,
+        "subdomain": "localhost", "type": "A"}, {"content": "domain.mail.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "mail.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559969, "subdomain": "mail", "type": "CNAME"}, {"content":
+        "104.31.76.164", "domain": "capsulecd.com", "fqdn": "www.capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39559785, "subdomain": "www", "type": "A"},
+        {"content": "104.31.77.164", "domain": "capsulecd.com", "fqdn": "www.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39559786, "subdomain": "www", "type":
+        "A"}, {"content": "2400:cb00:2048:1::681f:4ca4", "domain": "capsulecd.com",
+        "fqdn": "www.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39559791,
+        "subdomain": "www", "type": "AAAA"}, {"content": "2400:cb00:2048:1::681f:4da4",
+        "domain": "capsulecd.com", "fqdn": "www.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559792, "subdomain": "www", "type": "AAAA"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "_acme-challenge.fqdn.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560183, "subdomain": "_acme-challenge.fqdn",
+        "type": "TXT"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn":
+        "_acme-challenge.full.capsulecd.com", "priority": "", "ttl": 21600, "record_id":
+        39560186, "subdomain": "_acme-challenge.full", "type": "TXT"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "_acme-challenge.test.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560187, "subdomain": "_acme-challenge.test",
+        "type": "TXT"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-client._tcp.capsulecd.com", "port": 5222, "priority":
+        20, "ttl": 21600, "record_id": 39559787, "subdomain": "_xmpp-client._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-client._tcp.conference.capsulecd.com", "port":
+        5222, "priority": 20, "ttl": 21600, "record_id": 39559789, "subdomain": "_xmpp-client._tcp.conference",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.capsulecd.com", "port": 5269, "priority":
+        20, "ttl": 21600, "record_id": 39559788, "subdomain": "_xmpp-server._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.conference.capsulecd.com", "port":
+        5269, "priority": 20, "ttl": 21600, "record_id": 39559790, "subdomain": "_xmpp-server._tcp.conference",
+        "type": "SRV"}], "domain": "capsulecd.com", "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['3930']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:46:35 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      transfer-encoding: [chunked]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+version: 1
diff --git a/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_when_calling_list_records_after_setting_ttl.yaml b/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_when_calling_list_records_after_setting_ttl.yaml
new file mode 100644
--- /dev/null
+++ b/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_when_calling_list_records_after_setting_ttl.yaml
@@ -0,0 +1,201 @@
+interactions:
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: GET
+    uri: https://pddimp.yandex.ru/api2/admin/dns/list?domain=capsulecd.com
+  response:
+    body: {string: !!python/unicode '{"records": [{"content": "mx.yandex.net.", "domain":
+        "capsulecd.com", "fqdn": "capsulecd.com", "priority": 10, "ttl": 21600, "record_id":
+        39559783, "subdomain": "@", "type": "MX"}, {"content": "dns1.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559782, "subdomain": "@", "type": "NS"}, {"content":
+        "dns2.yandex.net.", "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39559781, "subdomain": "@", "type": "NS"},
+        {"content": "dns1.yandex.net.", "domain": "capsulecd.com", "retry": 900, "fqdn":
+        "capsulecd.com", "refresh": 14400, "admin_mail": "lexicon.test.yandex.ru",
+        "priority": "", "expire": 1209600, "ttl": 21600, "record_id": 39559780, "subdomain":
+        "@", "type": "SOA", "minttl": 14400}, {"content": "v=spf1 redirect=_spf.yandex.net",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559784, "subdomain": "@", "type": "TXT"}, {"content":
+        "docs.example.com.", "domain": "capsulecd.com", "fqdn": "docs.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560158, "subdomain": "docs",
+        "type": "CNAME"}, {"content": "127.0.0.1", "domain": "capsulecd.com", "fqdn":
+        "localhost.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39560119,
+        "subdomain": "localhost", "type": "A"}, {"content": "domain.mail.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "mail.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559969, "subdomain": "mail", "type": "CNAME"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "random.fqdntest.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560246, "subdomain": "random.fqdntest",
+        "type": "TXT"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn":
+        "random.fulltest.capsulecd.com", "priority": "", "ttl": 21600, "record_id":
+        39560247, "subdomain": "random.fulltest", "type": "TXT"}, {"content": "challengetoken",
+        "domain": "capsulecd.com", "fqdn": "random.test.capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39560259, "subdomain": "random.test", "type":
+        "TXT"}, {"content": "104.31.76.164", "domain": "capsulecd.com", "fqdn": "www.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39559785, "subdomain": "www", "type":
+        "A"}, {"content": "104.31.77.164", "domain": "capsulecd.com", "fqdn": "www.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39559786, "subdomain": "www", "type":
+        "A"}, {"content": "2400:cb00:2048:1::681f:4ca4", "domain": "capsulecd.com",
+        "fqdn": "www.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39559791,
+        "subdomain": "www", "type": "AAAA"}, {"content": "2400:cb00:2048:1::681f:4da4",
+        "domain": "capsulecd.com", "fqdn": "www.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559792, "subdomain": "www", "type": "AAAA"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "_acme-challenge.fqdn.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560183, "subdomain": "_acme-challenge.fqdn",
+        "type": "TXT"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn":
+        "_acme-challenge.full.capsulecd.com", "priority": "", "ttl": 21600, "record_id":
+        39560186, "subdomain": "_acme-challenge.full", "type": "TXT"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "_acme-challenge.test.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560187, "subdomain": "_acme-challenge.test",
+        "type": "TXT"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-client._tcp.capsulecd.com", "port": 5222, "priority":
+        20, "ttl": 21600, "record_id": 39559787, "subdomain": "_xmpp-client._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-client._tcp.conference.capsulecd.com", "port":
+        5222, "priority": 20, "ttl": 21600, "record_id": 39559789, "subdomain": "_xmpp-client._tcp.conference",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.capsulecd.com", "port": 5269, "priority":
+        20, "ttl": 21600, "record_id": 39559788, "subdomain": "_xmpp-server._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.conference.capsulecd.com", "port":
+        5269, "priority": 20, "ttl": 21600, "record_id": 39559790, "subdomain": "_xmpp-server._tcp.conference",
+        "type": "SRV"}], "domain": "capsulecd.com", "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['4519']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:53:37 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      transfer-encoding: [chunked]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: POST
+    uri: https://pddimp.yandex.ru/api2/admin/dns/add?domain=capsulecd.com&type=TXT&subdomain=ttl.fqdn&content=ttlshouldbe3600&ttl=3600
+  response:
+    body: {string: !!python/unicode '{"record": {"content": "ttlshouldbe3600", "domain":
+        "capsulecd.com", "fqdn": "ttl.fqdn.capsulecd.com", "priority": "", "ttl":
+        3600, "record_id": 39560388, "subdomain": "ttl.fqdn", "type": "TXT"}, "domain":
+        "capsulecd.com", "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['240']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:53:38 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: GET
+    uri: https://pddimp.yandex.ru/api2/admin/dns/list?domain=capsulecd.com
+  response:
+    body: {string: !!python/unicode '{"records": [{"content": "mx.yandex.net.", "domain":
+        "capsulecd.com", "fqdn": "capsulecd.com", "priority": 10, "ttl": 21600, "record_id":
+        39559783, "subdomain": "@", "type": "MX"}, {"content": "dns1.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559782, "subdomain": "@", "type": "NS"}, {"content":
+        "dns2.yandex.net.", "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39559781, "subdomain": "@", "type": "NS"},
+        {"content": "dns1.yandex.net.", "domain": "capsulecd.com", "retry": 900, "fqdn":
+        "capsulecd.com", "refresh": 14400, "admin_mail": "lexicon.test.yandex.ru",
+        "priority": "", "expire": 1209600, "ttl": 21600, "record_id": 39559780, "subdomain":
+        "@", "type": "SOA", "minttl": 14400}, {"content": "v=spf1 redirect=_spf.yandex.net",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559784, "subdomain": "@", "type": "TXT"}, {"content":
+        "docs.example.com.", "domain": "capsulecd.com", "fqdn": "docs.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560158, "subdomain": "docs",
+        "type": "CNAME"}, {"content": "127.0.0.1", "domain": "capsulecd.com", "fqdn":
+        "localhost.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39560119,
+        "subdomain": "localhost", "type": "A"}, {"content": "domain.mail.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "mail.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559969, "subdomain": "mail", "type": "CNAME"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "random.fqdntest.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560246, "subdomain": "random.fqdntest",
+        "type": "TXT"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn":
+        "random.fulltest.capsulecd.com", "priority": "", "ttl": 21600, "record_id":
+        39560247, "subdomain": "random.fulltest", "type": "TXT"}, {"content": "challengetoken",
+        "domain": "capsulecd.com", "fqdn": "random.test.capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39560259, "subdomain": "random.test", "type":
+        "TXT"}, {"content": "ttlshouldbe3600", "domain": "capsulecd.com", "fqdn":
+        "ttl.fqdn.capsulecd.com", "priority": "", "ttl": 3600, "record_id": 39560388,
+        "subdomain": "ttl.fqdn", "type": "TXT"}, {"content": "104.31.76.164", "domain":
+        "capsulecd.com", "fqdn": "www.capsulecd.com", "priority": "", "ttl": 21600,
+        "record_id": 39559785, "subdomain": "www", "type": "A"}, {"content": "104.31.77.164",
+        "domain": "capsulecd.com", "fqdn": "www.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559786, "subdomain": "www", "type": "A"}, {"content":
+        "2400:cb00:2048:1::681f:4ca4", "domain": "capsulecd.com", "fqdn": "www.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39559791, "subdomain": "www", "type":
+        "AAAA"}, {"content": "2400:cb00:2048:1::681f:4da4", "domain": "capsulecd.com",
+        "fqdn": "www.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39559792,
+        "subdomain": "www", "type": "AAAA"}, {"content": "challengetoken", "domain":
+        "capsulecd.com", "fqdn": "_acme-challenge.fqdn.capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39560183, "subdomain": "_acme-challenge.fqdn",
+        "type": "TXT"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn":
+        "_acme-challenge.full.capsulecd.com", "priority": "", "ttl": 21600, "record_id":
+        39560186, "subdomain": "_acme-challenge.full", "type": "TXT"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "_acme-challenge.test.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560187, "subdomain": "_acme-challenge.test",
+        "type": "TXT"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-client._tcp.capsulecd.com", "port": 5222, "priority":
+        20, "ttl": 21600, "record_id": 39559787, "subdomain": "_xmpp-client._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-client._tcp.conference.capsulecd.com", "port":
+        5222, "priority": 20, "ttl": 21600, "record_id": 39559789, "subdomain": "_xmpp-client._tcp.conference",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.capsulecd.com", "port": 5269, "priority":
+        20, "ttl": 21600, "record_id": 39559788, "subdomain": "_xmpp-server._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.conference.capsulecd.com", "port":
+        5269, "priority": 20, "ttl": 21600, "record_id": 39559790, "subdomain": "_xmpp-server._tcp.conference",
+        "type": "SRV"}], "domain": "capsulecd.com", "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['4704']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:53:39 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      transfer-encoding: [chunked]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+version: 1
diff --git a/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_when_calling_list_records_with_fqdn_name_filter_should_return_record.yaml b/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_when_calling_list_records_with_fqdn_name_filter_should_return_record.yaml
new file mode 100644
--- /dev/null
+++ b/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_when_calling_list_records_with_fqdn_name_filter_should_return_record.yaml
@@ -0,0 +1,192 @@
+interactions:
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: GET
+    uri: https://pddimp.yandex.ru/api2/admin/dns/list?domain=capsulecd.com
+  response:
+    body: {string: !!python/unicode '{"records": [{"content": "mx.yandex.net.", "domain":
+        "capsulecd.com", "fqdn": "capsulecd.com", "priority": 10, "ttl": 21600, "record_id":
+        39559783, "subdomain": "@", "type": "MX"}, {"content": "dns1.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559782, "subdomain": "@", "type": "NS"}, {"content":
+        "dns2.yandex.net.", "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39559781, "subdomain": "@", "type": "NS"},
+        {"content": "dns1.yandex.net.", "domain": "capsulecd.com", "retry": 900, "fqdn":
+        "capsulecd.com", "refresh": 14400, "admin_mail": "lexicon.test.yandex.ru",
+        "priority": "", "expire": 1209600, "ttl": 21600, "record_id": 39559780, "subdomain":
+        "@", "type": "SOA", "minttl": 14400}, {"content": "v=spf1 redirect=_spf.yandex.net",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559784, "subdomain": "@", "type": "TXT"}, {"content":
+        "docs.example.com.", "domain": "capsulecd.com", "fqdn": "docs.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560158, "subdomain": "docs",
+        "type": "CNAME"}, {"content": "127.0.0.1", "domain": "capsulecd.com", "fqdn":
+        "localhost.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39560119,
+        "subdomain": "localhost", "type": "A"}, {"content": "domain.mail.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "mail.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559969, "subdomain": "mail", "type": "CNAME"}, {"content":
+        "ttlshouldbe3600", "domain": "capsulecd.com", "fqdn": "ttl.fqdn.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560245, "subdomain": "ttl.fqdn",
+        "type": "TXT"}, {"content": "104.31.76.164", "domain": "capsulecd.com", "fqdn":
+        "www.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39559785,
+        "subdomain": "www", "type": "A"}, {"content": "104.31.77.164", "domain": "capsulecd.com",
+        "fqdn": "www.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39559786,
+        "subdomain": "www", "type": "A"}, {"content": "2400:cb00:2048:1::681f:4ca4",
+        "domain": "capsulecd.com", "fqdn": "www.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559791, "subdomain": "www", "type": "AAAA"}, {"content":
+        "2400:cb00:2048:1::681f:4da4", "domain": "capsulecd.com", "fqdn": "www.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39559792, "subdomain": "www", "type":
+        "AAAA"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn":
+        "_acme-challenge.fqdn.capsulecd.com", "priority": "", "ttl": 21600, "record_id":
+        39560183, "subdomain": "_acme-challenge.fqdn", "type": "TXT"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "_acme-challenge.full.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560186, "subdomain": "_acme-challenge.full",
+        "type": "TXT"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn":
+        "_acme-challenge.test.capsulecd.com", "priority": "", "ttl": 21600, "record_id":
+        39560187, "subdomain": "_acme-challenge.test", "type": "TXT"}, {"content":
+        "domain-xmpp.yandex.net.", "domain": "capsulecd.com", "weight": 0, "fqdn":
+        "_xmpp-client._tcp.capsulecd.com", "port": 5222, "priority": 20, "ttl": 21600,
+        "record_id": 39559787, "subdomain": "_xmpp-client._tcp", "type": "SRV"}, {"content":
+        "domain-xmpp.yandex.net.", "domain": "capsulecd.com", "weight": 0, "fqdn":
+        "_xmpp-client._tcp.conference.capsulecd.com", "port": 5222, "priority": 20,
+        "ttl": 21600, "record_id": 39559789, "subdomain": "_xmpp-client._tcp.conference",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.capsulecd.com", "port": 5269, "priority":
+        20, "ttl": 21600, "record_id": 39559788, "subdomain": "_xmpp-server._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.conference.capsulecd.com", "port":
+        5269, "priority": 20, "ttl": 21600, "record_id": 39559790, "subdomain": "_xmpp-server._tcp.conference",
+        "type": "SRV"}], "domain": "capsulecd.com", "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['4116']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:47:07 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      transfer-encoding: [chunked]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: POST
+    uri: https://pddimp.yandex.ru/api2/admin/dns/add?domain=capsulecd.com&type=TXT&subdomain=random.fqdntest&content=challengetoken
+  response:
+    body: {string: !!python/unicode '{"record": {"content": "challengetoken", "domain":
+        "capsulecd.com", "fqdn": "random.fqdntest.capsulecd.com", "priority": "",
+        "ttl": 21600, "record_id": 39560246, "subdomain": "random.fqdntest", "type":
+        "TXT"}, "domain": "capsulecd.com", "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['254']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:47:08 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: GET
+    uri: https://pddimp.yandex.ru/api2/admin/dns/list?domain=capsulecd.com
+  response:
+    body: {string: !!python/unicode '{"records": [{"content": "mx.yandex.net.", "domain":
+        "capsulecd.com", "fqdn": "capsulecd.com", "priority": 10, "ttl": 21600, "record_id":
+        39559783, "subdomain": "@", "type": "MX"}, {"content": "dns1.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559782, "subdomain": "@", "type": "NS"}, {"content":
+        "dns2.yandex.net.", "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39559781, "subdomain": "@", "type": "NS"},
+        {"content": "dns1.yandex.net.", "domain": "capsulecd.com", "retry": 900, "fqdn":
+        "capsulecd.com", "refresh": 14400, "admin_mail": "lexicon.test.yandex.ru",
+        "priority": "", "expire": 1209600, "ttl": 21600, "record_id": 39559780, "subdomain":
+        "@", "type": "SOA", "minttl": 14400}, {"content": "v=spf1 redirect=_spf.yandex.net",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559784, "subdomain": "@", "type": "TXT"}, {"content":
+        "docs.example.com.", "domain": "capsulecd.com", "fqdn": "docs.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560158, "subdomain": "docs",
+        "type": "CNAME"}, {"content": "127.0.0.1", "domain": "capsulecd.com", "fqdn":
+        "localhost.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39560119,
+        "subdomain": "localhost", "type": "A"}, {"content": "domain.mail.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "mail.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559969, "subdomain": "mail", "type": "CNAME"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "random.fqdntest.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560246, "subdomain": "random.fqdntest",
+        "type": "TXT"}, {"content": "ttlshouldbe3600", "domain": "capsulecd.com",
+        "fqdn": "ttl.fqdn.capsulecd.com", "priority": "", "ttl": 21600, "record_id":
+        39560245, "subdomain": "ttl.fqdn", "type": "TXT"}, {"content": "104.31.76.164",
+        "domain": "capsulecd.com", "fqdn": "www.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559785, "subdomain": "www", "type": "A"}, {"content":
+        "104.31.77.164", "domain": "capsulecd.com", "fqdn": "www.capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39559786, "subdomain": "www", "type": "A"},
+        {"content": "2400:cb00:2048:1::681f:4ca4", "domain": "capsulecd.com", "fqdn":
+        "www.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39559791,
+        "subdomain": "www", "type": "AAAA"}, {"content": "2400:cb00:2048:1::681f:4da4",
+        "domain": "capsulecd.com", "fqdn": "www.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559792, "subdomain": "www", "type": "AAAA"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "_acme-challenge.fqdn.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560183, "subdomain": "_acme-challenge.fqdn",
+        "type": "TXT"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn":
+        "_acme-challenge.full.capsulecd.com", "priority": "", "ttl": 21600, "record_id":
+        39560186, "subdomain": "_acme-challenge.full", "type": "TXT"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "_acme-challenge.test.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560187, "subdomain": "_acme-challenge.test",
+        "type": "TXT"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-client._tcp.capsulecd.com", "port": 5222, "priority":
+        20, "ttl": 21600, "record_id": 39559787, "subdomain": "_xmpp-client._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-client._tcp.conference.capsulecd.com", "port":
+        5222, "priority": 20, "ttl": 21600, "record_id": 39559789, "subdomain": "_xmpp-client._tcp.conference",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.capsulecd.com", "port": 5269, "priority":
+        20, "ttl": 21600, "record_id": 39559788, "subdomain": "_xmpp-server._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.conference.capsulecd.com", "port":
+        5269, "priority": 20, "ttl": 21600, "record_id": 39559790, "subdomain": "_xmpp-server._tcp.conference",
+        "type": "SRV"}], "domain": "capsulecd.com", "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['4315']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:47:09 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      transfer-encoding: [chunked]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+version: 1
diff --git a/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_when_calling_list_records_with_full_name_filter_should_return_record.yaml b/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_when_calling_list_records_with_full_name_filter_should_return_record.yaml
new file mode 100644
--- /dev/null
+++ b/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_when_calling_list_records_with_full_name_filter_should_return_record.yaml
@@ -0,0 +1,196 @@
+interactions:
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: GET
+    uri: https://pddimp.yandex.ru/api2/admin/dns/list?domain=capsulecd.com
+  response:
+    body: {string: !!python/unicode '{"records": [{"content": "mx.yandex.net.", "domain":
+        "capsulecd.com", "fqdn": "capsulecd.com", "priority": 10, "ttl": 21600, "record_id":
+        39559783, "subdomain": "@", "type": "MX"}, {"content": "dns1.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559782, "subdomain": "@", "type": "NS"}, {"content":
+        "dns2.yandex.net.", "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39559781, "subdomain": "@", "type": "NS"},
+        {"content": "dns1.yandex.net.", "domain": "capsulecd.com", "retry": 900, "fqdn":
+        "capsulecd.com", "refresh": 14400, "admin_mail": "lexicon.test.yandex.ru",
+        "priority": "", "expire": 1209600, "ttl": 21600, "record_id": 39559780, "subdomain":
+        "@", "type": "SOA", "minttl": 14400}, {"content": "v=spf1 redirect=_spf.yandex.net",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559784, "subdomain": "@", "type": "TXT"}, {"content":
+        "docs.example.com.", "domain": "capsulecd.com", "fqdn": "docs.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560158, "subdomain": "docs",
+        "type": "CNAME"}, {"content": "127.0.0.1", "domain": "capsulecd.com", "fqdn":
+        "localhost.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39560119,
+        "subdomain": "localhost", "type": "A"}, {"content": "domain.mail.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "mail.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559969, "subdomain": "mail", "type": "CNAME"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "random.fqdntest.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560246, "subdomain": "random.fqdntest",
+        "type": "TXT"}, {"content": "ttlshouldbe3600", "domain": "capsulecd.com",
+        "fqdn": "ttl.fqdn.capsulecd.com", "priority": "", "ttl": 21600, "record_id":
+        39560245, "subdomain": "ttl.fqdn", "type": "TXT"}, {"content": "104.31.76.164",
+        "domain": "capsulecd.com", "fqdn": "www.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559785, "subdomain": "www", "type": "A"}, {"content":
+        "104.31.77.164", "domain": "capsulecd.com", "fqdn": "www.capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39559786, "subdomain": "www", "type": "A"},
+        {"content": "2400:cb00:2048:1::681f:4ca4", "domain": "capsulecd.com", "fqdn":
+        "www.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39559791,
+        "subdomain": "www", "type": "AAAA"}, {"content": "2400:cb00:2048:1::681f:4da4",
+        "domain": "capsulecd.com", "fqdn": "www.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559792, "subdomain": "www", "type": "AAAA"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "_acme-challenge.fqdn.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560183, "subdomain": "_acme-challenge.fqdn",
+        "type": "TXT"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn":
+        "_acme-challenge.full.capsulecd.com", "priority": "", "ttl": 21600, "record_id":
+        39560186, "subdomain": "_acme-challenge.full", "type": "TXT"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "_acme-challenge.test.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560187, "subdomain": "_acme-challenge.test",
+        "type": "TXT"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-client._tcp.capsulecd.com", "port": 5222, "priority":
+        20, "ttl": 21600, "record_id": 39559787, "subdomain": "_xmpp-client._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-client._tcp.conference.capsulecd.com", "port":
+        5222, "priority": 20, "ttl": 21600, "record_id": 39559789, "subdomain": "_xmpp-client._tcp.conference",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.capsulecd.com", "port": 5269, "priority":
+        20, "ttl": 21600, "record_id": 39559788, "subdomain": "_xmpp-server._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.conference.capsulecd.com", "port":
+        5269, "priority": 20, "ttl": 21600, "record_id": 39559790, "subdomain": "_xmpp-server._tcp.conference",
+        "type": "SRV"}], "domain": "capsulecd.com", "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['4315']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:47:09 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      transfer-encoding: [chunked]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: POST
+    uri: https://pddimp.yandex.ru/api2/admin/dns/add?domain=capsulecd.com&type=TXT&subdomain=random.fulltest&content=challengetoken
+  response:
+    body: {string: !!python/unicode '{"record": {"content": "challengetoken", "domain":
+        "capsulecd.com", "fqdn": "random.fulltest.capsulecd.com", "priority": "",
+        "ttl": 21600, "record_id": 39560247, "subdomain": "random.fulltest", "type":
+        "TXT"}, "domain": "capsulecd.com", "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['254']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:47:10 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: GET
+    uri: https://pddimp.yandex.ru/api2/admin/dns/list?domain=capsulecd.com
+  response:
+    body: {string: !!python/unicode '{"records": [{"content": "mx.yandex.net.", "domain":
+        "capsulecd.com", "fqdn": "capsulecd.com", "priority": 10, "ttl": 21600, "record_id":
+        39559783, "subdomain": "@", "type": "MX"}, {"content": "dns1.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559782, "subdomain": "@", "type": "NS"}, {"content":
+        "dns2.yandex.net.", "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39559781, "subdomain": "@", "type": "NS"},
+        {"content": "dns1.yandex.net.", "domain": "capsulecd.com", "retry": 900, "fqdn":
+        "capsulecd.com", "refresh": 14400, "admin_mail": "lexicon.test.yandex.ru",
+        "priority": "", "expire": 1209600, "ttl": 21600, "record_id": 39559780, "subdomain":
+        "@", "type": "SOA", "minttl": 14400}, {"content": "v=spf1 redirect=_spf.yandex.net",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559784, "subdomain": "@", "type": "TXT"}, {"content":
+        "docs.example.com.", "domain": "capsulecd.com", "fqdn": "docs.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560158, "subdomain": "docs",
+        "type": "CNAME"}, {"content": "127.0.0.1", "domain": "capsulecd.com", "fqdn":
+        "localhost.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39560119,
+        "subdomain": "localhost", "type": "A"}, {"content": "domain.mail.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "mail.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559969, "subdomain": "mail", "type": "CNAME"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "random.fqdntest.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560246, "subdomain": "random.fqdntest",
+        "type": "TXT"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn":
+        "random.fulltest.capsulecd.com", "priority": "", "ttl": 21600, "record_id":
+        39560247, "subdomain": "random.fulltest", "type": "TXT"}, {"content": "ttlshouldbe3600",
+        "domain": "capsulecd.com", "fqdn": "ttl.fqdn.capsulecd.com", "priority": "",
+        "ttl": 21600, "record_id": 39560245, "subdomain": "ttl.fqdn", "type": "TXT"},
+        {"content": "104.31.76.164", "domain": "capsulecd.com", "fqdn": "www.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39559785, "subdomain": "www", "type":
+        "A"}, {"content": "104.31.77.164", "domain": "capsulecd.com", "fqdn": "www.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39559786, "subdomain": "www", "type":
+        "A"}, {"content": "2400:cb00:2048:1::681f:4ca4", "domain": "capsulecd.com",
+        "fqdn": "www.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39559791,
+        "subdomain": "www", "type": "AAAA"}, {"content": "2400:cb00:2048:1::681f:4da4",
+        "domain": "capsulecd.com", "fqdn": "www.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559792, "subdomain": "www", "type": "AAAA"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "_acme-challenge.fqdn.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560183, "subdomain": "_acme-challenge.fqdn",
+        "type": "TXT"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn":
+        "_acme-challenge.full.capsulecd.com", "priority": "", "ttl": 21600, "record_id":
+        39560186, "subdomain": "_acme-challenge.full", "type": "TXT"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "_acme-challenge.test.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560187, "subdomain": "_acme-challenge.test",
+        "type": "TXT"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-client._tcp.capsulecd.com", "port": 5222, "priority":
+        20, "ttl": 21600, "record_id": 39559787, "subdomain": "_xmpp-client._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-client._tcp.conference.capsulecd.com", "port":
+        5222, "priority": 20, "ttl": 21600, "record_id": 39559789, "subdomain": "_xmpp-client._tcp.conference",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.capsulecd.com", "port": 5269, "priority":
+        20, "ttl": 21600, "record_id": 39559788, "subdomain": "_xmpp-server._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.conference.capsulecd.com", "port":
+        5269, "priority": 20, "ttl": 21600, "record_id": 39559790, "subdomain": "_xmpp-server._tcp.conference",
+        "type": "SRV"}], "domain": "capsulecd.com", "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['4514']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:47:11 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      transfer-encoding: [chunked]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+version: 1
diff --git a/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_when_calling_list_records_with_name_filter_should_return_record.yaml b/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_when_calling_list_records_with_name_filter_should_return_record.yaml
new file mode 100644
--- /dev/null
+++ b/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_when_calling_list_records_with_name_filter_should_return_record.yaml
@@ -0,0 +1,201 @@
+interactions:
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: GET
+    uri: https://pddimp.yandex.ru/api2/admin/dns/list?domain=capsulecd.com
+  response:
+    body: {string: !!python/unicode '{"records": [{"content": "mx.yandex.net.", "domain":
+        "capsulecd.com", "fqdn": "capsulecd.com", "priority": 10, "ttl": 21600, "record_id":
+        39559783, "subdomain": "@", "type": "MX"}, {"content": "dns1.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559782, "subdomain": "@", "type": "NS"}, {"content":
+        "dns2.yandex.net.", "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39559781, "subdomain": "@", "type": "NS"},
+        {"content": "dns1.yandex.net.", "domain": "capsulecd.com", "retry": 900, "fqdn":
+        "capsulecd.com", "refresh": 14400, "admin_mail": "lexicon.test.yandex.ru",
+        "priority": "", "expire": 1209600, "ttl": 21600, "record_id": 39559780, "subdomain":
+        "@", "type": "SOA", "minttl": 14400}, {"content": "v=spf1 redirect=_spf.yandex.net",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559784, "subdomain": "@", "type": "TXT"}, {"content":
+        "docs.example.com.", "domain": "capsulecd.com", "fqdn": "docs.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560158, "subdomain": "docs",
+        "type": "CNAME"}, {"content": "127.0.0.1", "domain": "capsulecd.com", "fqdn":
+        "localhost.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39560119,
+        "subdomain": "localhost", "type": "A"}, {"content": "domain.mail.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "mail.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559969, "subdomain": "mail", "type": "CNAME"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "random.fqdntest.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560246, "subdomain": "random.fqdntest",
+        "type": "TXT"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn":
+        "random.fulltest.capsulecd.com", "priority": "", "ttl": 21600, "record_id":
+        39560247, "subdomain": "random.fulltest", "type": "TXT"}, {"content": "ttlshouldbe3600",
+        "domain": "capsulecd.com", "fqdn": "ttl.fqdn.capsulecd.com", "priority": "",
+        "ttl": 21600, "record_id": 39560245, "subdomain": "ttl.fqdn", "type": "TXT"},
+        {"content": "104.31.76.164", "domain": "capsulecd.com", "fqdn": "www.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39559785, "subdomain": "www", "type":
+        "A"}, {"content": "104.31.77.164", "domain": "capsulecd.com", "fqdn": "www.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39559786, "subdomain": "www", "type":
+        "A"}, {"content": "2400:cb00:2048:1::681f:4ca4", "domain": "capsulecd.com",
+        "fqdn": "www.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39559791,
+        "subdomain": "www", "type": "AAAA"}, {"content": "2400:cb00:2048:1::681f:4da4",
+        "domain": "capsulecd.com", "fqdn": "www.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559792, "subdomain": "www", "type": "AAAA"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "_acme-challenge.fqdn.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560183, "subdomain": "_acme-challenge.fqdn",
+        "type": "TXT"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn":
+        "_acme-challenge.full.capsulecd.com", "priority": "", "ttl": 21600, "record_id":
+        39560186, "subdomain": "_acme-challenge.full", "type": "TXT"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "_acme-challenge.test.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560187, "subdomain": "_acme-challenge.test",
+        "type": "TXT"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-client._tcp.capsulecd.com", "port": 5222, "priority":
+        20, "ttl": 21600, "record_id": 39559787, "subdomain": "_xmpp-client._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-client._tcp.conference.capsulecd.com", "port":
+        5222, "priority": 20, "ttl": 21600, "record_id": 39559789, "subdomain": "_xmpp-client._tcp.conference",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.capsulecd.com", "port": 5269, "priority":
+        20, "ttl": 21600, "record_id": 39559788, "subdomain": "_xmpp-server._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.conference.capsulecd.com", "port":
+        5269, "priority": 20, "ttl": 21600, "record_id": 39559790, "subdomain": "_xmpp-server._tcp.conference",
+        "type": "SRV"}], "domain": "capsulecd.com", "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['4514']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:47:13 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      transfer-encoding: [chunked]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: POST
+    uri: https://pddimp.yandex.ru/api2/admin/dns/add?domain=capsulecd.com&type=TXT&subdomain=random.test&content=challengetoken
+  response:
+    body: {string: !!python/unicode '{"record": {"content": "challengetoken", "domain":
+        "capsulecd.com", "fqdn": "random.test.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39560259, "subdomain": "random.test", "type": "TXT"},
+        "domain": "capsulecd.com", "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['246']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:47:13 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: GET
+    uri: https://pddimp.yandex.ru/api2/admin/dns/list?domain=capsulecd.com
+  response:
+    body: {string: !!python/unicode '{"records": [{"content": "mx.yandex.net.", "domain":
+        "capsulecd.com", "fqdn": "capsulecd.com", "priority": 10, "ttl": 21600, "record_id":
+        39559783, "subdomain": "@", "type": "MX"}, {"content": "dns1.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559782, "subdomain": "@", "type": "NS"}, {"content":
+        "dns2.yandex.net.", "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39559781, "subdomain": "@", "type": "NS"},
+        {"content": "dns1.yandex.net.", "domain": "capsulecd.com", "retry": 900, "fqdn":
+        "capsulecd.com", "refresh": 14400, "admin_mail": "lexicon.test.yandex.ru",
+        "priority": "", "expire": 1209600, "ttl": 21600, "record_id": 39559780, "subdomain":
+        "@", "type": "SOA", "minttl": 14400}, {"content": "v=spf1 redirect=_spf.yandex.net",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559784, "subdomain": "@", "type": "TXT"}, {"content":
+        "docs.example.com.", "domain": "capsulecd.com", "fqdn": "docs.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560158, "subdomain": "docs",
+        "type": "CNAME"}, {"content": "127.0.0.1", "domain": "capsulecd.com", "fqdn":
+        "localhost.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39560119,
+        "subdomain": "localhost", "type": "A"}, {"content": "domain.mail.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "mail.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559969, "subdomain": "mail", "type": "CNAME"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "random.fqdntest.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560246, "subdomain": "random.fqdntest",
+        "type": "TXT"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn":
+        "random.fulltest.capsulecd.com", "priority": "", "ttl": 21600, "record_id":
+        39560247, "subdomain": "random.fulltest", "type": "TXT"}, {"content": "challengetoken",
+        "domain": "capsulecd.com", "fqdn": "random.test.capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39560259, "subdomain": "random.test", "type":
+        "TXT"}, {"content": "ttlshouldbe3600", "domain": "capsulecd.com", "fqdn":
+        "ttl.fqdn.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39560245,
+        "subdomain": "ttl.fqdn", "type": "TXT"}, {"content": "104.31.76.164", "domain":
+        "capsulecd.com", "fqdn": "www.capsulecd.com", "priority": "", "ttl": 21600,
+        "record_id": 39559785, "subdomain": "www", "type": "A"}, {"content": "104.31.77.164",
+        "domain": "capsulecd.com", "fqdn": "www.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559786, "subdomain": "www", "type": "A"}, {"content":
+        "2400:cb00:2048:1::681f:4ca4", "domain": "capsulecd.com", "fqdn": "www.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39559791, "subdomain": "www", "type":
+        "AAAA"}, {"content": "2400:cb00:2048:1::681f:4da4", "domain": "capsulecd.com",
+        "fqdn": "www.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39559792,
+        "subdomain": "www", "type": "AAAA"}, {"content": "challengetoken", "domain":
+        "capsulecd.com", "fqdn": "_acme-challenge.fqdn.capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39560183, "subdomain": "_acme-challenge.fqdn",
+        "type": "TXT"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn":
+        "_acme-challenge.full.capsulecd.com", "priority": "", "ttl": 21600, "record_id":
+        39560186, "subdomain": "_acme-challenge.full", "type": "TXT"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "_acme-challenge.test.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560187, "subdomain": "_acme-challenge.test",
+        "type": "TXT"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-client._tcp.capsulecd.com", "port": 5222, "priority":
+        20, "ttl": 21600, "record_id": 39559787, "subdomain": "_xmpp-client._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-client._tcp.conference.capsulecd.com", "port":
+        5222, "priority": 20, "ttl": 21600, "record_id": 39559789, "subdomain": "_xmpp-client._tcp.conference",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.capsulecd.com", "port": 5269, "priority":
+        20, "ttl": 21600, "record_id": 39559788, "subdomain": "_xmpp-server._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.conference.capsulecd.com", "port":
+        5269, "priority": 20, "ttl": 21600, "record_id": 39559790, "subdomain": "_xmpp-server._tcp.conference",
+        "type": "SRV"}], "domain": "capsulecd.com", "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['4705']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:47:14 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      transfer-encoding: [chunked]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+version: 1
diff --git a/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_when_calling_list_records_with_no_arguments_should_list_all.yaml b/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_when_calling_list_records_with_no_arguments_should_list_all.yaml
new file mode 100644
--- /dev/null
+++ b/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_when_calling_list_records_with_no_arguments_should_list_all.yaml
@@ -0,0 +1,174 @@
+interactions:
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: GET
+    uri: https://pddimp.yandex.ru/api2/admin/dns/list?domain=capsulecd.com
+  response:
+    body: {string: !!python/unicode '{"records": [{"content": "mx.yandex.net.", "domain":
+        "capsulecd.com", "fqdn": "capsulecd.com", "priority": 10, "ttl": 21600, "record_id":
+        39559783, "subdomain": "@", "type": "MX"}, {"content": "dns1.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559782, "subdomain": "@", "type": "NS"}, {"content":
+        "dns2.yandex.net.", "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39559781, "subdomain": "@", "type": "NS"},
+        {"content": "dns1.yandex.net.", "domain": "capsulecd.com", "retry": 900, "fqdn":
+        "capsulecd.com", "refresh": 14400, "admin_mail": "lexicon.test.yandex.ru",
+        "priority": "", "expire": 1209600, "ttl": 21600, "record_id": 39559780, "subdomain":
+        "@", "type": "SOA", "minttl": 14400}, {"content": "v=spf1 redirect=_spf.yandex.net",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559784, "subdomain": "@", "type": "TXT"}, {"content":
+        "docs.example.com.", "domain": "capsulecd.com", "fqdn": "docs.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560158, "subdomain": "docs",
+        "type": "CNAME"}, {"content": "127.0.0.1", "domain": "capsulecd.com", "fqdn":
+        "localhost.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39560119,
+        "subdomain": "localhost", "type": "A"}, {"content": "domain.mail.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "mail.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559969, "subdomain": "mail", "type": "CNAME"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "random.fqdntest.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560246, "subdomain": "random.fqdntest",
+        "type": "TXT"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn":
+        "random.fulltest.capsulecd.com", "priority": "", "ttl": 21600, "record_id":
+        39560247, "subdomain": "random.fulltest", "type": "TXT"}, {"content": "challengetoken",
+        "domain": "capsulecd.com", "fqdn": "random.test.capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39560259, "subdomain": "random.test", "type":
+        "TXT"}, {"content": "ttlshouldbe3600", "domain": "capsulecd.com", "fqdn":
+        "ttl.fqdn.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39560245,
+        "subdomain": "ttl.fqdn", "type": "TXT"}, {"content": "104.31.76.164", "domain":
+        "capsulecd.com", "fqdn": "www.capsulecd.com", "priority": "", "ttl": 21600,
+        "record_id": 39559785, "subdomain": "www", "type": "A"}, {"content": "104.31.77.164",
+        "domain": "capsulecd.com", "fqdn": "www.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559786, "subdomain": "www", "type": "A"}, {"content":
+        "2400:cb00:2048:1::681f:4ca4", "domain": "capsulecd.com", "fqdn": "www.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39559791, "subdomain": "www", "type":
+        "AAAA"}, {"content": "2400:cb00:2048:1::681f:4da4", "domain": "capsulecd.com",
+        "fqdn": "www.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39559792,
+        "subdomain": "www", "type": "AAAA"}, {"content": "challengetoken", "domain":
+        "capsulecd.com", "fqdn": "_acme-challenge.fqdn.capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39560183, "subdomain": "_acme-challenge.fqdn",
+        "type": "TXT"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn":
+        "_acme-challenge.full.capsulecd.com", "priority": "", "ttl": 21600, "record_id":
+        39560186, "subdomain": "_acme-challenge.full", "type": "TXT"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "_acme-challenge.test.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560187, "subdomain": "_acme-challenge.test",
+        "type": "TXT"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-client._tcp.capsulecd.com", "port": 5222, "priority":
+        20, "ttl": 21600, "record_id": 39559787, "subdomain": "_xmpp-client._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-client._tcp.conference.capsulecd.com", "port":
+        5222, "priority": 20, "ttl": 21600, "record_id": 39559789, "subdomain": "_xmpp-client._tcp.conference",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.capsulecd.com", "port": 5269, "priority":
+        20, "ttl": 21600, "record_id": 39559788, "subdomain": "_xmpp-server._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.conference.capsulecd.com", "port":
+        5269, "priority": 20, "ttl": 21600, "record_id": 39559790, "subdomain": "_xmpp-server._tcp.conference",
+        "type": "SRV"}], "domain": "capsulecd.com", "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['4705']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:47:15 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      transfer-encoding: [chunked]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: GET
+    uri: https://pddimp.yandex.ru/api2/admin/dns/list?domain=capsulecd.com
+  response:
+    body: {string: !!python/unicode '{"records": [{"content": "mx.yandex.net.", "domain":
+        "capsulecd.com", "fqdn": "capsulecd.com", "priority": 10, "ttl": 21600, "record_id":
+        39559783, "subdomain": "@", "type": "MX"}, {"content": "dns1.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559782, "subdomain": "@", "type": "NS"}, {"content":
+        "dns2.yandex.net.", "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39559781, "subdomain": "@", "type": "NS"},
+        {"content": "dns1.yandex.net.", "domain": "capsulecd.com", "retry": 900, "fqdn":
+        "capsulecd.com", "refresh": 14400, "admin_mail": "lexicon.test.yandex.ru",
+        "priority": "", "expire": 1209600, "ttl": 21600, "record_id": 39559780, "subdomain":
+        "@", "type": "SOA", "minttl": 14400}, {"content": "v=spf1 redirect=_spf.yandex.net",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559784, "subdomain": "@", "type": "TXT"}, {"content":
+        "docs.example.com.", "domain": "capsulecd.com", "fqdn": "docs.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560158, "subdomain": "docs",
+        "type": "CNAME"}, {"content": "127.0.0.1", "domain": "capsulecd.com", "fqdn":
+        "localhost.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39560119,
+        "subdomain": "localhost", "type": "A"}, {"content": "domain.mail.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "mail.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559969, "subdomain": "mail", "type": "CNAME"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "random.fqdntest.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560246, "subdomain": "random.fqdntest",
+        "type": "TXT"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn":
+        "random.fulltest.capsulecd.com", "priority": "", "ttl": 21600, "record_id":
+        39560247, "subdomain": "random.fulltest", "type": "TXT"}, {"content": "challengetoken",
+        "domain": "capsulecd.com", "fqdn": "random.test.capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39560259, "subdomain": "random.test", "type":
+        "TXT"}, {"content": "ttlshouldbe3600", "domain": "capsulecd.com", "fqdn":
+        "ttl.fqdn.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39560245,
+        "subdomain": "ttl.fqdn", "type": "TXT"}, {"content": "104.31.76.164", "domain":
+        "capsulecd.com", "fqdn": "www.capsulecd.com", "priority": "", "ttl": 21600,
+        "record_id": 39559785, "subdomain": "www", "type": "A"}, {"content": "104.31.77.164",
+        "domain": "capsulecd.com", "fqdn": "www.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559786, "subdomain": "www", "type": "A"}, {"content":
+        "2400:cb00:2048:1::681f:4ca4", "domain": "capsulecd.com", "fqdn": "www.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39559791, "subdomain": "www", "type":
+        "AAAA"}, {"content": "2400:cb00:2048:1::681f:4da4", "domain": "capsulecd.com",
+        "fqdn": "www.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39559792,
+        "subdomain": "www", "type": "AAAA"}, {"content": "challengetoken", "domain":
+        "capsulecd.com", "fqdn": "_acme-challenge.fqdn.capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39560183, "subdomain": "_acme-challenge.fqdn",
+        "type": "TXT"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn":
+        "_acme-challenge.full.capsulecd.com", "priority": "", "ttl": 21600, "record_id":
+        39560186, "subdomain": "_acme-challenge.full", "type": "TXT"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "_acme-challenge.test.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560187, "subdomain": "_acme-challenge.test",
+        "type": "TXT"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-client._tcp.capsulecd.com", "port": 5222, "priority":
+        20, "ttl": 21600, "record_id": 39559787, "subdomain": "_xmpp-client._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-client._tcp.conference.capsulecd.com", "port":
+        5222, "priority": 20, "ttl": 21600, "record_id": 39559789, "subdomain": "_xmpp-client._tcp.conference",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.capsulecd.com", "port": 5269, "priority":
+        20, "ttl": 21600, "record_id": 39559788, "subdomain": "_xmpp-server._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.conference.capsulecd.com", "port":
+        5269, "priority": 20, "ttl": 21600, "record_id": 39559790, "subdomain": "_xmpp-server._tcp.conference",
+        "type": "SRV"}], "domain": "capsulecd.com", "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['4705']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:47:16 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      transfer-encoding: [chunked]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+version: 1
diff --git a/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_when_calling_update_record_should_modify_record.yaml b/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_when_calling_update_record_should_modify_record.yaml
new file mode 100644
--- /dev/null
+++ b/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_when_calling_update_record_should_modify_record.yaml
@@ -0,0 +1,237 @@
+interactions:
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: GET
+    uri: https://pddimp.yandex.ru/api2/admin/dns/list?domain=capsulecd.com
+  response:
+    body: {string: !!python/unicode '{"records": [{"content": "mx.yandex.net.", "domain":
+        "capsulecd.com", "fqdn": "capsulecd.com", "priority": 10, "ttl": 21600, "record_id":
+        39559783, "subdomain": "@", "type": "MX"}, {"content": "dns1.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559782, "subdomain": "@", "type": "NS"}, {"content":
+        "dns2.yandex.net.", "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39559781, "subdomain": "@", "type": "NS"},
+        {"content": "dns1.yandex.net.", "domain": "capsulecd.com", "retry": 900, "fqdn":
+        "capsulecd.com", "refresh": 14400, "admin_mail": "lexicon.test.yandex.ru",
+        "priority": "", "expire": 1209600, "ttl": 21600, "record_id": 39559780, "subdomain":
+        "@", "type": "SOA", "minttl": 14400}, {"content": "v=spf1 redirect=_spf.yandex.net",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559784, "subdomain": "@", "type": "TXT"}, {"content":
+        "docs.example.com.", "domain": "capsulecd.com", "fqdn": "docs.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560158, "subdomain": "docs",
+        "type": "CNAME"}, {"content": "127.0.0.1", "domain": "capsulecd.com", "fqdn":
+        "localhost.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39560119,
+        "subdomain": "localhost", "type": "A"}, {"content": "domain.mail.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "mail.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559969, "subdomain": "mail", "type": "CNAME"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "random.fqdntest.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560246, "subdomain": "random.fqdntest",
+        "type": "TXT"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn":
+        "random.fulltest.capsulecd.com", "priority": "", "ttl": 21600, "record_id":
+        39560247, "subdomain": "random.fulltest", "type": "TXT"}, {"content": "challengetoken",
+        "domain": "capsulecd.com", "fqdn": "random.test.capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39560259, "subdomain": "random.test", "type":
+        "TXT"}, {"content": "ttlshouldbe3600", "domain": "capsulecd.com", "fqdn":
+        "ttl.fqdn.capsulecd.com", "priority": "", "ttl": 3600, "record_id": 39560388,
+        "subdomain": "ttl.fqdn", "type": "TXT"}, {"content": "104.31.76.164", "domain":
+        "capsulecd.com", "fqdn": "www.capsulecd.com", "priority": "", "ttl": 21600,
+        "record_id": 39559785, "subdomain": "www", "type": "A"}, {"content": "104.31.77.164",
+        "domain": "capsulecd.com", "fqdn": "www.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559786, "subdomain": "www", "type": "A"}, {"content":
+        "2400:cb00:2048:1::681f:4ca4", "domain": "capsulecd.com", "fqdn": "www.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39559791, "subdomain": "www", "type":
+        "AAAA"}, {"content": "2400:cb00:2048:1::681f:4da4", "domain": "capsulecd.com",
+        "fqdn": "www.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39559792,
+        "subdomain": "www", "type": "AAAA"}, {"content": "challengetoken", "domain":
+        "capsulecd.com", "fqdn": "_acme-challenge.fqdn.capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39560183, "subdomain": "_acme-challenge.fqdn",
+        "type": "TXT"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn":
+        "_acme-challenge.full.capsulecd.com", "priority": "", "ttl": 21600, "record_id":
+        39560186, "subdomain": "_acme-challenge.full", "type": "TXT"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "_acme-challenge.test.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560187, "subdomain": "_acme-challenge.test",
+        "type": "TXT"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-client._tcp.capsulecd.com", "port": 5222, "priority":
+        20, "ttl": 21600, "record_id": 39559787, "subdomain": "_xmpp-client._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-client._tcp.conference.capsulecd.com", "port":
+        5222, "priority": 20, "ttl": 21600, "record_id": 39559789, "subdomain": "_xmpp-client._tcp.conference",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.capsulecd.com", "port": 5269, "priority":
+        20, "ttl": 21600, "record_id": 39559788, "subdomain": "_xmpp-server._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.conference.capsulecd.com", "port":
+        5269, "priority": 20, "ttl": 21600, "record_id": 39559790, "subdomain": "_xmpp-server._tcp.conference",
+        "type": "SRV"}], "domain": "capsulecd.com", "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['4704']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:54:13 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      transfer-encoding: [chunked]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: POST
+    uri: https://pddimp.yandex.ru/api2/admin/dns/add?domain=capsulecd.com&type=TXT&subdomain=orig.test&content=challengetoken
+  response:
+    body: {string: !!python/unicode '{"record": {"content": "challengetoken", "domain":
+        "capsulecd.com", "fqdn": "orig.test.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39560410, "subdomain": "orig.test", "type": "TXT"}, "domain":
+        "capsulecd.com", "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['242']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:54:14 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: GET
+    uri: https://pddimp.yandex.ru/api2/admin/dns/list?domain=capsulecd.com
+  response:
+    body: {string: !!python/unicode '{"records": [{"content": "mx.yandex.net.", "domain":
+        "capsulecd.com", "fqdn": "capsulecd.com", "priority": 10, "ttl": 21600, "record_id":
+        39559783, "subdomain": "@", "type": "MX"}, {"content": "dns1.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559782, "subdomain": "@", "type": "NS"}, {"content":
+        "dns2.yandex.net.", "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39559781, "subdomain": "@", "type": "NS"},
+        {"content": "dns1.yandex.net.", "domain": "capsulecd.com", "retry": 900, "fqdn":
+        "capsulecd.com", "refresh": 14400, "admin_mail": "lexicon.test.yandex.ru",
+        "priority": "", "expire": 1209600, "ttl": 21600, "record_id": 39559780, "subdomain":
+        "@", "type": "SOA", "minttl": 14400}, {"content": "v=spf1 redirect=_spf.yandex.net",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559784, "subdomain": "@", "type": "TXT"}, {"content":
+        "docs.example.com.", "domain": "capsulecd.com", "fqdn": "docs.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560158, "subdomain": "docs",
+        "type": "CNAME"}, {"content": "127.0.0.1", "domain": "capsulecd.com", "fqdn":
+        "localhost.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39560119,
+        "subdomain": "localhost", "type": "A"}, {"content": "domain.mail.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "mail.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559969, "subdomain": "mail", "type": "CNAME"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "orig.test.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560410, "subdomain": "orig.test",
+        "type": "TXT"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn":
+        "random.fqdntest.capsulecd.com", "priority": "", "ttl": 21600, "record_id":
+        39560246, "subdomain": "random.fqdntest", "type": "TXT"}, {"content": "challengetoken",
+        "domain": "capsulecd.com", "fqdn": "random.fulltest.capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39560247, "subdomain": "random.fulltest", "type":
+        "TXT"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn": "random.test.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560259, "subdomain": "random.test",
+        "type": "TXT"}, {"content": "ttlshouldbe3600", "domain": "capsulecd.com",
+        "fqdn": "ttl.fqdn.capsulecd.com", "priority": "", "ttl": 3600, "record_id":
+        39560388, "subdomain": "ttl.fqdn", "type": "TXT"}, {"content": "104.31.76.164",
+        "domain": "capsulecd.com", "fqdn": "www.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559785, "subdomain": "www", "type": "A"}, {"content":
+        "104.31.77.164", "domain": "capsulecd.com", "fqdn": "www.capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39559786, "subdomain": "www", "type": "A"},
+        {"content": "2400:cb00:2048:1::681f:4ca4", "domain": "capsulecd.com", "fqdn":
+        "www.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39559791,
+        "subdomain": "www", "type": "AAAA"}, {"content": "2400:cb00:2048:1::681f:4da4",
+        "domain": "capsulecd.com", "fqdn": "www.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559792, "subdomain": "www", "type": "AAAA"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "_acme-challenge.fqdn.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560183, "subdomain": "_acme-challenge.fqdn",
+        "type": "TXT"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn":
+        "_acme-challenge.full.capsulecd.com", "priority": "", "ttl": 21600, "record_id":
+        39560186, "subdomain": "_acme-challenge.full", "type": "TXT"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "_acme-challenge.test.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560187, "subdomain": "_acme-challenge.test",
+        "type": "TXT"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-client._tcp.capsulecd.com", "port": 5222, "priority":
+        20, "ttl": 21600, "record_id": 39559787, "subdomain": "_xmpp-client._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-client._tcp.conference.capsulecd.com", "port":
+        5222, "priority": 20, "ttl": 21600, "record_id": 39559789, "subdomain": "_xmpp-client._tcp.conference",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.capsulecd.com", "port": 5269, "priority":
+        20, "ttl": 21600, "record_id": 39559788, "subdomain": "_xmpp-server._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.conference.capsulecd.com", "port":
+        5269, "priority": 20, "ttl": 21600, "record_id": 39559790, "subdomain": "_xmpp-server._tcp.conference",
+        "type": "SRV"}], "domain": "capsulecd.com", "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['4891']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:54:15 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      transfer-encoding: [chunked]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: POST
+    uri: https://pddimp.yandex.ru/api2/admin/dns/edit?domain=capsulecd.com&record_id=39560410&type=TXT&subdomain=updated.test&content=challengetoken
+  response:
+    body: {string: !!python/unicode '{"record_id": 39560410, "record": {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "updated.test.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560410, "operation": "editing",
+        "subdomain": "updated.test", "type": "TXT"}, "domain": "capsulecd.com", "success":
+        "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['295']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:54:16 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+version: 1
diff --git a/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_when_calling_update_record_with_fqdn_name_should_modify_record.yaml b/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_when_calling_update_record_with_fqdn_name_should_modify_record.yaml
new file mode 100644
--- /dev/null
+++ b/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_when_calling_update_record_with_fqdn_name_should_modify_record.yaml
@@ -0,0 +1,241 @@
+interactions:
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: GET
+    uri: https://pddimp.yandex.ru/api2/admin/dns/list?domain=capsulecd.com
+  response:
+    body: {string: !!python/unicode '{"records": [{"content": "mx.yandex.net.", "domain":
+        "capsulecd.com", "fqdn": "capsulecd.com", "priority": 10, "ttl": 21600, "record_id":
+        39559783, "subdomain": "@", "type": "MX"}, {"content": "dns1.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559782, "subdomain": "@", "type": "NS"}, {"content":
+        "dns2.yandex.net.", "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39559781, "subdomain": "@", "type": "NS"},
+        {"content": "dns1.yandex.net.", "domain": "capsulecd.com", "retry": 900, "fqdn":
+        "capsulecd.com", "refresh": 14400, "admin_mail": "lexicon.test.yandex.ru",
+        "priority": "", "expire": 1209600, "ttl": 21600, "record_id": 39559780, "subdomain":
+        "@", "type": "SOA", "minttl": 14400}, {"content": "v=spf1 redirect=_spf.yandex.net",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559784, "subdomain": "@", "type": "TXT"}, {"content":
+        "docs.example.com.", "domain": "capsulecd.com", "fqdn": "docs.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560158, "subdomain": "docs",
+        "type": "CNAME"}, {"content": "127.0.0.1", "domain": "capsulecd.com", "fqdn":
+        "localhost.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39560119,
+        "subdomain": "localhost", "type": "A"}, {"content": "domain.mail.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "mail.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559969, "subdomain": "mail", "type": "CNAME"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "random.fqdntest.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560246, "subdomain": "random.fqdntest",
+        "type": "TXT"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn":
+        "random.fulltest.capsulecd.com", "priority": "", "ttl": 21600, "record_id":
+        39560247, "subdomain": "random.fulltest", "type": "TXT"}, {"content": "challengetoken",
+        "domain": "capsulecd.com", "fqdn": "random.test.capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39560259, "subdomain": "random.test", "type":
+        "TXT"}, {"content": "ttlshouldbe3600", "domain": "capsulecd.com", "fqdn":
+        "ttl.fqdn.capsulecd.com", "priority": "", "ttl": 3600, "record_id": 39560388,
+        "subdomain": "ttl.fqdn", "type": "TXT"}, {"content": "challengetoken", "domain":
+        "capsulecd.com", "fqdn": "updated.test.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39560410, "subdomain": "updated.test", "type": "TXT"},
+        {"content": "104.31.76.164", "domain": "capsulecd.com", "fqdn": "www.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39559785, "subdomain": "www", "type":
+        "A"}, {"content": "104.31.77.164", "domain": "capsulecd.com", "fqdn": "www.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39559786, "subdomain": "www", "type":
+        "A"}, {"content": "2400:cb00:2048:1::681f:4ca4", "domain": "capsulecd.com",
+        "fqdn": "www.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39559791,
+        "subdomain": "www", "type": "AAAA"}, {"content": "2400:cb00:2048:1::681f:4da4",
+        "domain": "capsulecd.com", "fqdn": "www.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559792, "subdomain": "www", "type": "AAAA"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "_acme-challenge.fqdn.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560183, "subdomain": "_acme-challenge.fqdn",
+        "type": "TXT"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn":
+        "_acme-challenge.full.capsulecd.com", "priority": "", "ttl": 21600, "record_id":
+        39560186, "subdomain": "_acme-challenge.full", "type": "TXT"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "_acme-challenge.test.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560187, "subdomain": "_acme-challenge.test",
+        "type": "TXT"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-client._tcp.capsulecd.com", "port": 5222, "priority":
+        20, "ttl": 21600, "record_id": 39559787, "subdomain": "_xmpp-client._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-client._tcp.conference.capsulecd.com", "port":
+        5222, "priority": 20, "ttl": 21600, "record_id": 39559789, "subdomain": "_xmpp-client._tcp.conference",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.capsulecd.com", "port": 5269, "priority":
+        20, "ttl": 21600, "record_id": 39559788, "subdomain": "_xmpp-server._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.conference.capsulecd.com", "port":
+        5269, "priority": 20, "ttl": 21600, "record_id": 39559790, "subdomain": "_xmpp-server._tcp.conference",
+        "type": "SRV"}], "domain": "capsulecd.com", "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['4897']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:54:17 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      transfer-encoding: [chunked]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: POST
+    uri: https://pddimp.yandex.ru/api2/admin/dns/add?domain=capsulecd.com&type=TXT&subdomain=orig.testfqdn&content=challengetoken
+  response:
+    body: {string: !!python/unicode '{"record": {"content": "challengetoken", "domain":
+        "capsulecd.com", "fqdn": "orig.testfqdn.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39560411, "subdomain": "orig.testfqdn", "type": "TXT"},
+        "domain": "capsulecd.com", "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['250']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:54:18 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: GET
+    uri: https://pddimp.yandex.ru/api2/admin/dns/list?domain=capsulecd.com
+  response:
+    body: {string: !!python/unicode '{"records": [{"content": "mx.yandex.net.", "domain":
+        "capsulecd.com", "fqdn": "capsulecd.com", "priority": 10, "ttl": 21600, "record_id":
+        39559783, "subdomain": "@", "type": "MX"}, {"content": "dns1.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559782, "subdomain": "@", "type": "NS"}, {"content":
+        "dns2.yandex.net.", "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39559781, "subdomain": "@", "type": "NS"},
+        {"content": "dns1.yandex.net.", "domain": "capsulecd.com", "retry": 900, "fqdn":
+        "capsulecd.com", "refresh": 14400, "admin_mail": "lexicon.test.yandex.ru",
+        "priority": "", "expire": 1209600, "ttl": 21600, "record_id": 39559780, "subdomain":
+        "@", "type": "SOA", "minttl": 14400}, {"content": "v=spf1 redirect=_spf.yandex.net",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559784, "subdomain": "@", "type": "TXT"}, {"content":
+        "docs.example.com.", "domain": "capsulecd.com", "fqdn": "docs.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560158, "subdomain": "docs",
+        "type": "CNAME"}, {"content": "127.0.0.1", "domain": "capsulecd.com", "fqdn":
+        "localhost.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39560119,
+        "subdomain": "localhost", "type": "A"}, {"content": "domain.mail.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "mail.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559969, "subdomain": "mail", "type": "CNAME"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "orig.testfqdn.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560411, "subdomain": "orig.testfqdn",
+        "type": "TXT"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn":
+        "random.fqdntest.capsulecd.com", "priority": "", "ttl": 21600, "record_id":
+        39560246, "subdomain": "random.fqdntest", "type": "TXT"}, {"content": "challengetoken",
+        "domain": "capsulecd.com", "fqdn": "random.fulltest.capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39560247, "subdomain": "random.fulltest", "type":
+        "TXT"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn": "random.test.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560259, "subdomain": "random.test",
+        "type": "TXT"}, {"content": "ttlshouldbe3600", "domain": "capsulecd.com",
+        "fqdn": "ttl.fqdn.capsulecd.com", "priority": "", "ttl": 3600, "record_id":
+        39560388, "subdomain": "ttl.fqdn", "type": "TXT"}, {"content": "challengetoken",
+        "domain": "capsulecd.com", "fqdn": "updated.test.capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39560410, "subdomain": "updated.test", "type":
+        "TXT"}, {"content": "104.31.76.164", "domain": "capsulecd.com", "fqdn": "www.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39559785, "subdomain": "www", "type":
+        "A"}, {"content": "104.31.77.164", "domain": "capsulecd.com", "fqdn": "www.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39559786, "subdomain": "www", "type":
+        "A"}, {"content": "2400:cb00:2048:1::681f:4ca4", "domain": "capsulecd.com",
+        "fqdn": "www.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39559791,
+        "subdomain": "www", "type": "AAAA"}, {"content": "2400:cb00:2048:1::681f:4da4",
+        "domain": "capsulecd.com", "fqdn": "www.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559792, "subdomain": "www", "type": "AAAA"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "_acme-challenge.fqdn.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560183, "subdomain": "_acme-challenge.fqdn",
+        "type": "TXT"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn":
+        "_acme-challenge.full.capsulecd.com", "priority": "", "ttl": 21600, "record_id":
+        39560186, "subdomain": "_acme-challenge.full", "type": "TXT"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "_acme-challenge.test.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560187, "subdomain": "_acme-challenge.test",
+        "type": "TXT"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-client._tcp.capsulecd.com", "port": 5222, "priority":
+        20, "ttl": 21600, "record_id": 39559787, "subdomain": "_xmpp-client._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-client._tcp.conference.capsulecd.com", "port":
+        5222, "priority": 20, "ttl": 21600, "record_id": 39559789, "subdomain": "_xmpp-client._tcp.conference",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.capsulecd.com", "port": 5269, "priority":
+        20, "ttl": 21600, "record_id": 39559788, "subdomain": "_xmpp-server._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.conference.capsulecd.com", "port":
+        5269, "priority": 20, "ttl": 21600, "record_id": 39559790, "subdomain": "_xmpp-server._tcp.conference",
+        "type": "SRV"}], "domain": "capsulecd.com", "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['5092']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:54:19 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      transfer-encoding: [chunked]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: POST
+    uri: https://pddimp.yandex.ru/api2/admin/dns/edit?domain=capsulecd.com&record_id=39560411&type=TXT&subdomain=updated.testfqdn&content=challengetoken
+  response:
+    body: {string: !!python/unicode '{"record_id": 39560411, "record": {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "updated.testfqdn.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560411, "operation": "editing",
+        "subdomain": "updated.testfqdn", "type": "TXT"}, "domain": "capsulecd.com",
+        "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['303']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:54:20 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+version: 1
diff --git a/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_when_calling_update_record_with_full_name_should_modify_record.yaml b/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_when_calling_update_record_with_full_name_should_modify_record.yaml
new file mode 100644
--- /dev/null
+++ b/tests/fixtures/cassettes/yandex/IntegrationTests/test_Provider_when_calling_update_record_with_full_name_should_modify_record.yaml
@@ -0,0 +1,247 @@
+interactions:
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: GET
+    uri: https://pddimp.yandex.ru/api2/admin/dns/list?domain=capsulecd.com
+  response:
+    body: {string: !!python/unicode '{"records": [{"content": "mx.yandex.net.", "domain":
+        "capsulecd.com", "fqdn": "capsulecd.com", "priority": 10, "ttl": 21600, "record_id":
+        39559783, "subdomain": "@", "type": "MX"}, {"content": "dns1.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559782, "subdomain": "@", "type": "NS"}, {"content":
+        "dns2.yandex.net.", "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39559781, "subdomain": "@", "type": "NS"},
+        {"content": "dns1.yandex.net.", "domain": "capsulecd.com", "retry": 900, "fqdn":
+        "capsulecd.com", "refresh": 14400, "admin_mail": "lexicon.test.yandex.ru",
+        "priority": "", "expire": 1209600, "ttl": 21600, "record_id": 39559780, "subdomain":
+        "@", "type": "SOA", "minttl": 14400}, {"content": "v=spf1 redirect=_spf.yandex.net",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559784, "subdomain": "@", "type": "TXT"}, {"content":
+        "docs.example.com.", "domain": "capsulecd.com", "fqdn": "docs.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560158, "subdomain": "docs",
+        "type": "CNAME"}, {"content": "127.0.0.1", "domain": "capsulecd.com", "fqdn":
+        "localhost.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39560119,
+        "subdomain": "localhost", "type": "A"}, {"content": "domain.mail.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "mail.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559969, "subdomain": "mail", "type": "CNAME"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "random.fqdntest.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560246, "subdomain": "random.fqdntest",
+        "type": "TXT"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn":
+        "random.fulltest.capsulecd.com", "priority": "", "ttl": 21600, "record_id":
+        39560247, "subdomain": "random.fulltest", "type": "TXT"}, {"content": "challengetoken",
+        "domain": "capsulecd.com", "fqdn": "random.test.capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39560259, "subdomain": "random.test", "type":
+        "TXT"}, {"content": "ttlshouldbe3600", "domain": "capsulecd.com", "fqdn":
+        "ttl.fqdn.capsulecd.com", "priority": "", "ttl": 3600, "record_id": 39560388,
+        "subdomain": "ttl.fqdn", "type": "TXT"}, {"content": "challengetoken", "domain":
+        "capsulecd.com", "fqdn": "updated.test.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39560410, "subdomain": "updated.test", "type": "TXT"},
+        {"content": "challengetoken", "domain": "capsulecd.com", "fqdn": "updated.testfqdn.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560411, "subdomain": "updated.testfqdn",
+        "type": "TXT"}, {"content": "104.31.76.164", "domain": "capsulecd.com", "fqdn":
+        "www.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39559785,
+        "subdomain": "www", "type": "A"}, {"content": "104.31.77.164", "domain": "capsulecd.com",
+        "fqdn": "www.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39559786,
+        "subdomain": "www", "type": "A"}, {"content": "2400:cb00:2048:1::681f:4ca4",
+        "domain": "capsulecd.com", "fqdn": "www.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559791, "subdomain": "www", "type": "AAAA"}, {"content":
+        "2400:cb00:2048:1::681f:4da4", "domain": "capsulecd.com", "fqdn": "www.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39559792, "subdomain": "www", "type":
+        "AAAA"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn":
+        "_acme-challenge.fqdn.capsulecd.com", "priority": "", "ttl": 21600, "record_id":
+        39560183, "subdomain": "_acme-challenge.fqdn", "type": "TXT"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "_acme-challenge.full.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560186, "subdomain": "_acme-challenge.full",
+        "type": "TXT"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn":
+        "_acme-challenge.test.capsulecd.com", "priority": "", "ttl": 21600, "record_id":
+        39560187, "subdomain": "_acme-challenge.test", "type": "TXT"}, {"content":
+        "domain-xmpp.yandex.net.", "domain": "capsulecd.com", "weight": 0, "fqdn":
+        "_xmpp-client._tcp.capsulecd.com", "port": 5222, "priority": 20, "ttl": 21600,
+        "record_id": 39559787, "subdomain": "_xmpp-client._tcp", "type": "SRV"}, {"content":
+        "domain-xmpp.yandex.net.", "domain": "capsulecd.com", "weight": 0, "fqdn":
+        "_xmpp-client._tcp.conference.capsulecd.com", "port": 5222, "priority": 20,
+        "ttl": 21600, "record_id": 39559789, "subdomain": "_xmpp-client._tcp.conference",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.capsulecd.com", "port": 5269, "priority":
+        20, "ttl": 21600, "record_id": 39559788, "subdomain": "_xmpp-server._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.conference.capsulecd.com", "port":
+        5269, "priority": 20, "ttl": 21600, "record_id": 39559790, "subdomain": "_xmpp-server._tcp.conference",
+        "type": "SRV"}], "domain": "capsulecd.com", "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['5098']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:54:20 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      transfer-encoding: [chunked]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: POST
+    uri: https://pddimp.yandex.ru/api2/admin/dns/add?domain=capsulecd.com&type=TXT&subdomain=orig.testfull&content=challengetoken
+  response:
+    body: {string: !!python/unicode '{"record": {"content": "challengetoken", "domain":
+        "capsulecd.com", "fqdn": "orig.testfull.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39560412, "subdomain": "orig.testfull", "type": "TXT"},
+        "domain": "capsulecd.com", "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['250']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:54:21 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: GET
+    uri: https://pddimp.yandex.ru/api2/admin/dns/list?domain=capsulecd.com
+  response:
+    body: {string: !!python/unicode '{"records": [{"content": "mx.yandex.net.", "domain":
+        "capsulecd.com", "fqdn": "capsulecd.com", "priority": 10, "ttl": 21600, "record_id":
+        39559783, "subdomain": "@", "type": "MX"}, {"content": "dns1.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559782, "subdomain": "@", "type": "NS"}, {"content":
+        "dns2.yandex.net.", "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39559781, "subdomain": "@", "type": "NS"},
+        {"content": "dns1.yandex.net.", "domain": "capsulecd.com", "retry": 900, "fqdn":
+        "capsulecd.com", "refresh": 14400, "admin_mail": "lexicon.test.yandex.ru",
+        "priority": "", "expire": 1209600, "ttl": 21600, "record_id": 39559780, "subdomain":
+        "@", "type": "SOA", "minttl": 14400}, {"content": "v=spf1 redirect=_spf.yandex.net",
+        "domain": "capsulecd.com", "fqdn": "capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559784, "subdomain": "@", "type": "TXT"}, {"content":
+        "docs.example.com.", "domain": "capsulecd.com", "fqdn": "docs.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560158, "subdomain": "docs",
+        "type": "CNAME"}, {"content": "127.0.0.1", "domain": "capsulecd.com", "fqdn":
+        "localhost.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39560119,
+        "subdomain": "localhost", "type": "A"}, {"content": "domain.mail.yandex.net.",
+        "domain": "capsulecd.com", "fqdn": "mail.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559969, "subdomain": "mail", "type": "CNAME"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "orig.testfull.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560412, "subdomain": "orig.testfull",
+        "type": "TXT"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn":
+        "random.fqdntest.capsulecd.com", "priority": "", "ttl": 21600, "record_id":
+        39560246, "subdomain": "random.fqdntest", "type": "TXT"}, {"content": "challengetoken",
+        "domain": "capsulecd.com", "fqdn": "random.fulltest.capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39560247, "subdomain": "random.fulltest", "type":
+        "TXT"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn": "random.test.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560259, "subdomain": "random.test",
+        "type": "TXT"}, {"content": "ttlshouldbe3600", "domain": "capsulecd.com",
+        "fqdn": "ttl.fqdn.capsulecd.com", "priority": "", "ttl": 3600, "record_id":
+        39560388, "subdomain": "ttl.fqdn", "type": "TXT"}, {"content": "challengetoken",
+        "domain": "capsulecd.com", "fqdn": "updated.test.capsulecd.com", "priority":
+        "", "ttl": 21600, "record_id": 39560410, "subdomain": "updated.test", "type":
+        "TXT"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn": "updated.testfqdn.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560411, "subdomain": "updated.testfqdn",
+        "type": "TXT"}, {"content": "104.31.76.164", "domain": "capsulecd.com", "fqdn":
+        "www.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39559785,
+        "subdomain": "www", "type": "A"}, {"content": "104.31.77.164", "domain": "capsulecd.com",
+        "fqdn": "www.capsulecd.com", "priority": "", "ttl": 21600, "record_id": 39559786,
+        "subdomain": "www", "type": "A"}, {"content": "2400:cb00:2048:1::681f:4ca4",
+        "domain": "capsulecd.com", "fqdn": "www.capsulecd.com", "priority": "", "ttl":
+        21600, "record_id": 39559791, "subdomain": "www", "type": "AAAA"}, {"content":
+        "2400:cb00:2048:1::681f:4da4", "domain": "capsulecd.com", "fqdn": "www.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39559792, "subdomain": "www", "type":
+        "AAAA"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn":
+        "_acme-challenge.fqdn.capsulecd.com", "priority": "", "ttl": 21600, "record_id":
+        39560183, "subdomain": "_acme-challenge.fqdn", "type": "TXT"}, {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "_acme-challenge.full.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560186, "subdomain": "_acme-challenge.full",
+        "type": "TXT"}, {"content": "challengetoken", "domain": "capsulecd.com", "fqdn":
+        "_acme-challenge.test.capsulecd.com", "priority": "", "ttl": 21600, "record_id":
+        39560187, "subdomain": "_acme-challenge.test", "type": "TXT"}, {"content":
+        "domain-xmpp.yandex.net.", "domain": "capsulecd.com", "weight": 0, "fqdn":
+        "_xmpp-client._tcp.capsulecd.com", "port": 5222, "priority": 20, "ttl": 21600,
+        "record_id": 39559787, "subdomain": "_xmpp-client._tcp", "type": "SRV"}, {"content":
+        "domain-xmpp.yandex.net.", "domain": "capsulecd.com", "weight": 0, "fqdn":
+        "_xmpp-client._tcp.conference.capsulecd.com", "port": 5222, "priority": 20,
+        "ttl": 21600, "record_id": 39559789, "subdomain": "_xmpp-client._tcp.conference",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.capsulecd.com", "port": 5269, "priority":
+        20, "ttl": 21600, "record_id": 39559788, "subdomain": "_xmpp-server._tcp",
+        "type": "SRV"}, {"content": "domain-xmpp.yandex.net.", "domain": "capsulecd.com",
+        "weight": 0, "fqdn": "_xmpp-server._tcp.conference.capsulecd.com", "port":
+        5269, "priority": 20, "ttl": 21600, "record_id": 39559790, "subdomain": "_xmpp-server._tcp.conference",
+        "type": "SRV"}], "domain": "capsulecd.com", "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['5293']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:54:22 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      transfer-encoding: [chunked]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+- request:
+    body: !!python/unicode '{}'
+    headers:
+      Accept: [application/json]
+      Accept-Encoding: ['gzip, deflate']
+      Connection: [keep-alive]
+      Content-Length: ['2']
+      Content-Type: [application/json]
+      User-Agent: [python-requests/2.9.1]
+    method: POST
+    uri: https://pddimp.yandex.ru/api2/admin/dns/edit?domain=capsulecd.com&record_id=39560412&type=TXT&subdomain=updated.testfull&content=challengetoken
+  response:
+    body: {string: !!python/unicode '{"record_id": 39560412, "record": {"content":
+        "challengetoken", "domain": "capsulecd.com", "fqdn": "updated.testfull.capsulecd.com",
+        "priority": "", "ttl": 21600, "record_id": 39560412, "operation": "editing",
+        "subdomain": "updated.testfull", "type": "TXT"}, "domain": "capsulecd.com",
+        "success": "ok"}
+
+        '}
+    headers:
+      connection: [keep-alive]
+      content-disposition: [attachment; filename="json.txt"; filename*=UTF-8''json.txt]
+      content-length: ['303']
+      content-security-policy: [default-src 'none']
+      content-type: [application/json; charset=utf-8]
+      date: ['Tue, 24 Jan 2017 05:54:23 GMT']
+      server: [nginx/1.8.1]
+      strict-transport-security: [max-age=31536000]
+      x-content-type-options: [nosniff]
+      x-frame-options: [SAMEORIGIN]
+    status: {code: 200, message: OK}
+version: 1
diff --git a/tests/providers/test_yandex.py b/tests/providers/test_yandex.py
new file mode 100644
--- /dev/null
+++ b/tests/providers/test_yandex.py
@@ -0,0 +1,18 @@
+# Test for one implementation of the interface
+from lexicon.providers.yandex import Provider
+from integration_tests import IntegrationTests
+from unittest import TestCase
+import pytest
+
+# Hook into testing framework by inheriting unittest.TestCase and reuse
+# the tests which *each and every* implementation of the interface must
+# pass, by inheritance from define_tests.TheTests
+class YandexPDDProviderTests(TestCase, IntegrationTests):
+
+    Provider = Provider
+    provider_name = 'yandex'
+    domain = 'capsulecd.com'
+
+    def _filter_headers(self):
+        """Sensitive headers to be filtered."""
+        return ['Authorization', 'PddToken']