Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ 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 '{
- "rrsets": [
- {
- "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.",
- "type": "PTR",
- "ttl": 86400,
- "changetype": "REPLACE",
- "records": [
- {
- "content": "po1.asr9202.edi.as20860.net",
- "disabled": false
- }
- ]
- }
- ]
- }' | json_reformat
- {
- "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.')"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement