aboutsummaryrefslogtreecommitdiff
path: root/templates/torrc.dns.erb
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2012-06-19 03:59:20 +0200
committerintrigeri <intrigeri@boum.org>2012-06-19 05:22:42 +0200
commitf12bf2ae954aeabb0c75d52801158238931ca0ae (patch)
treed626ef6ef78e77e70f871e790fdba10aa2447cf1 /templates/torrc.dns.erb
parenta7fa4a80543ea29ec9521831b15b146911c5fe8a (diff)
downloadpuppet-tor-f12bf2ae954aeabb0c75d52801158238931ca0ae.tar.gz
puppet-tor-f12bf2ae954aeabb0c75d52801158238931ca0ae.tar.bz2
Add support for DNSPort and DNSListenAddress.
Diffstat (limited to 'templates/torrc.dns.erb')
-rw-r--r--templates/torrc.dns.erb5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/torrc.dns.erb b/templates/torrc.dns.erb
new file mode 100644
index 0000000..bd1e719
--- /dev/null
+++ b/templates/torrc.dns.erb
@@ -0,0 +1,5 @@
+# DNS
+DNSPort <%= port %>
+<%- for listen_address in listen_addresses -%>
+DNSListenAddress <%= listen_address %>
+<%- end -%>