summaryrefslogtreecommitdiff
path: root/data/templates/accel-ppp/config_name_server.j2
blob: 2bf064f928160ff6a5b56e5b5413f3bc07293d63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{% if name_server_ipv4 is defined and name_server_ipv4 is not none %}
[dns]
{%   for ns in name_server_ipv4 %}
dns{{ loop.index }}={{ ns }}
{%   endfor %}
{% endif %}

{% if name_server_ipv6 is defined and name_server_ipv6 is not none %}
[ipv6-dns]
{%   for ns in name_server_ipv6 %}
{{ ns }}
{%   endfor %}
{% endif %}