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

{% if name_server_ipv6 is vyos_defined %}
[ipv6-dns]
{%   for ns in name_server_ipv6 %}
{{ ns }}
{%   endfor %}
{% endif %}