diff options
| author | Nicolas Vandamme <n.vandamme@firis-system.lu> | 2025-10-09 17:12:10 +0200 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2025-10-09 17:12:10 +0200 |
| commit | 0c5809588980a198a02ebfb70a459d519af0001e (patch) | |
| tree | 0a8b9ff5dde8eb8d6cff26f2b4171547e837187d /data | |
| parent | c8759c0f89f36b9a4b603fb9587f9c2f6709edd6 (diff) | |
| download | vyos-1x-0c5809588980a198a02ebfb70a459d519af0001e.tar.gz vyos-1x-0c5809588980a198a02ebfb70a459d519af0001e.zip | |
pppoe: T7485: add DHCPv6 options to disable DNS
Co-Authored-By: Christian Breunig <christian@breunig.cc>
Diffstat (limited to 'data')
| -rw-r--r-- | data/templates/dhcp-client/ipv6.j2 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/data/templates/dhcp-client/ipv6.j2 b/data/templates/dhcp-client/ipv6.j2 index 00df7a0e9..07faeb91c 100644 --- a/data/templates/dhcp-client/ipv6.j2 +++ b/data/templates/dhcp-client/ipv6.j2 @@ -6,8 +6,12 @@ interface {{ ifname }} { send client-id {{ dhcpv6_options.duid }}; {% endif %} {% if address is vyos_defined and 'dhcpv6' in address %} +{% if dhcpv6_options.no_request_dns is not vyos_defined %} request domain-name-servers; +{% endif %} +{% if dhcpv6_options.no_request_domain_name is not vyos_defined %} request domain-name; +{% endif %} {% if dhcpv6_options.parameters_only is vyos_defined %} information-only; {% endif %} |
