slave-instance-powerdns-input-schema.json 2.16 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 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 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 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
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-04/schema",

  "title": "Input Parameters",
  "properties": {

    "record": {
      "title": "Record",
      "description": "Record for the configuration",
      "type": "string"
    },

    "origin": {
      "title": "Origin",
      "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.exmple.com",
      "type": "string"
    },

    "default": {
      "title": "Default RR",
      "description": "Defautl record to use when the ip is not regognized",
      "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"
    },

    "china": {
      "title": "China RR",
      "description": "Records to use for China",
      "default": "cn",
      "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"
    }
  }
}