Advertisement
pilotdns

PilotDNS Zone record responses compressed

Jun 21st, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 4.97 KB | None | 0 0
  1. {
  2.     "zone_name": "testdom.com",
  3.     "zone_type": "master",
  4.     "zone_file": "\/home\/pilotdns\/zones\/testzone.conf",
  5.     "records": {
  6.         "SOA": [
  7.             {
  8.                 "mname": "mail.",
  9.                 "rname": "anthony.testdom.com.",
  10.                 "serial": "1528613661",
  11.                 "serial_comment": "serial comment here",
  12.                 "refresh": "10800",
  13.                 "refresh_comment": "refresh comment here",
  14.                 "retry": "3600",
  15.                 "retry_comment": "retry comment here",
  16.                 "expire": "604800",
  17.                 "expire_comment": "expire comment here",
  18.                 "ttl_comment": " ttl comment here",
  19.                 "name": "testdom.com.",
  20.                 "class": "IN",
  21.                 "type": "SOA",
  22.                 "comment": "soa comment here",
  23.                 "ttl": "38400"
  24.             }
  25.         ],
  26.         "A": [
  27.             {
  28.                 "ip_address": "111.222.111.222",
  29.                 "name": "www",
  30.                 "class": "IN",
  31.                 "type": "A",
  32.                 "comment": null,
  33.                 "ttl": null
  34.             },
  35.             {
  36.                 "ip_address": "111.222.111.222",
  37.                 "name": "testcom",
  38.                 "class": "IN",
  39.                 "type": "A",
  40.                 "comment": "comment test here!",
  41.                 "ttl": null
  42.             },
  43.             {
  44.                 "ip_address": "12.224.221.223",
  45.                 "name": "testttl",
  46.                 "class": "IN",
  47.                 "type": "A",
  48.                 "comment": null,
  49.                 "ttl": "3600"
  50.             },
  51.             {
  52.                 "ip_address": "11.22.33.44",
  53.                 "name": "testctt",
  54.                 "class": "IN",
  55.                 "type": "A",
  56.                 "comment": "Just a test for TTL and comment on A record.",
  57.                 "ttl": "9600"
  58.             },
  59.             {
  60.                 "ip_address": "111.222.111.222",
  61.                 "name": "@",
  62.                 "class": "IN",
  63.                 "type": "A",
  64.                 "comment": null,
  65.                 "ttl": null
  66.             },
  67.             {
  68.                 "ip_address": "111.222.111.222",
  69.                 "name": "ns1",
  70.                 "class": "IN",
  71.                 "type": "A",
  72.                 "comment": null,
  73.                 "ttl": null
  74.             },
  75.             {
  76.                 "ip_address": "112.122.14.111",
  77.                 "name": "ns2",
  78.                 "class": "IN",
  79.                 "type": "A",
  80.                 "comment": null,
  81.                 "ttl": null
  82.             },
  83.             {
  84.                 "ip_address": "222.222.111.111",
  85.                 "name": "mail",
  86.                 "class": "IN",
  87.                 "type": "A",
  88.                 "comment": null,
  89.                 "ttl": null
  90.             }
  91.         ],
  92.         "TXT": [
  93.             {
  94.                 "txt_entry": "v=spf1 mx -all",
  95.                 "name": "@",
  96.                 "class": "IN",
  97.                 "type": "TXT",
  98.                 "comment": null,
  99.                 "ttl": null
  100.             },
  101.             {
  102.                 "txt_entry": "test text record 1",
  103.                 "name": "@",
  104.                 "class": "IN",
  105.                 "type": "TXT",
  106.                 "comment": null,
  107.                 "ttl": null
  108.             },
  109.             {
  110.                 "txt_entry": "test text record 2",
  111.                 "name": "@",
  112.                 "class": "IN",
  113.                 "type": "TXT",
  114.                 "comment": "with ttl and comment",
  115.                 "ttl": "3600"
  116.             }
  117.         ],
  118.         "MX": [
  119.             {
  120.                 "priority": "10",
  121.                 "exchanger": "test.mail.com.",
  122.                 "name": "@",
  123.                 "class": "IN",
  124.                 "type": "MX",
  125.                 "comment": "this is an mx record comment with ttl.",
  126.                 "ttl": "3600"
  127.             },
  128.             {
  129.                 "priority": "1",
  130.                 "exchanger": "mail.testdom.com.",
  131.                 "name": "@",
  132.                 "class": "IN",
  133.                 "type": "MX",
  134.                 "comment": "this is an mx record coment with no ttl.",
  135.                 "ttl": null
  136.             }
  137.         ],
  138.         "CNAME": [
  139.             {
  140.                 "alias_address": "www",
  141.                 "name": "testc",
  142.                 "class": "IN",
  143.                 "type": "CNAME",
  144.                 "comment": null,
  145.                 "ttl": null
  146.             },
  147.             {
  148.                 "alias_address": "www",
  149.                 "name": "testct",
  150.                 "class": "IN",
  151.                 "type": "CNAME",
  152.                 "comment": null,
  153.                 "ttl": "9600"
  154.             },
  155.             {
  156.                 "alias_address": "www",
  157.                 "name": "testcc",
  158.                 "class": "IN",
  159.                 "type": "CNAME",
  160.                 "comment": "cname test with ttl and comment",
  161.                 "ttl": "3600"
  162.             }
  163.         ]
  164.     }
  165. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement