diff options
author | Christian Breunig <christian@breunig.cc> | 2024-04-01 14:04:50 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2024-04-01 14:04:50 +0200 |
commit | ece425f0191762638b7c967097accd8739e9103d (patch) | |
tree | 36c28edf28af2548cbb13cec5c00e241860019ff /data/templates/dhcp-client/ipv6.j2 | |
parent | a95063831f83dcfe458691b86407b70107b700ad (diff) | |
download | vyos-1x-ece425f0191762638b7c967097accd8739e9103d.tar.gz vyos-1x-ece425f0191762638b7c967097accd8739e9103d.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.
Diffstat (limited to 'data/templates/dhcp-client/ipv6.j2')
-rw-r--r-- | data/templates/dhcp-client/ipv6.j2 | 2 |
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 %} - |