Advertisement
pilotdns

PilotDNS Zone Filter test 2

Jun 21st, 2018
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.31 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.         {
  7.             "priority": "10",
  8.             "exchanger": "test.mail.com.",
  9.             "name": "@",
  10.             "class": "IN",
  11.             "type": "MX",
  12.             "comment": "this is an mx record comment with ttl.",
  13.             "ttl": "3600"
  14.         },
  15.         {
  16.             "priority": "1",
  17.             "exchanger": "mail.testdom.com.",
  18.             "name": "@",
  19.             "class": "IN",
  20.             "type": "MX",
  21.             "comment": "this is an mx record coment with no ttl.",
  22.             "ttl": null
  23.         },
  24.         {
  25.             "alias_address": "www",
  26.             "name": "testc",
  27.             "class": "IN",
  28.             "type": "CNAME",
  29.             "comment": null,
  30.             "ttl": null
  31.         },
  32.         {
  33.             "alias_address": "www",
  34.             "name": "testct",
  35.             "class": "IN",
  36.             "type": "CNAME",
  37.             "comment": null,
  38.             "ttl": "9600"
  39.         },
  40.         {
  41.             "alias_address": "www",
  42.             "name": "testcc",
  43.             "class": "IN",
  44.             "type": "CNAME",
  45.             "comment": "cname test with ttl and comment",
  46.             "ttl": "3600"
  47.         }
  48.     ]
  49. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement