1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300
|
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.18.4]
method: GET
uri: https://api.nsone.net/v1/zones/lexicon-example.com
response:
body: {string: !!python/unicode '{"nx_ttl":3600,"retry":7200,"zone":"lexicon-example.com","dnssec":false,"network_pools":["p08"],"primary":{"enabled":false,"secondaries":[]},"refresh":43200,"expiry":1209600,"dns_servers":["dns1.p08.nsone.net","dns2.p08.nsone.net","dns3.p08.nsone.net","dns4.p08.nsone.net"],"records":[{"domain":"_acme-challenge.createrecordset.lexicon-example.com","short_answers":["challengetoken1","challengetoken2"],"link":null,"ttl":3600,"tier":1,"type":"TXT","id":"5ab7b712c9c79d0001ad45e6"},{"domain":"_acme-challenge.deleterecordinset.lexicon-example.com","short_answers":["challengetoken2"],"link":null,"ttl":3600,"tier":1,"type":"TXT","id":"5ab7b7320c13a400014ee149"},{"domain":"_acme-challenge.fqdn.lexicon-example.com","short_answers":["challengetoken"],"link":null,"ttl":3600,"tier":1,"type":"TXT","id":"5ab7b709a632f60001419f0e"},{"domain":"_acme-challenge.full.lexicon-example.com","short_answers":["challengetoken"],"link":null,"ttl":3600,"tier":1,"type":"TXT","id":"5ab7b70cc94a900001c1dffa"},{"domain":"_acme-challenge.listrecordset.lexicon-example.com","short_answers":["challengetoken1","challengetoken2"],"link":null,"ttl":3600,"tier":1,"type":"TXT","id":"5ab7b73ea632f60001419f47"},{"domain":"_acme-challenge.noop.lexicon-example.com","short_answers":["challengetoken"],"link":null,"ttl":3600,"tier":1,"type":"TXT","id":"5ab7b7170c13a400014ee124"},{"domain":"_acme-challenge.test.lexicon-example.com","short_answers":["challengetoken"],"link":null,"ttl":3600,"tier":1,"type":"TXT","id":"5ab7b70fa632f60001b0b4a6"},{"domain":"docs.lexicon-example.com","short_answers":["docs.example.com"],"link":null,"ttl":3600,"tier":1,"type":"CNAME","id":"5ab7b7050c13a400014ee10c"},{"domain":"localhost.lexicon-example.com","short_answers":["127.0.0.1"],"link":null,"ttl":3600,"tier":1,"type":"A","id":"5ab7b702a632f60001b0b499"},{"domain":"random.fqdntest.lexicon-example.com","short_answers":["challengetoken"],"link":null,"ttl":3600,"tier":1,"type":"TXT","id":"5ab7b7420c13a4000159eded"},{"domain":"random.fulltest.lexicon-example.com","short_answers":["challengetoken"],"link":null,"ttl":3600,"tier":1,"type":"TXT","id":"5ab7b744a632f60001419f4e"},{"domain":"random.test.lexicon-example.com","short_answers":["challengetoken"],"link":null,"ttl":3600,"tier":1,"type":"TXT","id":"5ab7b7480c13a400014ee156"}],"meta":{},"link":null,"serial":1521989448,"ttl":3600,"id":"5ab69dd6bbccf900012ef579","hostmaster":"hostmaster@nsone.net","networks":[0],"pool":"p08"}
'}
headers:
cache-control: [no-cache, 'private, max-age=0, no-cache, no-store']
cf-ray: [40123135dd742ddf-BOM]
connection: [keep-alive]
content-length: ['2451']
content-type: [application/json]
date: ['Sun, 25 Mar 2018 14:50:51 GMT']
etag: [W/"d4fdbc39092d3e3965775e365b1c85950dd262c8"]
expect-ct: ['max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"']
expires: ['0']
pragma: [no-cache]
server: [cloudflare]
set-cookie: ['__cfduid=d1b9899b915b89f4352e3fadc35798b981521989451; expires=Mon,
25-Mar-19 14:50:51 GMT; path=/; domain=.nsone.net; HttpOnly']
strict-transport-security: [max-age=63072000; includeSubdomains; preload]
transfer-encoding: [chunked]
x-content-type-options: [nosniff]
x-frame-options: [SAMEORIGIN]
x-ratelimit-by: [customer]
x-ratelimit-limit: ['900']
x-ratelimit-period: ['300']
x-ratelimit-remaining: ['899']
x-xss-protection: [1; mode=block]
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.18.4]
method: GET
uri: https://api.nsone.net/v1/zones/lexicon-example.com/orig.test.lexicon-example.com/TXT
response:
body: {string: !!python/unicode '{"message":"record not found"}
'}
headers:
cache-control: [no-cache]
cf-ray: [40123139aa522dd9-BOM]
connection: [keep-alive]
content-length: ['31']
content-type: [application/json]
date: ['Sun, 25 Mar 2018 14:50:52 GMT']
expect-ct: ['max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"']
expires: ['0']
pragma: [no-cache]
server: [cloudflare]
set-cookie: ['__cfduid=dd45c45905ac2ab4a4f440b75dc82deaf1521989451; expires=Mon,
25-Mar-19 14:50:51 GMT; path=/; domain=.nsone.net; HttpOnly']
x-ratelimit-by: [customer]
x-ratelimit-limit: ['900']
x-ratelimit-period: ['300']
x-ratelimit-remaining: ['899']
status: {code: 404, message: Not Found}
- request:
body: !!python/unicode '{"domain": "orig.test.lexicon-example.com", "type": "TXT",
"answers": [{"answer": ["challengetoken"]}], "zone": "lexicon-example.com"}'
headers:
Accept: [application/json]
Accept-Encoding: ['gzip, deflate']
Connection: [keep-alive]
Content-Length: ['134']
Content-Type: [application/json]
User-Agent: [python-requests/2.18.4]
method: PUT
uri: https://api.nsone.net/v1/zones/lexicon-example.com/orig.test.lexicon-example.com/TXT
response:
body: {string: !!python/unicode '{"domain":"orig.test.lexicon-example.com","zone":"lexicon-example.com","use_client_subnet":true,"answers":[{"answer":["challengetoken"],"id":"5ab7b74cc9c79d0001a8a827"}],"id":"5ab7b74cc9c79d0001a8a828","regions":{},"meta":{},"link":null,"filters":[],"ttl":3600,"tier":1,"type":"TXT","networks":[0]}
'}
headers:
cache-control: [no-cache, 'private, max-age=0, no-cache, no-store']
cf-ray: [4012313d7f7e2dc1-BOM]
connection: [keep-alive]
content-length: ['299']
content-type: [application/json]
date: ['Sun, 25 Mar 2018 14:50:52 GMT']
expect-ct: ['max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"']
expires: ['0']
pragma: [no-cache]
server: [cloudflare]
set-cookie: ['__cfduid=d5f0889fd245270535a7b790e450e17841521989452; expires=Mon,
25-Mar-19 14:50:52 GMT; path=/; domain=.nsone.net; HttpOnly']
strict-transport-security: [max-age=63072000; includeSubdomains; preload]
transfer-encoding: [chunked]
x-content-type-options: [nosniff]
x-frame-options: [SAMEORIGIN]
x-ratelimit-by: [customer]
x-ratelimit-limit: ['100']
x-ratelimit-period: ['200']
x-ratelimit-remaining: ['99']
x-xss-protection: [1; mode=block]
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.18.4]
method: GET
uri: https://api.nsone.net/v1/zones/lexicon-example.com
response:
body: {string: !!python/unicode '{"nx_ttl":3600,"retry":7200,"zone":"lexicon-example.com","dnssec":false,"network_pools":["p08"],"primary":{"enabled":false,"secondaries":[]},"refresh":43200,"expiry":1209600,"dns_servers":["dns1.p08.nsone.net","dns2.p08.nsone.net","dns3.p08.nsone.net","dns4.p08.nsone.net"],"records":[{"domain":"_acme-challenge.createrecordset.lexicon-example.com","short_answers":["challengetoken1","challengetoken2"],"link":null,"ttl":3600,"tier":1,"type":"TXT","id":"5ab7b712c9c79d0001ad45e6"},{"domain":"_acme-challenge.deleterecordinset.lexicon-example.com","short_answers":["challengetoken2"],"link":null,"ttl":3600,"tier":1,"type":"TXT","id":"5ab7b7320c13a400014ee149"},{"domain":"_acme-challenge.fqdn.lexicon-example.com","short_answers":["challengetoken"],"link":null,"ttl":3600,"tier":1,"type":"TXT","id":"5ab7b709a632f60001419f0e"},{"domain":"_acme-challenge.full.lexicon-example.com","short_answers":["challengetoken"],"link":null,"ttl":3600,"tier":1,"type":"TXT","id":"5ab7b70cc94a900001c1dffa"},{"domain":"_acme-challenge.listrecordset.lexicon-example.com","short_answers":["challengetoken1","challengetoken2"],"link":null,"ttl":3600,"tier":1,"type":"TXT","id":"5ab7b73ea632f60001419f47"},{"domain":"_acme-challenge.noop.lexicon-example.com","short_answers":["challengetoken"],"link":null,"ttl":3600,"tier":1,"type":"TXT","id":"5ab7b7170c13a400014ee124"},{"domain":"_acme-challenge.test.lexicon-example.com","short_answers":["challengetoken"],"link":null,"ttl":3600,"tier":1,"type":"TXT","id":"5ab7b70fa632f60001b0b4a6"},{"domain":"docs.lexicon-example.com","short_answers":["docs.example.com"],"link":null,"ttl":3600,"tier":1,"type":"CNAME","id":"5ab7b7050c13a400014ee10c"},{"domain":"localhost.lexicon-example.com","short_answers":["127.0.0.1"],"link":null,"ttl":3600,"tier":1,"type":"A","id":"5ab7b702a632f60001b0b499"},{"domain":"orig.test.lexicon-example.com","short_answers":["challengetoken"],"link":null,"ttl":3600,"tier":1,"type":"TXT","id":"5ab7b74cc9c79d0001a8a828"},{"domain":"random.fqdntest.lexicon-example.com","short_answers":["challengetoken"],"link":null,"ttl":3600,"tier":1,"type":"TXT","id":"5ab7b7420c13a4000159eded"},{"domain":"random.fulltest.lexicon-example.com","short_answers":["challengetoken"],"link":null,"ttl":3600,"tier":1,"type":"TXT","id":"5ab7b744a632f60001419f4e"},{"domain":"random.test.lexicon-example.com","short_answers":["challengetoken"],"link":null,"ttl":3600,"tier":1,"type":"TXT","id":"5ab7b7480c13a400014ee156"}],"meta":{},"link":null,"serial":1521989452,"ttl":3600,"id":"5ab69dd6bbccf900012ef579","hostmaster":"hostmaster@nsone.net","networks":[0],"pool":"p08"}
'}
headers:
cache-control: [no-cache, 'private, max-age=0, no-cache, no-store']
cf-ray: [4012314168832dc1-BOM]
connection: [keep-alive]
content-length: ['2606']
content-type: [application/json]
date: ['Sun, 25 Mar 2018 14:50:53 GMT']
etag: [W/"c26280c3c324ef48aa111b41fc826da3d09ee08e"]
expect-ct: ['max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"']
expires: ['0']
pragma: [no-cache]
server: [cloudflare]
set-cookie: ['__cfduid=d6882223e989bc2cc5eff4c37dc8360301521989453; expires=Mon,
25-Mar-19 14:50:53 GMT; path=/; domain=.nsone.net; HttpOnly']
strict-transport-security: [max-age=63072000; includeSubdomains; preload]
transfer-encoding: [chunked]
x-content-type-options: [nosniff]
x-frame-options: [SAMEORIGIN]
x-ratelimit-by: [customer]
x-ratelimit-limit: ['900']
x-ratelimit-period: ['300']
x-ratelimit-remaining: ['899']
x-xss-protection: [1; mode=block]
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.18.4]
method: GET
uri: https://api.nsone.net/v1/zones/lexicon-example.com/orig.test.lexicon-example.com/TXT
response:
body: {string: !!python/unicode '{"domain":"orig.test.lexicon-example.com","zone":"lexicon-example.com","use_client_subnet":true,"answers":[{"answer":["challengetoken"],"id":"5ab7b74cc9c79d0001a8a827"}],"id":"5ab7b74cc9c79d0001a8a828","regions":{},"meta":{},"link":null,"filters":[],"ttl":3600,"tier":1,"type":"TXT","networks":[0]}
'}
headers:
cache-control: [no-cache, 'private, max-age=0, no-cache, no-store']
cf-ray: [4012314549f22dc7-BOM]
connection: [keep-alive]
content-length: ['299']
content-type: [application/json]
date: ['Sun, 25 Mar 2018 14:50:53 GMT']
etag: [W/"c3bb789f41869a007047db92c5e49338765a1670"]
expect-ct: ['max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"']
expires: ['0']
pragma: [no-cache]
server: [cloudflare]
set-cookie: ['__cfduid=d81a1431407eec8c1f9776f33133cf6601521989453; expires=Mon,
25-Mar-19 14:50:53 GMT; path=/; domain=.nsone.net; HttpOnly']
strict-transport-security: [max-age=63072000; includeSubdomains; preload]
transfer-encoding: [chunked]
x-content-type-options: [nosniff]
x-frame-options: [SAMEORIGIN]
x-ratelimit-by: [customer]
x-ratelimit-limit: ['900']
x-ratelimit-period: ['300']
x-ratelimit-remaining: ['899']
x-xss-protection: [1; mode=block]
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.18.4]
method: GET
uri: https://api.nsone.net/v1/zones/lexicon-example.com/updated.test.lexicon-example.com/TXT
response:
body: {string: !!python/unicode '{"message":"record not found"}
'}
headers:
cache-control: [no-cache]
cf-ray: [40123148fb5b2dc1-BOM]
connection: [keep-alive]
content-length: ['31']
content-type: [application/json]
date: ['Sun, 25 Mar 2018 14:50:54 GMT']
expect-ct: ['max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"']
expires: ['0']
pragma: [no-cache]
server: [cloudflare]
set-cookie: ['__cfduid=d7680dda99ae34f121a2e361920e5378e1521989454; expires=Mon,
25-Mar-19 14:50:54 GMT; path=/; domain=.nsone.net; HttpOnly']
x-ratelimit-by: [customer]
x-ratelimit-limit: ['900']
x-ratelimit-period: ['300']
x-ratelimit-remaining: ['899']
status: {code: 404, message: Not Found}
- request:
body: !!python/unicode '{"domain": "updated.test.lexicon-example.com", "type":
"TXT", "answers": [{"answer": ["challengetoken"]}], "zone": "lexicon-example.com"}'
headers:
Accept: [application/json]
Accept-Encoding: ['gzip, deflate']
Connection: [keep-alive]
Content-Length: ['137']
Content-Type: [application/json]
User-Agent: [python-requests/2.18.4]
method: PUT
uri: https://api.nsone.net/v1/zones/lexicon-example.com/updated.test.lexicon-example.com/TXT
response:
body: {string: !!python/unicode '{"domain":"updated.test.lexicon-example.com","zone":"lexicon-example.com","use_client_subnet":true,"answers":[{"answer":["challengetoken"],"id":"5ab7b74fbbccf900012fe098"}],"id":"5ab7b74fbbccf900012fe099","regions":{},"meta":{},"link":null,"filters":[],"ttl":3600,"tier":1,"type":"TXT","networks":[0]}
'}
headers:
cache-control: [no-cache, 'private, max-age=0, no-cache, no-store']
cf-ray: [4012314d9b2e889c-BOM]
connection: [keep-alive]
content-length: ['302']
content-type: [application/json]
date: ['Sun, 25 Mar 2018 14:50:56 GMT']
expect-ct: ['max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"']
expires: ['0']
pragma: [no-cache]
server: [cloudflare]
set-cookie: ['__cfduid=d68613ff3a5c086974a069c2fa3eb26e61521989454; expires=Mon,
25-Mar-19 14:50:54 GMT; path=/; domain=.nsone.net; HttpOnly']
strict-transport-security: [max-age=63072000; includeSubdomains; preload]
transfer-encoding: [chunked]
x-content-type-options: [nosniff]
x-frame-options: [SAMEORIGIN]
x-ratelimit-by: [customer]
x-ratelimit-limit: ['100']
x-ratelimit-period: ['200']
x-ratelimit-remaining: ['99']
x-xss-protection: [1; mode=block]
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.18.4]
method: DELETE
uri: https://api.nsone.net/v1/zones/lexicon-example.com/orig.test.lexicon-example.com/TXT
response:
body: {string: !!python/unicode '{}
'}
headers:
cache-control: [no-cache, 'private, max-age=0, no-cache, no-store']
cf-ray: [401231567b372dd9-BOM]
connection: [keep-alive]
content-length: ['3']
content-type: [application/json]
date: ['Sun, 25 Mar 2018 14:50:56 GMT']
expect-ct: ['max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"']
expires: ['0']
pragma: [no-cache]
server: [cloudflare]
set-cookie: ['__cfduid=d65481457e28bb4d498a12c7320dfb9301521989456; expires=Mon,
25-Mar-19 14:50:56 GMT; path=/; domain=.nsone.net; HttpOnly']
strict-transport-security: [max-age=63072000; includeSubdomains; preload]
x-content-type-options: [nosniff]
x-frame-options: [SAMEORIGIN]
x-ratelimit-by: [customer]
x-ratelimit-limit: ['100']
x-ratelimit-period: ['200']
x-ratelimit-remaining: ['99']
x-xss-protection: [1; mode=block]
status: {code: 200, message: OK}
version: 1
|