summaryrefslogtreecommitdiff
path: root/provider_base/services/dns.json
blob: 67948ef8d7c71410e71a163f56bc98103b311e1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
  "hosts": {
    "public":  "= nodes['dns.public' => true].fields('domain.name', 'dns.aliases', 'ip_address')",
    "private": "= nodes['dns.public' => false].fields('domain.name', 'dns.aliases', 'ip_address')"
  },
  "service_type": "public_service",
  "firewall": {
    "dns": {
      "from": "*",
      "to": "= ip_address",
      "port": "53"
    }
  }
}