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