summaryrefslogtreecommitdiff
path: root/provider_base/services/dns.json
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2015-08-07 14:22:48 -0700
committerelijah <elijah@riseup.net>2015-09-24 09:17:03 -0700
commit9352ce45a7950ff1175d3a7e5412fc9006691799 (patch)
treebb2b1070f4e6cb3ac57ab691ac01c98613d6c0f7 /provider_base/services/dns.json
parentbbc95640557e200a5a4e463f451ed647692dc0a3 (diff)
added firewall information to nodes (needed for `leap compile firewall`)
Diffstat (limited to 'provider_base/services/dns.json')
-rw-r--r--provider_base/services/dns.json9
1 files changed, 8 insertions, 1 deletions
diff --git a/provider_base/services/dns.json b/provider_base/services/dns.json
index 677d9b2c..67948ef8 100644
--- a/provider_base/services/dns.json
+++ b/provider_base/services/dns.json
@@ -3,5 +3,12 @@
"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"
+ "service_type": "public_service",
+ "firewall": {
+ "dns": {
+ "from": "*",
+ "to": "= ip_address",
+ "port": "53"
+ }
+ }
} \ No newline at end of file