slave-instance-powerdns-input-schema.json 2.86 KB
Newer Older
1 2 3 4 5 6 7 8 9 10
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-04/schema",
  "title": "Input Parameters",
  "properties": {
    "record": {
      "title": "Record",
      "description": "Record for the configuration",
      "type": "string"
    },
11 12 13 14 15 16 17
    "applicable-zone": {
      "title": "Applicable Zone",
      "description": "Zone to which this record belongs. You can put only one zone here. If the record belongs to several zones, you should create several slaves.",
      "pattern": "^([a-zA-Z0-9]([a-zA-Z0-9\\-]{0,61}[a-zA-Z0-9])?\\.)+[a-zA-Z]{2,6}$",
      "default": "domain.com",
      "type": "string"
    },
18 19
    "origin": {
      "title": "Origin",
Bryton Lacquement's avatar
Bryton Lacquement committed
20
      "description": "Used to qualify RR in the configuration. i.e.: if your origin is a.example.com and the RR for Europe is 'eu' the european clients will use eu.a.example.com",
21 22 23 24
      "type": "string"
    },
    "default": {
      "title": "Default RR",
Bryton Lacquement's avatar
Bryton Lacquement committed
25
      "description": "Default record to use when the ip is not recognized",
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
      "type": "string"
    },
    "europe": {
      "title": "Europe RR",
      "description": "Records to use for Europe",
      "default": "eu",
      "type": "string"
    },
    "africa": {
      "title": "Africa RR",
      "description": "Records to use for Africa",
      "default": "af",
      "type": "string"
    },
    "south-america": {
      "title": "South America RR",
      "description": "Records to use for South America",
      "default": "sa",
      "type": "string"
    },
    "north-america": {
      "title": "North America RR",
      "description": "Records to use for North America",
      "default": "na",
      "type": "string"
    },
52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
    "china-telecom": {
      "title": "China Telecom RR",
      "description": "Records to use for China Telecom",
      "default": "cn-t",
      "type": "string"
    },
    "china-unicom": {
      "title": "China Unicom RR",
      "description": "Records to use for China Unicom",
      "default": "cn-u",
      "type": "string"
    },
    "china-mobile": {
      "title": "China Mobile RR",
      "description": "Records to use for China Mobile",
      "default": "cn-m",
68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101
      "type": "string"
    },
    "japan": {
      "title": "Japan RR",
      "description": "Records to use for Japan",
      "default": "jp",
      "type": "string"
    },
    "hong-kong": {
      "title": "Honk Kong RR",
      "description": "Records to use for Hong Kong",
      "default": "hk",
      "type": "string"
    },
    "east-asia": {
      "title": "East Asia RR",
      "description": "Records to use for East Asia",
      "default": "as",
      "type": "string"
    },
    "west-asia": {
      "title": "West Asia RR",
      "description": "Records to use for West Asia",
      "default": "eu",
      "type": "string"
    },
    "oceania": {
      "title": "Oceania RR",
      "description": "Records to use for Oceania",
      "default": "oc",
      "type": "string"
    }
  }
}