commit | e3976a632d10e95e726ba9bd30ba971e755a9f0e | [log] [tgz] |
---|---|---|
author | Scott Baker <smbaker@gmail.com> | Wed May 06 20:07:07 2015 -0700 |
committer | Scott Baker <smbaker@gmail.com> | Wed May 06 20:07:07 2015 -0700 |
tree | 6dede8d72b45dce7944e7bfe364d38243c43fc7f | |
parent | ef586ff670eaaaa52780c4e764af32657b96e50f [diff] |
update dnsmasq template to set all cdn prefixes
diff --git a/xos/observers/vcpe/templates/dnsmasq_servers.j2 b/xos/observers/vcpe/templates/dnsmasq_servers.j2 index ac97035..359070a 100644 --- a/xos/observers/vcpe/templates/dnsmasq_servers.j2 +++ b/xos/observers/vcpe/templates/dnsmasq_servers.j2
@@ -3,7 +3,9 @@ {% if cdn_enable %} # CDN -server=/foo.com/{{ dnsdemux_ip }} +{% for prefix in cdn_prefixes %} +server=/{{ prefix }}/{{ dnsdemux_ip }} +{% endfor %} {% endif %} {% if url_filter_enable %}