summaryrefslogtreecommitdiff
path: root/data/templates/accel-ppp/config_name_server.j2
blob: 9c745fe62d2e0955c76379f04529953e42c353e2 (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 %}