Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "zone_name": "testdom.com",
- "zone_type": "master",
- "zone_file": "\/home\/pilotdns\/zones\/testzone.conf",
- "records": {
- "SOA": [
- {
- "mname": "mail.",
- "rname": "anthony.testdom.com.",
- "serial": "1528613661",
- "serial_comment": "serial comment here",
- "refresh": "10800",
- "refresh_comment": "refresh comment here",
- "retry": "3600",
- "retry_comment": "retry comment here",
- "expire": "604800",
- "expire_comment": "expire comment here",
- "ttl_comment": " ttl comment here",
- "name": "testdom.com.",
- "class": "IN",
- "type": "SOA",
- "comment": "soa comment here",
- "ttl": "38400"
- }
- ],
- "A": [
- {
- "ip_address": "111.222.111.222",
- "name": "www",
- "class": "IN",
- "type": "A",
- "comment": null,
- "ttl": null
- },
- {
- "ip_address": "111.222.111.222",
- "name": "testcom",
- "class": "IN",
- "type": "A",
- "comment": "comment test here!",
- "ttl": null
- },
- {
- "ip_address": "12.224.221.223",
- "name": "testttl",
- "class": "IN",
- "type": "A",
- "comment": null,
- "ttl": "3600"
- },
- {
- "ip_address": "11.22.33.44",
- "name": "testctt",
- "class": "IN",
- "type": "A",
- "comment": "Just a test for TTL and comment on A record.",
- "ttl": "9600"
- },
- {
- "ip_address": "111.222.111.222",
- "name": "@",
- "class": "IN",
- "type": "A",
- "comment": null,
- "ttl": null
- },
- {
- "ip_address": "111.222.111.222",
- "name": "ns1",
- "class": "IN",
- "type": "A",
- "comment": null,
- "ttl": null
- },
- {
- "ip_address": "112.122.14.111",
- "name": "ns2",
- "class": "IN",
- "type": "A",
- "comment": null,
- "ttl": null
- },
- {
- "ip_address": "222.222.111.111",
- "name": "mail",
- "class": "IN",
- "type": "A",
- "comment": null,
- "ttl": null
- }
- ],
- "TXT": [
- {
- "txt_entry": "v=spf1 mx -all",
- "name": "@",
- "class": "IN",
- "type": "TXT",
- "comment": null,
- "ttl": null
- },
- {
- "txt_entry": "test text record 1",
- "name": "@",
- "class": "IN",
- "type": "TXT",
- "comment": null,
- "ttl": null
- },
- {
- "txt_entry": "test text record 2",
- "name": "@",
- "class": "IN",
- "type": "TXT",
- "comment": "with ttl and comment",
- "ttl": "3600"
- }
- ],
- "MX": [
- {
- "priority": "10",
- "exchanger": "test.mail.com.",
- "name": "@",
- "class": "IN",
- "type": "MX",
- "comment": "this is an mx record comment with ttl.",
- "ttl": "3600"
- },
- {
- "priority": "1",
- "exchanger": "mail.testdom.com.",
- "name": "@",
- "class": "IN",
- "type": "MX",
- "comment": "this is an mx record coment with no ttl.",
- "ttl": null
- }
- ],
- "CNAME": [
- {
- "alias_address": "www",
- "name": "testc",
- "class": "IN",
- "type": "CNAME",
- "comment": null,
- "ttl": null
- },
- {
- "alias_address": "www",
- "name": "testct",
- "class": "IN",
- "type": "CNAME",
- "comment": null,
- "ttl": "9600"
- },
- {
- "alias_address": "www",
- "name": "testcc",
- "class": "IN",
- "type": "CNAME",
- "comment": "cname test with ttl and comment",
- "ttl": "3600"
- }
- ]
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement