pdns-auth-proxy/fixtures/replay/record

2812 lines
88 KiB
Plaintext

[
{
"id": 0,
"jsonrpc": "2.0",
"error": {
"code": -32000,
"message": "Unknown domain"
}
},
{
"id": 1,
"jsonrpc": "2.0",
"result": [
{
"changes": "example.org 3600 IN NS a.example.org.\nexample.org 3600 IN NS b.example.org.\nexample.org 172800 IN SOA a.example.org. admin.example.org. 0 10380 3600 604800 3600\nexample.org 172800 IN TXT \"v=spf1 -all\"\n",
"comment": "",
"result": "",
"raw": [
{
"rrsets": [
{
"name": "example.org.",
"type": "NS",
"comments": [],
"records": [
{
"content": "a.example.org.",
"disabled": false,
"set-ptr": false
},
{
"content": "b.example.org.",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 3600
},
{
"name": "example.org.",
"type": "SOA",
"comments": [],
"records": [
{
"content": "a.example.org. admin.example.org. 0 10380 3600 604800 3600",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 172800
},
{
"name": "example.org.",
"type": "TXT",
"comments": [],
"records": [
{
"content": "\"v=spf1 -all\"",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 172800
}
],
"domain": ""
}
],
"error": ""
}
]
},
{
"id": 2,
"jsonrpc": "2.0",
"result": [
{
"changes": "2.0.192.in-addr.arpa 3600 IN NS a.example.org.\n2.0.192.in-addr.arpa 3600 IN NS b.example.org.\n2.0.192.in-addr.arpa 172800 IN SOA a.example.org. admin.example.org. 0 10380 3600 604800 3600\n2.0.192.in-addr.arpa 172800 IN TXT \"v=spf1 -all\"\n",
"comment": "",
"result": "",
"raw": [
{
"rrsets": [
{
"name": "2.0.192.in-addr.arpa.",
"type": "NS",
"comments": [],
"records": [
{
"content": "a.example.org.",
"disabled": false,
"set-ptr": false
},
{
"content": "b.example.org.",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 3600
},
{
"name": "2.0.192.in-addr.arpa.",
"type": "SOA",
"comments": [],
"records": [
{
"content": "a.example.org. admin.example.org. 0 10380 3600 604800 3600",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 172800
},
{
"name": "2.0.192.in-addr.arpa.",
"type": "TXT",
"comments": [],
"records": [
{
"content": "\"v=spf1 -all\"",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 172800
}
],
"domain": ""
}
],
"error": ""
}
]
},
{
"id": 3,
"jsonrpc": "2.0",
"result": [
{
"changes": "$ORIGIN example.org\nmail 172800 IN A 192.0.2.12 ; - - joe\n",
"comment": "Create a new A record mail.example.org. to 192.0.2.12 and add the reverse",
"result": "Command Successfull",
"raw": [
{
"rrsets": [
{
"name": "mail.example.org.",
"type": "A",
"comments": [
{
"account": " - joe",
"content": "-"
}
],
"records": [
{
"content": "192.0.2.12",
"disabled": false,
"set-ptr": true
}
],
"changetype": "REPLACE",
"ttl": 172800
}
],
"domain": "example.org"
}
],
"error": ""
}
]
},
{
"id": 4,
"jsonrpc": "2.0",
"result": [
{
"changes": "$ORIGIN example.org\nlocalhost 172800 IN A 127.0.0.1 ; - - joe\n",
"comment": "Create a new A record localhost.example.org. to 127.0.0.1",
"result": "Command Successfull",
"raw": [
{
"rrsets": [
{
"name": "localhost.example.org.",
"type": "A",
"comments": [
{
"account": " - joe",
"content": "-"
}
],
"records": [
{
"content": "127.0.0.1",
"disabled": false,
"set-ptr": false
}
],
"changetype": "REPLACE",
"ttl": 172800
}
],
"domain": "example.org"
}
],
"error": ""
}
]
},
{
"id": 5,
"jsonrpc": "2.0",
"result": [
{
"changes": "$ORIGIN example.org\nwww 172800 IN A 192.0.2.10 ; - - joe\n",
"comment": "Create a new A record www.example.org. to 192.0.2.10 and add the reverse",
"result": "Command Successfull",
"raw": [
{
"rrsets": [
{
"name": "www.example.org.",
"type": "A",
"comments": [
{
"account": " - joe",
"content": "-"
}
],
"records": [
{
"content": "192.0.2.10",
"disabled": false,
"set-ptr": true
}
],
"changetype": "REPLACE",
"ttl": 172800
}
],
"domain": "example.org"
}
],
"error": ""
}
]
},
{
"id": 6,
"jsonrpc": "2.0",
"result": [
{
"changes": "$ORIGIN example.org\na 172800 IN A 192.0.2.53 ; - - joe\n",
"comment": "Create a new A record a.example.org. to 192.0.2.53 and add the reverse",
"result": "Command Successfull",
"raw": [
{
"rrsets": [
{
"name": "a.example.org.",
"type": "A",
"comments": [
{
"account": " - joe",
"content": "-"
}
],
"records": [
{
"content": "192.0.2.53",
"disabled": false,
"set-ptr": true
}
],
"changetype": "REPLACE",
"ttl": 172800
}
],
"domain": "example.org"
}
],
"error": ""
}
]
},
{
"id": 7,
"jsonrpc": "2.0",
"result": [
{
"changes": "$ORIGIN example.org\nb 172800 IN A 192.0.2.54 ; - - joe\n",
"comment": "Create a new A record b.example.org. to 192.0.2.54 and add the reverse",
"result": "Command Successfull",
"raw": [
{
"rrsets": [
{
"name": "b.example.org.",
"type": "A",
"comments": [
{
"account": " - joe",
"content": "-"
}
],
"records": [
{
"content": "192.0.2.54",
"disabled": false,
"set-ptr": true
}
],
"changetype": "REPLACE",
"ttl": 172800
}
],
"domain": "example.org"
}
],
"error": ""
}
]
},
{
"id": 8,
"jsonrpc": "2.0",
"result": [
{
"changes": "2.0.192.in-addr.arpa\nexample.org",
"comment": "",
"result": "",
"raw": [
"example.org.",
"2.0.192.in-addr.arpa."
],
"error": ""
}
]
},
{
"id": 9,
"jsonrpc": "2.0",
"result": [
{
"changes": "$ORIGIN example.org\ntoto 172800 IN A 1.1.1.1 ; - - joe\n",
"comment": "Create a new A record toto.example.org. to 1.1.1.1",
"result": "Command Successfull",
"raw": [
{
"rrsets": [
{
"name": "toto.example.org.",
"type": "A",
"comments": [
{
"account": " - joe",
"content": "-"
}
],
"records": [
{
"content": "1.1.1.1",
"disabled": false,
"set-ptr": false
}
],
"changetype": "REPLACE",
"ttl": 172800
}
],
"domain": "example.org"
}
],
"error": ""
}
]
},
{
"id": 10,
"jsonrpc": "2.0",
"result": [
{
"changes": "2.0.192.in-addr.arpa\nexample.org",
"comment": "",
"result": "",
"raw": [
"example.org.",
"2.0.192.in-addr.arpa."
],
"error": ""
}
]
},
{
"id": 11,
"jsonrpc": "2.0",
"result": [
{
"changes": "$ORIGIN example.org.\n@ 3600 IN NS a.example.org.\n@ 3600 IN NS b.example.org.\n@ 172800 IN SOA a.example.org. admin.example.org. 0 10380 3600 604800 3600\n@ 172800 IN TXT \"v=spf1 -all\"\ntoto 172800 IN A 1.1.1.1 ; - - - joe\nlocalhost 172800 IN A 127.0.0.1 ; - - - joe\nwww 172800 IN A 192.0.2.10 ; - - - joe\nmail 172800 IN A 192.0.2.12 ; - - - joe\na 172800 IN A 192.0.2.53 ; - - - joe\nb 172800 IN A 192.0.2.54 ; - - - joe\n",
"comment": "",
"result": "Dry Run, nothing done",
"raw": [
{
"rrsets": [
{
"name": "example.org.",
"type": "NS",
"comments": [],
"records": [
{
"content": "a.example.org.",
"disabled": false,
"set-ptr": false
},
{
"content": "b.example.org.",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 3600
},
{
"name": "example.org.",
"type": "SOA",
"comments": [],
"records": [
{
"content": "a.example.org. admin.example.org. 0 10380 3600 604800 3600",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 172800
},
{
"name": "example.org.",
"type": "TXT",
"comments": [],
"records": [
{
"content": "\"v=spf1 -all\"",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 172800
},
{
"name": "toto.example.org.",
"type": "A",
"comments": [
{
"account": " - - joe",
"content": "-"
}
],
"records": [
{
"content": "1.1.1.1",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 172800
},
{
"name": "localhost.example.org.",
"type": "A",
"comments": [
{
"account": " - - joe",
"content": "-"
}
],
"records": [
{
"content": "127.0.0.1",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 172800
},
{
"name": "www.example.org.",
"type": "A",
"comments": [
{
"account": " - - joe",
"content": "-"
}
],
"records": [
{
"content": "192.0.2.10",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 172800
},
{
"name": "mail.example.org.",
"type": "A",
"comments": [
{
"account": " - - joe",
"content": "-"
}
],
"records": [
{
"content": "192.0.2.12",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 172800
},
{
"name": "a.example.org.",
"type": "A",
"comments": [
{
"account": " - - joe",
"content": "-"
}
],
"records": [
{
"content": "192.0.2.53",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 172800
},
{
"name": "b.example.org.",
"type": "A",
"comments": [
{
"account": " - - joe",
"content": "-"
}
],
"records": [
{
"content": "192.0.2.54",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 172800
}
],
"domain": "example.org."
}
],
"error": ""
}
]
},
{
"id": 12,
"jsonrpc": "2.0",
"result": [
{
"changes": "$ORIGIN example.org\ntoto 172800 IN A 1.1.1.1 ; -\n",
"comment": "Nothing to do, the record is unchanged",
"result": "Dry Run, nothing done",
"raw": [
{
"rrsets": [
{
"name": "toto.example.org.",
"type": "A",
"comments": [
{
"account": "",
"content": "-"
}
],
"records": [
{
"content": "1.1.1.1",
"disabled": false,
"set-ptr": false
}
],
"changetype": "REPLACE",
"ttl": 172800
}
],
"domain": "example.org"
}
],
"error": ""
}
]
},
{
"id": 13,
"jsonrpc": "2.0",
"result": [
{
"changes": "$ORIGIN example.org\ntoto 172800 IN A 1.1.1.1 ; - - joe\ntoto 172800 IN A 192.0.2.30 ; - - joe\n",
"comment": "Append a new A record toto.example.org. to 192.0.2.30 and add the reverse",
"result": "Command Successfull",
"raw": [
{
"rrsets": [
{
"name": "toto.example.org.",
"type": "A",
"comments": [
{
"account": " - joe",
"content": "-"
}
],
"records": [
{
"content": "1.1.1.1",
"disabled": false,
"set-ptr": false
},
{
"content": "192.0.2.30",
"disabled": false,
"set-ptr": true
}
],
"changetype": "REPLACE",
"ttl": 172800
}
],
"domain": "example.org"
}
],
"error": ""
}
]
},
{
"id": 14,
"jsonrpc": "2.0",
"result": [
{
"changes": "$ORIGIN 2.0.192.in-addr.arpa.\n@ 3600 IN NS a.example.org.\n@ 3600 IN NS b.example.org.\n10 172800 IN PTR www.example.org.\n12 172800 IN PTR mail.example.org.\n30 172800 IN PTR toto.example.org.\n53 172800 IN PTR a.example.org.\n54 172800 IN PTR b.example.org.\n@ 172800 IN SOA a.example.org. admin.example.org. 0 10380 3600 604800 3600\n@ 172800 IN TXT \"v=spf1 -all\"\n",
"comment": "",
"result": "Dry Run, nothing done",
"raw": [
{
"rrsets": [
{
"name": "2.0.192.in-addr.arpa.",
"type": "NS",
"comments": [],
"records": [
{
"content": "a.example.org.",
"disabled": false,
"set-ptr": false
},
{
"content": "b.example.org.",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 3600
},
{
"name": "10.2.0.192.in-addr.arpa.",
"type": "PTR",
"comments": [],
"records": [
{
"content": "www.example.org.",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 172800
},
{
"name": "12.2.0.192.in-addr.arpa.",
"type": "PTR",
"comments": [],
"records": [
{
"content": "mail.example.org.",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 172800
},
{
"name": "30.2.0.192.in-addr.arpa.",
"type": "PTR",
"comments": [],
"records": [
{
"content": "toto.example.org.",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 172800
},
{
"name": "53.2.0.192.in-addr.arpa.",
"type": "PTR",
"comments": [],
"records": [
{
"content": "a.example.org.",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 172800
},
{
"name": "54.2.0.192.in-addr.arpa.",
"type": "PTR",
"comments": [],
"records": [
{
"content": "b.example.org.",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 172800
},
{
"name": "2.0.192.in-addr.arpa.",
"type": "SOA",
"comments": [],
"records": [
{
"content": "a.example.org. admin.example.org. 0 10380 3600 604800 3600",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 172800
},
{
"name": "2.0.192.in-addr.arpa.",
"type": "TXT",
"comments": [],
"records": [
{
"content": "\"v=spf1 -all\"",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 172800
}
],
"domain": "2.0.192.in-addr.arpa."
}
],
"error": ""
}
]
},
{
"id": 15,
"jsonrpc": "2.0",
"result": [
{
"changes": "$ORIGIN 2.0.192.in-addr.arpa\n;; 30 172800 IN PTR toto.example.org.\n",
"comment": "Removing PTR 30.2.0.192.in-addr.arpa.",
"result": "Command Successfull",
"raw": [
{
"rrsets": [
{
"name": "30.2.0.192.in-addr.arpa.",
"type": "PTR",
"comments": null,
"records": [
{
"content": "toto.example.org.",
"disabled": false,
"set-ptr": false
}
],
"changetype": "DELETE",
"ttl": 172800
}
],
"domain": "2.0.192.in-addr.arpa"
}
],
"error": ""
},
{
"changes": "$ORIGIN example.org\ntoto 172800 IN A 1.1.1.1 ; - - joe\n",
"comment": "Modify A record toto.example.org. to 1.1.1.1",
"result": "Command Successfull",
"raw": [
{
"rrsets": [
{
"name": "toto.example.org.",
"type": "A",
"comments": [
{
"account": " - joe",
"content": "-"
}
],
"records": [
{
"content": "1.1.1.1",
"disabled": false,
"set-ptr": false
}
],
"changetype": "REPLACE",
"ttl": 172800
}
],
"domain": "example.org"
}
],
"error": ""
}
]
},
{
"id": 16,
"jsonrpc": "2.0",
"result": [
{
"changes": "$ORIGIN 2.0.192.in-addr.arpa.\n@ 3600 IN NS a.example.org.\n@ 3600 IN NS b.example.org.\n10 172800 IN PTR www.example.org.\n12 172800 IN PTR mail.example.org.\n53 172800 IN PTR a.example.org.\n54 172800 IN PTR b.example.org.\n@ 172800 IN SOA a.example.org. admin.example.org. 0 10380 3600 604800 3600\n@ 172800 IN TXT \"v=spf1 -all\"\n",
"comment": "",
"result": "Dry Run, nothing done",
"raw": [
{
"rrsets": [
{
"name": "2.0.192.in-addr.arpa.",
"type": "NS",
"comments": [],
"records": [
{
"content": "a.example.org.",
"disabled": false,
"set-ptr": false
},
{
"content": "b.example.org.",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 3600
},
{
"name": "10.2.0.192.in-addr.arpa.",
"type": "PTR",
"comments": [],
"records": [
{
"content": "www.example.org.",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 172800
},
{
"name": "12.2.0.192.in-addr.arpa.",
"type": "PTR",
"comments": [],
"records": [
{
"content": "mail.example.org.",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 172800
},
{
"name": "53.2.0.192.in-addr.arpa.",
"type": "PTR",
"comments": [],
"records": [
{
"content": "a.example.org.",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 172800
},
{
"name": "54.2.0.192.in-addr.arpa.",
"type": "PTR",
"comments": [],
"records": [
{
"content": "b.example.org.",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 172800
},
{
"name": "2.0.192.in-addr.arpa.",
"type": "SOA",
"comments": [],
"records": [
{
"content": "a.example.org. admin.example.org. 0 10380 3600 604800 3600",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 172800
},
{
"name": "2.0.192.in-addr.arpa.",
"type": "TXT",
"comments": [],
"records": [
{
"content": "\"v=spf1 -all\"",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 172800
}
],
"domain": "2.0.192.in-addr.arpa."
}
],
"error": ""
}
]
},
{
"id": 17,
"jsonrpc": "2.0",
"result": [
{
"changes": "$ORIGIN example.org.\n@ 3600 IN NS a.example.org.\n@ 3600 IN NS b.example.org.\n@ 172800 IN SOA a.example.org. admin.example.org. 0 10380 3600 604800 3600\n@ 172800 IN TXT \"v=spf1 -all\"\ntoto 172800 IN A 1.1.1.1 ; - - - joe\nlocalhost 172800 IN A 127.0.0.1 ; - - - joe\nwww 172800 IN A 192.0.2.10 ; - - - joe\nmail 172800 IN A 192.0.2.12 ; - - - joe\na 172800 IN A 192.0.2.53 ; - - - joe\nb 172800 IN A 192.0.2.54 ; - - - joe\n",
"comment": "",
"result": "Dry Run, nothing done",
"raw": [
{
"rrsets": [
{
"name": "example.org.",
"type": "NS",
"comments": [],
"records": [
{
"content": "a.example.org.",
"disabled": false,
"set-ptr": false
},
{
"content": "b.example.org.",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 3600
},
{
"name": "example.org.",
"type": "SOA",
"comments": [],
"records": [
{
"content": "a.example.org. admin.example.org. 0 10380 3600 604800 3600",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 172800
},
{
"name": "example.org.",
"type": "TXT",
"comments": [],
"records": [
{
"content": "\"v=spf1 -all\"",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 172800
},
{
"name": "toto.example.org.",
"type": "A",
"comments": [
{
"account": " - - joe",
"content": "-"
}
],
"records": [
{
"content": "1.1.1.1",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 172800
},
{
"name": "localhost.example.org.",
"type": "A",
"comments": [
{
"account": " - - joe",
"content": "-"
}
],
"records": [
{
"content": "127.0.0.1",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 172800
},
{
"name": "www.example.org.",
"type": "A",
"comments": [
{
"account": " - - joe",
"content": "-"
}
],
"records": [
{
"content": "192.0.2.10",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 172800
},
{
"name": "mail.example.org.",
"type": "A",
"comments": [
{
"account": " - - joe",
"content": "-"
}
],
"records": [
{
"content": "192.0.2.12",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 172800
},
{
"name": "a.example.org.",
"type": "A",
"comments": [
{
"account": " - - joe",
"content": "-"
}
],
"records": [
{
"content": "192.0.2.53",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 172800
},
{
"name": "b.example.org.",
"type": "A",
"comments": [
{
"account": " - - joe",
"content": "-"
}
],
"records": [
{
"content": "192.0.2.54",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 172800
}
],
"domain": "example.org."
}
],
"error": ""
}
]
},
{
"id": 18,
"jsonrpc": "2.0",
"result": [
{
"changes": "$ORIGIN example.org\nexample.org. 172800 IN CAA 0 issue \"digicert.com\" ; - - joe\n",
"comment": "Create a new CAA record example.org. to 0 issue \"digicert.com\"",
"result": "Command Successfull",
"raw": [
{
"rrsets": [
{
"name": "example.org.",
"type": "CAA",
"comments": [
{
"account": " - joe",
"content": "-"
}
],
"records": [
{
"content": "0 issue \"digicert.com\"",
"disabled": false,
"set-ptr": false
}
],
"changetype": "REPLACE",
"ttl": 172800
}
],
"domain": "example.org"
}
],
"error": ""
}
]
},
{
"id": 19,
"jsonrpc": "2.0",
"result": [
{
"changes": "$ORIGIN example.org\ntoto 172800 IN TXT \"text and spaces\" ; - - joe\n",
"comment": "Create a new TXT record toto.example.org. to \"text and spaces\"",
"result": "Command Successfull",
"raw": [
{
"rrsets": [
{
"name": "toto.example.org.",
"type": "TXT",
"comments": [
{
"account": " - joe",
"content": "-"
}
],
"records": [
{
"content": "\"text and spaces\"",
"disabled": false,
"set-ptr": false
}
],
"changetype": "REPLACE",
"ttl": 172800
}
],
"domain": "example.org"
}
],
"error": ""
}
]
},
{
"id": 20,
"jsonrpc": "2.0",
"result": [
{
"changes": "$ORIGIN example.org\ntoto2 172800 IN A 1.1.1.1 ; - - joe\n",
"comment": "Create a new A record toto2.example.org. to 1.1.1.1",
"result": "Command Successfull",
"raw": [
{
"rrsets": [
{
"name": "toto2.example.org.",
"type": "A",
"comments": [
{
"account": " - joe",
"content": "-"
}
],
"records": [
{
"content": "1.1.1.1",
"disabled": false,
"set-ptr": false
}
],
"changetype": "REPLACE",
"ttl": 172800
}
],
"domain": "example.org"
}
],
"error": ""
}
]
},
{
"id": 21,
"jsonrpc": "2.0",
"result": [
{
"changes": "$ORIGIN 2.0.192.in-addr.arpa\n10 172800 IN PTR www.example.org.\n",
"comment": "Nothing to do, the record is unchanged",
"result": "Dry Run, nothing done",
"raw": [
{
"rrsets": [
{
"name": "10.2.0.192.in-addr.arpa.",
"type": "PTR",
"comments": null,
"records": [
{
"content": "www.example.org.",
"disabled": false,
"set-ptr": false
}
],
"changetype": "REPLACE",
"ttl": 172800
}
],
"domain": "2.0.192.in-addr.arpa"
}
],
"error": ""
}
]
},
{
"id": 22,
"jsonrpc": "2.0",
"error": {
"code": -32000,
"message": "mail.example.org. must point to 192.0.2.11"
}
},
{
"id": 23,
"jsonrpc": "2.0",
"result": [
{
"changes": "$ORIGIN 2.0.192.in-addr.arpa\n12 172800 IN PTR mail.example.org.\n",
"comment": "Nothing to do, the record is unchanged",
"result": "Dry Run, nothing done",
"raw": [
{
"rrsets": [
{
"name": "12.2.0.192.in-addr.arpa.",
"type": "PTR",
"comments": null,
"records": [
{
"content": "mail.example.org.",
"disabled": false,
"set-ptr": false
}
],
"changetype": "REPLACE",
"ttl": 172800
}
],
"domain": "2.0.192.in-addr.arpa"
}
],
"error": ""
}
]
},
{
"id": 24,
"jsonrpc": "2.0",
"result": [
{
"changes": "$ORIGIN example.org\ntoto2 300 IN A 1.1.1.1 ; test - joe\n",
"comment": "",
"result": "Command Successfull",
"raw": [
{
"rrsets": [
{
"name": "toto2.example.org.",
"type": "A",
"comments": [
{
"account": " - joe",
"content": "test"
}
],
"records": [
{
"content": "1.1.1.1",
"disabled": false,
"set-ptr": false
}
],
"changetype": "REPLACE",
"ttl": 300
}
],
"domain": "example.org"
}
],
"error": ""
}
]
},
{
"id": 25,
"jsonrpc": "2.0",
"error": {
"code": -32000,
"message": "Nothing to do, the record is unchanged"
}
},
{
"id": 26,
"jsonrpc": "2.0",
"error": {
"code": -32000,
"message": "Nothing to do, the record is unchanged"
}
},
{
"id": 27,
"jsonrpc": "2.0",
"result": [
{
"changes": "$ORIGIN example.org.\n@ 172800 IN CAA 0 issue \"digicert.com\" ; - - - joe\n@ 3600 IN NS a.example.org.\n@ 3600 IN NS b.example.org.\n@ 172800 IN SOA a.example.org. admin.example.org. 0 10380 3600 604800 3600\n@ 172800 IN TXT \"v=spf1 -all\"\ntoto 172800 IN TXT \"text and spaces\" ; - - - joe\ntoto 172800 IN A 1.1.1.1 ; - - - joe\ntoto2 300 IN A 1.1.1.1 ; test - - joe\nlocalhost 172800 IN A 127.0.0.1 ; - - - joe\nwww 172800 IN A 192.0.2.10 ; - - - joe\nmail 172800 IN A 192.0.2.12 ; - - - joe\na 172800 IN A 192.0.2.53 ; - - - joe\nb 172800 IN A 192.0.2.54 ; - - - joe\n",
"comment": "",
"result": "Dry Run, nothing done",
"raw": [
{
"rrsets": [
{
"name": "example.org.",
"type": "CAA",
"comments": [
{
"account": " - - joe",
"content": "-"
}
],
"records": [
{
"content": "0 issue \"digicert.com\"",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 172800
},
{
"name": "example.org.",
"type": "NS",
"comments": [],
"records": [
{
"content": "a.example.org.",
"disabled": false,
"set-ptr": false
},
{
"content": "b.example.org.",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 3600
},
{
"name": "example.org.",
"type": "SOA",
"comments": [],
"records": [
{
"content": "a.example.org. admin.example.org. 0 10380 3600 604800 3600",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 172800
},
{
"name": "example.org.",
"type": "TXT",
"comments": [],
"records": [
{
"content": "\"v=spf1 -all\"",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 172800
},
{
"name": "toto.example.org.",
"type": "TXT",
"comments": [
{
"account": " - - joe",
"content": "-"
}
],
"records": [
{
"content": "\"text and spaces\"",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 172800
},
{
"name": "toto.example.org.",
"type": "A",
"comments": [
{
"account": " - - joe",
"content": "-"
}
],
"records": [
{
"content": "1.1.1.1",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 172800
},
{
"name": "toto2.example.org.",
"type": "A",
"comments": [
{
"account": " - - joe",
"content": "test"
}
],
"records": [
{
"content": "1.1.1.1",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 300
},
{
"name": "localhost.example.org.",
"type": "A",
"comments": [
{
"account": " - - joe",
"content": "-"
}
],
"records": [
{
"content": "127.0.0.1",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 172800
},
{
"name": "www.example.org.",
"type": "A",
"comments": [
{
"account": " - - joe",
"content": "-"
}
],
"records": [
{
"content": "192.0.2.10",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 172800
},
{
"name": "mail.example.org.",
"type": "A",
"comments": [
{
"account": " - - joe",
"content": "-"
}
],
"records": [
{
"content": "192.0.2.12",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 172800
},
{
"name": "a.example.org.",
"type": "A",
"comments": [
{
"account": " - - joe",
"content": "-"
}
],
"records": [
{
"content": "192.0.2.53",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 172800
},
{
"name": "b.example.org.",
"type": "A",
"comments": [
{
"account": " - - joe",
"content": "-"
}
],
"records": [
{
"content": "192.0.2.54",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 172800
}
],
"domain": "example.org."
}
],
"error": ""
}
]
},
{
"id": 28,
"jsonrpc": "2.0",
"result": [
{
"changes": "$ORIGIN example.org\ntiti 172800 IN CNAME toto.example.org. ; - - joe\n",
"comment": "Create a new CNAME record titi.example.org. to toto.example.org.",
"result": "Command Successfull",
"raw": [
{
"rrsets": [
{
"name": "titi.example.org.",
"type": "CNAME",
"comments": [
{
"account": " - joe",
"content": "-"
}
],
"records": [
{
"content": "toto.example.org.",
"disabled": false,
"set-ptr": false
}
],
"changetype": "REPLACE",
"ttl": 172800
}
],
"domain": "example.org"
}
],
"error": ""
}
]
},
{
"id": 29,
"jsonrpc": "2.0",
"error": {
"code": -32000,
"message": "titi.example.org. is not a valid MX"
}
},
{
"id": 30,
"jsonrpc": "2.0",
"error": {
"code": -32000,
"message": "titi.example.org. cannot be a CNAME"
}
},
{
"id": 31,
"jsonrpc": "2.0",
"result": [
{
"changes": "$ORIGIN example.org\nexample.org. 172800 IN MX 20 www.example.org. ; - - joe\n",
"comment": "Create a new MX record example.org. to 20 www.example.org.",
"result": "Command Successfull",
"raw": [
{
"rrsets": [
{
"name": "example.org.",
"type": "MX",
"comments": [
{
"account": " - joe",
"content": "-"
}
],
"records": [
{
"content": "20 www.example.org.",
"disabled": false,
"set-ptr": false
}
],
"changetype": "REPLACE",
"ttl": 172800
}
],
"domain": "example.org"
}
],
"error": ""
}
]
},
{
"id": 32,
"jsonrpc": "2.0",
"error": {
"code": -32000,
"message": "there are records pointing to toto.example.org., please delete them first"
}
},
{
"id": 33,
"jsonrpc": "2.0",
"result": [
{
"changes": "$ORIGIN example.org\n;; toto 172800 IN A 1.1.1.1\n",
"comment": "Removing A toto.example.org.",
"result": "Command Successfull",
"raw": [
{
"rrsets": [
{
"name": "toto.example.org.",
"type": "A",
"comments": null,
"records": [
{
"content": "1.1.1.1",
"disabled": false,
"set-ptr": false
}
],
"changetype": "DELETE",
"ttl": 172800
}
],
"domain": "example.org"
}
],
"error": ""
}
]
},
{
"id": 34,
"jsonrpc": "2.0",
"result": [
{
"changes": "$ORIGIN example.org\n;; toto 172800 IN TXT \"text and spaces\"\n",
"comment": "Removing TXT toto.example.org.",
"result": "Command Successfull",
"raw": [
{
"rrsets": [
{
"name": "toto.example.org.",
"type": "TXT",
"comments": null,
"records": [
{
"content": "\"text and spaces\"",
"disabled": false,
"set-ptr": false
}
],
"changetype": "DELETE",
"ttl": 172800
}
],
"domain": "example.org"
}
],
"error": ""
}
]
},
{
"id": 35,
"jsonrpc": "2.0",
"result": [
{
"changes": "$ORIGIN example.org\n;; titi 172800 IN CNAME toto.example.org.\n",
"comment": "Removing CNAME titi.example.org.",
"result": "Command Successfull",
"raw": [
{
"rrsets": [
{
"name": "titi.example.org.",
"type": "CNAME",
"comments": null,
"records": [
{
"content": "toto.example.org.",
"disabled": false,
"set-ptr": false
}
],
"changetype": "DELETE",
"ttl": 172800
}
],
"domain": "example.org"
}
],
"error": ""
}
]
},
{
"id": 36,
"jsonrpc": "2.0",
"result": [
{
"changes": "$ORIGIN example.org\n;; toto2 300 IN A 1.1.1.1\n",
"comment": "Removing A toto2.example.org.",
"result": "Command Successfull",
"raw": [
{
"rrsets": [
{
"name": "toto2.example.org.",
"type": "A",
"comments": null,
"records": [
{
"content": "1.1.1.1",
"disabled": false,
"set-ptr": false
}
],
"changetype": "DELETE",
"ttl": 300
}
],
"domain": "example.org"
}
],
"error": ""
}
]
},
{
"id": 37,
"jsonrpc": "2.0",
"result": [
{
"changes": "$ORIGIN example.org\ndevice.toto 172800 IN A 1.1.1.1 ; - - joe\n",
"comment": "Create a new A record device.toto.example.org. to 1.1.1.1",
"result": "Command Successfull",
"raw": [
{
"rrsets": [
{
"name": "device.toto.example.org.",
"type": "A",
"comments": [
{
"account": " - joe",
"content": "-"
}
],
"records": [
{
"content": "1.1.1.1",
"disabled": false,
"set-ptr": false
}
],
"changetype": "REPLACE",
"ttl": 172800
}
],
"domain": "example.org"
}
],
"error": ""
}
]
},
{
"id": 38,
"jsonrpc": "2.0",
"result": [
{
"changes": "$ORIGIN example.org\ntoto 172800 IN NS a.example.org. ; - - joe\ntoto 172800 IN NS b.example.org. ; - - joe\n",
"comment": "Append a new NS record toto.example.org. to b.example.org.",
"result": "Command Successfull",
"raw": [
{
"rrsets": [
{
"name": "toto.example.org.",
"type": "NS",
"comments": [
{
"account": " - joe",
"content": "-"
}
],
"records": [
{
"content": "a.example.org.",
"disabled": false,
"set-ptr": false
},
{
"content": "b.example.org.",
"disabled": false,
"set-ptr": false
}
],
"changetype": "REPLACE",
"ttl": 172800
}
],
"domain": "example.org"
}
],
"error": ""
},
{
"changes": "$ORIGIN example.org\n;; device.toto 172800 IN A 1.1.1.1\n",
"comment": "Removing A device.toto.example.org.",
"result": "Command Successfull",
"raw": [
{
"rrsets": [
{
"name": "device.toto.example.org.",
"type": "A",
"comments": null,
"records": [
{
"content": "1.1.1.1",
"disabled": false,
"set-ptr": false
}
],
"changetype": "DELETE",
"ttl": 172800
}
],
"domain": "example.org"
}
],
"error": ""
},
{
"changes": "toto.example.org 3600 IN NS a.example.org.\ntoto.example.org 3600 IN NS b.example.org.\ntoto.example.org 172800 IN SOA a.example.org. admin.example.org. 0 10380 3600 604800 3600\ndevice.toto.example.org 172800 IN A 1.1.1.1 ; - - - joe\n",
"comment": "",
"result": "",
"raw": [
{
"rrsets": [
{
"name": "toto.example.org.",
"type": "NS",
"comments": [],
"records": [
{
"content": "a.example.org.",
"disabled": false,
"set-ptr": false
},
{
"content": "b.example.org.",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 3600
},
{
"name": "toto.example.org.",
"type": "SOA",
"comments": [],
"records": [
{
"content": "a.example.org. admin.example.org. 0 10380 3600 604800 3600",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 172800
},
{
"name": "device.toto.example.org.",
"type": "A",
"comments": [
{
"account": " - - joe",
"content": "-"
}
],
"records": [
{
"content": "1.1.1.1",
"disabled": false,
"set-ptr": false
}
],
"changetype": "",
"ttl": 172800
}
],
"domain": ""
}
],
"error": ""
}
]
},
{
"id": 39,
"jsonrpc": "2.0",
"result": [
{
"changes": "$ORIGIN example.org\nbidule.titi 172800 IN CNAME www.example.org. ; - - joe\n",
"comment": "Create a new CNAME record bidule.titi.example.org. to www.example.org.",
"result": "Command Successfull",
"raw": [
{
"rrsets": [
{
"name": "bidule.titi.example.org.",
"type": "CNAME",
"comments": [
{
"account": " - joe",
"content": "-"
}
],
"records": [
{
"content": "www.example.org.",
"disabled": false,
"set-ptr": false
}
],
"changetype": "REPLACE",
"ttl": 172800
}
],
"domain": "example.org"
}
],
"error": ""
}
]
},
{
"id": 40,
"jsonrpc": "2.0",
"error": {
"code": -32000,
"message": "There are records that will be masked if you delegate the zone\nPlease delete them first"
}
},
{
"id": 41,
"jsonrpc": "2.0",
"error": {
"code": -32000,
"message": "There are records that will be masked if you delegate the zone\nPlease delete them first"
}
},
{
"id": 42,
"jsonrpc": "2.0",
"error": {
"code": -32000,
"message": "There are records that will be masked if you delegate the zone\nPlease delete them first"
}
},
{
"id": 43,
"jsonrpc": "2.0",
"error": {
"code": -32000,
"message": "There are records that will be masked if you delegate the zone\nPlease delete them first"
}
},
{
"id": 44,
"jsonrpc": "2.0",
"result": [
{
"changes": "$ORIGIN example.org\ntruc.titi 172800 IN AAAA 2001:7a8::1 ; - - joe\n",
"comment": "Create a new AAAA record truc.titi.example.org. to 2001:7a8::1",
"result": "Command Successfull",
"raw": [
{
"rrsets": [
{
"name": "truc.titi.example.org.",
"type": "AAAA",
"comments": [
{
"account": " - joe",
"content": "-"
}
],
"records": [
{
"content": "2001:7a8::1",
"disabled": false,
"set-ptr": false
}
],
"changetype": "REPLACE",
"ttl": 172800
}
],
"domain": "example.org"
}
],
"error": ""
}
]
},
{
"id": 45,
"jsonrpc": "2.0",
"result": [
{
"changes": "$ORIGIN example.org\nbidule.titi 172800 IN CNAME www.example.org. ; -\n",
"comment": "Nothing to do, the record is unchanged",
"result": "Dry Run, nothing done",
"raw": [
{
"rrsets": [
{
"name": "bidule.titi.example.org.",
"type": "CNAME",
"comments": [
{
"account": "",
"content": "-"
}
],
"records": [
{
"content": "www.example.org.",
"disabled": false,
"set-ptr": false
}
],
"changetype": "REPLACE",
"ttl": 172800
}
],
"domain": "example.org"
}
],
"error": ""
}
]
},
{
"id": 46,
"jsonrpc": "2.0",
"result": [
{
"changes": "$ORIGIN example.org\n;; bidule.titi 172800 IN CNAME www.example.org.\n",
"comment": "Removing CNAME bidule.titi.example.org.",
"result": "Command Successfull",
"raw": [
{
"rrsets": [
{
"name": "bidule.titi.example.org.",
"type": "CNAME",
"comments": null,
"records": [
{
"content": "www.example.org.",
"disabled": false,
"set-ptr": false
}
],
"changetype": "DELETE",
"ttl": 172800
}
],
"domain": "example.org"
}
],
"error": ""
}
]
},
{
"id": 47,
"jsonrpc": "2.0",
"result": [
{
"changes": "$ORIGIN example.org\ntiti 172800 IN NS truc.titi.example.org. ; - - joe\n",
"comment": "Create a new NS record titi.example.org. to truc.titi.example.org.",
"result": "Command Successfull",
"raw": [
{
"rrsets": [
{
"name": "titi.example.org.",
"type": "NS",
"comments": [
{
"account": " - joe",
"content": "-"
}
],
"records": [
{
"content": "truc.titi.example.org.",
"disabled": false,
"set-ptr": false
}
],
"changetype": "REPLACE",
"ttl": 172800
}
],
"domain": "example.org"
}
],
"error": ""
}
]
},
{
"id": 48,
"jsonrpc": "2.0",
"result": [
{
"changes": "$ORIGIN example.org\ntiti 172800 IN NS a.exemple.com. ; - - joe\ntiti 172800 IN NS truc.titi.example.org. ; - - joe\n",
"comment": "Append a new NS record titi.example.org. to a.exemple.com.",
"result": "Command Successfull",
"raw": [
{
"rrsets": [
{
"name": "titi.example.org.",
"type": "NS",
"comments": [
{
"account": " - joe",
"content": "-"
}
],
"records": [
{
"content": "a.exemple.com.",
"disabled": false,
"set-ptr": false
},
{
"content": "truc.titi.example.org.",
"disabled": false,
"set-ptr": false
}
],
"changetype": "REPLACE",
"ttl": 172800
}
],
"domain": "example.org"
}
],
"error": ""
}
]
},
{
"id": 49,
"jsonrpc": "2.0",
"result": [
{
"changes": "truc.titi.example.org 172800 IN AAAA 2001:7a8::1 ; -\nexample.org 172800 IN CAA 0 issue \"digicert.com\" ; -\nexample.org 172800 IN MX 20 www.example.org. ; -\n2.0.192.in-addr.arpa 3600 IN NS a.example.org.\n2.0.192.in-addr.arpa 3600 IN NS b.example.org.\nexample.org 3600 IN NS a.example.org. ; -\nexample.org 3600 IN NS b.example.org. ; -\ntiti.example.org 172800 IN NS a.exemple.com. ; -\ntiti.example.org 172800 IN NS truc.titi.example.org. ; -\ntoto.example.org 3600 IN NS a.example.org. ; -\ntoto.example.org 3600 IN NS a.example.org. ; -\ntoto.example.org 3600 IN NS b.example.org. ; -\ntoto.example.org 3600 IN NS b.example.org. ; -\n10.2.0.192.in-addr.arpa 172800 IN PTR www.example.org.\n12.2.0.192.in-addr.arpa 172800 IN PTR mail.example.org.\n53.2.0.192.in-addr.arpa 172800 IN PTR a.example.org.\n54.2.0.192.in-addr.arpa 172800 IN PTR b.example.org.\n2.0.192.in-addr.arpa 172800 IN SOA a.example.org. admin.example.org. 0 10380 3600 604800 3600\nexample.org 172800 IN SOA a.example.org. admin.example.org. 0 10380 3600 604800 3600 ; -\ntoto.example.org 172800 IN SOA a.example.org. admin.example.org. 0 10380 3600 604800 3600 ; -\n2.0.192.in-addr.arpa 172800 IN TXT \"v=spf1 -all\"\nexample.org 172800 IN TXT \"v=spf1 -all\" ; -\ndevice.toto.example.org 172800 IN A 1.1.1.1 ; -\nlocalhost.example.org 172800 IN A 127.0.0.1 ; -\nwww.example.org 172800 IN A 192.0.2.10 ; -\nmail.example.org 172800 IN A 192.0.2.12 ; -\na.example.org 172800 IN A 192.0.2.53 ; -\nb.example.org 172800 IN A 192.0.2.54 ; -\n",
"comment": "",
"result": "Dry Run, nothing done",
"raw": [
{
"rrsets": [
{
"name": "truc.titi.example.org.",
"type": "AAAA",
"comments": [
{
"account": "",
"content": "-"
}
],
"records": [
{
"content": "2001:7a8::1",
"disabled": false,
"set-ptr": false
}
],
"changetype": "REPLACE",
"ttl": 172800
},
{
"name": "example.org.",
"type": "CAA",
"comments": [
{
"account": "",
"content": "-"
}
],
"records": [
{
"content": "0 issue \"digicert.com\"",
"disabled": false,
"set-ptr": false
}
],
"changetype": "REPLACE",
"ttl": 172800
},
{
"name": "example.org.",
"type": "MX",
"comments": [
{
"account": "",
"content": "-"
}
],
"records": [
{
"content": "20 www.example.org.",
"disabled": false,
"set-ptr": false
}
],
"changetype": "REPLACE",
"ttl": 172800
},
{
"name": "2.0.192.in-addr.arpa.",
"type": "NS",
"comments": null,
"records": [
{
"content": "a.example.org.",
"disabled": false,
"set-ptr": false
},
{
"content": "b.example.org.",
"disabled": false,
"set-ptr": false
}
],
"changetype": "REPLACE",
"ttl": 3600
},
{
"name": "example.org.",
"type": "NS",
"comments": [
{
"account": "",
"content": "-"
}
],
"records": [
{
"content": "a.example.org.",
"disabled": false,
"set-ptr": false
},
{
"content": "b.example.org.",
"disabled": false,
"set-ptr": false
}
],
"changetype": "REPLACE",
"ttl": 3600
},
{
"name": "titi.example.org.",
"type": "NS",
"comments": [
{
"account": "",
"content": "-"
}
],
"records": [
{
"content": "a.exemple.com.",
"disabled": false,
"set-ptr": false
},
{
"content": "truc.titi.example.org.",
"disabled": false,
"set-ptr": false
}
],
"changetype": "REPLACE",
"ttl": 172800
},
{
"name": "toto.example.org.",
"type": "NS",
"comments": [
{
"account": "",
"content": "-"
}
],
"records": [
{
"content": "a.example.org.",
"disabled": false,
"set-ptr": false
},
{
"content": "a.example.org.",
"disabled": false,
"set-ptr": false
},
{
"content": "b.example.org.",
"disabled": false,
"set-ptr": false
},
{
"content": "b.example.org.",
"disabled": false,
"set-ptr": false
}
],
"changetype": "REPLACE",
"ttl": 3600
},
{
"name": "10.2.0.192.in-addr.arpa.",
"type": "PTR",
"comments": null,
"records": [
{
"content": "www.example.org.",
"disabled": false,
"set-ptr": false
}
],
"changetype": "REPLACE",
"ttl": 172800
},
{
"name": "12.2.0.192.in-addr.arpa.",
"type": "PTR",
"comments": null,
"records": [
{
"content": "mail.example.org.",
"disabled": false,
"set-ptr": false
}
],
"changetype": "REPLACE",
"ttl": 172800
},
{
"name": "53.2.0.192.in-addr.arpa.",
"type": "PTR",
"comments": null,
"records": [
{
"content": "a.example.org.",
"disabled": false,
"set-ptr": false
}
],
"changetype": "REPLACE",
"ttl": 172800
},
{
"name": "54.2.0.192.in-addr.arpa.",
"type": "PTR",
"comments": null,
"records": [
{
"content": "b.example.org.",
"disabled": false,
"set-ptr": false
}
],
"changetype": "REPLACE",
"ttl": 172800
},
{
"name": "2.0.192.in-addr.arpa.",
"type": "SOA",
"comments": null,
"records": [
{
"content": "a.example.org. admin.example.org. 0 10380 3600 604800 3600",
"disabled": false,
"set-ptr": false
}
],
"changetype": "REPLACE",
"ttl": 172800
},
{
"name": "example.org.",
"type": "SOA",
"comments": [
{
"account": "",
"content": "-"
}
],
"records": [
{
"content": "a.example.org. admin.example.org. 0 10380 3600 604800 3600",
"disabled": false,
"set-ptr": false
}
],
"changetype": "REPLACE",
"ttl": 172800
},
{
"name": "toto.example.org.",
"type": "SOA",
"comments": [
{
"account": "",
"content": "-"
}
],
"records": [
{
"content": "a.example.org. admin.example.org. 0 10380 3600 604800 3600",
"disabled": false,
"set-ptr": false
}
],
"changetype": "REPLACE",
"ttl": 172800
},
{
"name": "2.0.192.in-addr.arpa.",
"type": "TXT",
"comments": null,
"records": [
{
"content": "\"v=spf1 -all\"",
"disabled": false,
"set-ptr": false
}
],
"changetype": "REPLACE",
"ttl": 172800
},
{
"name": "example.org.",
"type": "TXT",
"comments": [
{
"account": "",
"content": "-"
}
],
"records": [
{
"content": "\"v=spf1 -all\"",
"disabled": false,
"set-ptr": false
}
],
"changetype": "REPLACE",
"ttl": 172800
},
{
"name": "device.toto.example.org.",
"type": "A",
"comments": [
{
"account": "",
"content": "-"
}
],
"records": [
{
"content": "1.1.1.1",
"disabled": false,
"set-ptr": false
}
],
"changetype": "REPLACE",
"ttl": 172800
},
{
"name": "localhost.example.org.",
"type": "A",
"comments": [
{
"account": "",
"content": "-"
}
],
"records": [
{
"content": "127.0.0.1",
"disabled": false,
"set-ptr": false
}
],
"changetype": "REPLACE",
"ttl": 172800
},
{
"name": "www.example.org.",
"type": "A",
"comments": [
{
"account": "",
"content": "-"
}
],
"records": [
{
"content": "192.0.2.10",
"disabled": false,
"set-ptr": false
}
],
"changetype": "REPLACE",
"ttl": 172800
},
{
"name": "mail.example.org.",
"type": "A",
"comments": [
{
"account": "",
"content": "-"
}
],
"records": [
{
"content": "192.0.2.12",
"disabled": false,
"set-ptr": false
}
],
"changetype": "REPLACE",
"ttl": 172800
},
{
"name": "a.example.org.",
"type": "A",
"comments": [
{
"account": "",
"content": "-"
}
],
"records": [
{
"content": "192.0.2.53",
"disabled": false,
"set-ptr": false
}
],
"changetype": "REPLACE",
"ttl": 172800
},
{
"name": "b.example.org.",
"type": "A",
"comments": [
{
"account": "",
"content": "-"
}
],
"records": [
{
"content": "192.0.2.54",
"disabled": false,
"set-ptr": false
}
],
"changetype": "REPLACE",
"ttl": 172800
}
],
"domain": ""
}
],
"error": ""
}
]
},
{
"id": 50,
"jsonrpc": "2.0",
"result": [
{
"changes": "example.org",
"comment": "",
"result": "",
"raw": [
"example.org"
],
"error": ""
}
]
},
{
"id": 51,
"jsonrpc": "2.0",
"result": [
{
"changes": "$ORIGIN example.org\nwww5 172800 IN CNAME indirect.titi.example.org. ; - - joe\n",
"comment": "Create a new CNAME record www5.example.org. to indirect.titi.example.org.",
"result": "Command Successfull",
"raw": [
{
"rrsets": [
{
"name": "www5.example.org.",
"type": "CNAME",
"comments": [
{
"account": " - joe",
"content": "-"
}
],
"records": [
{
"content": "indirect.titi.example.org.",
"disabled": false,
"set-ptr": false
}
],
"changetype": "REPLACE",
"ttl": 172800
}
],
"domain": "example.org"
}
],
"error": ""
}
]
},
{
"id": 52,
"jsonrpc": "2.0",
"error": {
"code": -32000,
"message": "invalid name"
}
},
{
"id": 53,
"jsonrpc": "2.0",
"error": {
"code": -32000,
"message": "Unknown domain"
}
}
]