Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. $ curl -s -X PATCH ${URL}0.0.0.f.0.4.b.1.1.0.0.2.ip6.arpa. -H 'content-type: application/json' -H "x-api-key: ${API_KEY}" -d '{
  2. "rrsets": [
  3. {
  4. "name": "2.0.0.0.0.0.0.0.0.3.0.0.2.0.2.0.a.0.1.0.0.0.0.f.0.4.b.1.1.0.0.2.ip6.arpa.",
  5. "type": "PTR",
  6. "ttl": 86400,
  7. "changetype": "REPLACE",
  8. "records": [
  9. {
  10. "content": "po1.asr9202.edi.as20860.net",
  11. "disabled": false
  12. }
  13. ]
  14. }
  15. ]
  16. }' | json_reformat
  17. {
  18. "error": "Record 2.0.0.0.0.0.0.0.0.3.0.0.2.0.2.0.a.0.1.0.0.0.0.f.0.4.b.1.1.0.0.2.ip6.arpa./PTR 'po1.asr9202.edi.as20860.net': Not in expected format (parsed as 'po1.asr9202.edi.as20860.net.')"
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement