vpcRef | reference to VPC | yes | | | The VPC served. One DNS service per VPC. |
zone | string | | | up to 253 characters | The zone served; defaults to <vpc>.<project>.etorm.internal. |
registerAccounts | boolean | | true | | Add <account>.<zone> for every member automatically. |
forwarders | list of string | | | up to 4 items | Public IPv4 resolvers for names outside the zone; without any, outside names are refused. |
records | list of object | | | up to 512 items | Records of the zone; names are relative to it, @ is the apex. Databases and message brokers on the VPC get names automatically (see spec 0012). |
records[].name | string | yes | | length 1 to 253 | Name relative to the zone; @ is the apex. |
records[].type | string (one of) | yes | | A, AAAA, CNAME, TXT | Record type. A record that follows a resource (followRef) is AAAA. |
records[].value | string | | | length 1 to 1000 | The record's data. Exactly one of value and followRef. |
records[].ttl | integer | | 60 | 0 to 86400 | Seconds a resolver may keep the answer. A record that follows a resource is served with at most 5. |
records[].followRef | object | | | | Instead of value: the name always answers with the current address of a resource in this project, so it follows a failover. Without an address (the resource is not running) the name does not exist. |
records[].followRef.kind | string (one of) | yes | | Database, MessageBroker | Kind of the resource. |
records[].followRef.name | string | yes | | length 1 to 63 | Name of the resource. |
records[].followRef.role | string (one of) | yes | | primary, replicas, serving, endpoints | Database: primary (the node that accepts writes) or replicas (read-only nodes, else the primary). MessageBroker: serving (the node that serves now) or endpoints (every node). |