summaryrefslogtreecommitdiff
path: root/config/roles/kresd/templates/kresd.conf.j2.bk
blob: bf9a141278f2debf895ae7393b1d2757a6a142c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
net.listen('10.41.0.1', 53, { kind = 'dns' })
net.listen('10.42.0.1', 53, { kind = 'dns' })
{% if openvpn_udp_network6 is defined and openvpn_udp_network6|length %}
net.listen('::1', 53, { kind = 'dns' })
{% endif %}
net.listen('{{ansible_vpn0.ipv4.address}}', 8453, { kind = 'webmgmt' }) #}
{# net.listen('{{ansible_vpn0.ipv4}}', 8453, { kind = 'webmgmt' }) #}

-- Load Useful modules
modules = {
	'stats',    -- Track internal statistics
	'http',
}

cache.size = 400 * MB

http.config({ geoip = '/var/lib/GeoIP/GeoLite2-Country.mmdb', })