summaryrefslogtreecommitdiff
path: root/data/templates/dhcp-client/ipv6.j2
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-04-01 14:04:50 +0200
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-04-01 14:33:35 +0000
commit4e37494b9cb15f3c85b876de700babbaf1b38215 (patch)
tree4870c244a68cd2b4755f6521a46abbdc32c0f464 /data/templates/dhcp-client/ipv6.j2
parent5e5bb5a40cbd3fad92f0d88c36f47b9b5fd41347 (diff)
downloadvyos-1x-4e37494b9cb15f3c85b876de700babbaf1b38215.tar.gz
vyos-1x-4e37494b9cb15f3c85b876de700babbaf1b38215.zip
dhcpv6-client: T2590: fix vyos-hostsd update for nameserver and search domains
After migrating from ISC DHCLIENT for IPv6 to wide-dhcp-client the logic which was present to update /etc/resolv.conf with the DHCP specified nameservers and also the search domain list was no longer present. This commit adds a per interface rendered script to inform vyos-hostsd about the received IPv6 nameservers and search domains. (cherry picked from commit ece425f0191762638b7c967097accd8739e9103d)
Diffstat (limited to 'data/templates/dhcp-client/ipv6.j2')
-rw-r--r--data/templates/dhcp-client/ipv6.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/dhcp-client/ipv6.j2 b/data/templates/dhcp-client/ipv6.j2
index b5e55cdd1..311c856c8 100644
--- a/data/templates/dhcp-client/ipv6.j2
+++ b/data/templates/dhcp-client/ipv6.j2
@@ -23,6 +23,7 @@ interface {{ ifname }} {
send ia-pd {{ pd }}; # prefix delegation #{{ pd }}
{% endfor %}
{% endif %}
+ script "{{ dhcp6_script_file }}";
};
{% if address is vyos_defined and 'dhcpv6' in address %}
@@ -59,4 +60,3 @@ id-assoc pd {{ pd }} {
};
{% endfor %}
{% endif %}
-