holy shit, more restructuring

This commit is contained in:
brent s
2020-05-15 18:01:03 -04:00
parent 429cf7b155
commit 363cdc712e
7 changed files with 226 additions and 162 deletions

View File

@@ -0,0 +1,2 @@
# This file should be *included* in your dnsmasq configuration.

View File

@@ -0,0 +1,30 @@
# Generated by he_ipv6
{% for assign in assignments %}
{% for assignment in assign.iface_blocks %}
interface {{ assignment.iface }} {
AdvSendAdvert on;
# Is it 1480 or 1280? Arch wiki says 1480, but everything else (older) says 1280.
# AdvLinkMTU 1280;
AdvLinkMTU 1480;
MinRtrAdvInterval 60;
MaxRtrAdvInterval 600;
AdvDefaultLifetime 9000;
{%- for block in assignment.iface_blocks %}
prefix {{ block|string }} {
AdvOnLink on;
{%- if block.prefixlen == 64 %}
AdvAutonomous on;
{%- endif %}
AdvRouterAddr off;
};
{%- endfor %}
{%- if ra.dns is true %}
RDNSS {{ nameservers[assignment.iface]|join(' ') }} {
};
{%- endif %}
};
{%- endfor %}
{%- endfor %}