Skip to content
Snippets Groups Projects
Commit 439a9128 authored by skorpy's avatar skorpy :construction_worker:
Browse files

networkd/batman: add DNS to RA

parent 39bf4a1e
No related branches found
No related tags found
1 merge request!610move to systemd-networkd for gateways
......@@ -25,6 +25,14 @@ Managed=false
OtherInformation=true
RouterLifetimeSec=1800
RouterPreference=high
EmitDNS=true
{%- for ns in pillar['domains'][domain]['IPv6']['name_servers']|sort %}
DNS={{ ns }}
{%- endfor %}
EmitDomains=true
{%- for domain in salt['pillar.get']('domains:%s:search'|format(domain))|sort %}
Domains={{ domain }}
{%- endfor %}
{%- for prefix,prefixval in pillar['domains'][domain]['IPv6']['subnets'].items() | sort %}
{%- if not ('announce' in prefixval and prefixval['announce'] == False ) %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment