Matteo Scandolo | 6288d5a | 2017-08-08 13:05:26 -0700 | [diff] [blame^] | 1 | |
| 2 | {# |
| 3 | Copyright 2017-present Open Networking Foundation |
| 4 | |
| 5 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | you may not use this file except in compliance with the License. |
| 7 | You may obtain a copy of the License at |
| 8 | |
| 9 | http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | |
| 11 | Unless required by applicable law or agreed to in writing, software |
| 12 | distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | See the License for the specific language governing permissions and |
| 15 | limitations under the License. |
| 16 | #} |
| 17 | |
| 18 | |
Andrea Campanella | 08c14ca | 2017-03-31 16:13:09 +0200 | [diff] [blame] | 19 | # This file autogenerated by vEG observer |
Andrea Campanella | edfdbca | 2017-02-01 17:33:47 -0800 | [diff] [blame] | 20 | # It contains a list of DNS servers for dnsmasq to use. |
| 21 | no-resolv |
| 22 | |
| 23 | {% if cdn_enable %} |
| 24 | {% if cdn_prefixes %} |
| 25 | # CDN |
| 26 | {% for prefix in cdn_prefixes %} |
| 27 | server=/{{ prefix }}/{{ dnsdemux_ip }} |
| 28 | {% endfor %} |
| 29 | {% endif %} |
| 30 | {% endif %} |
| 31 | |
| 32 | {% if url_filter_kind=="answerx" %} |
| 33 | cache-size=0 |
| 34 | add-mac |
| 35 | {% endif %} |
| 36 | |
| 37 | # temporary for ONS demo |
| 38 | address=/z.cdn.turner.com/207.141.192.134 |
| 39 | |
| 40 | # use google's DNS service |
| 41 | {% for dns_server in dns_servers %} |
| 42 | server={{ dns_server }} |
| 43 | {% endfor %} |
| 44 | |