diff options
author | Christian Breunig <christian@breunig.cc> | 2024-04-01 14:04:50 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2024-04-04 21:24:54 +0200 |
commit | acb01526bedfb0aa96aa59cad5dec092769bd676 (patch) | |
tree | d4af46d0cd7dfb7415389f08e41237e36d5e2097 /data/templates/dhcp-client/ipv6.tmpl | |
parent | ae96118ec38c4064552889aea5e50023a66aac1e (diff) | |
download | vyos-1x-acb01526bedfb0aa96aa59cad5dec092769bd676.tar.gz vyos-1x-acb01526bedfb0aa96aa59cad5dec092769bd676.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.tmpl')
-rw-r--r-- | data/templates/dhcp-client/ipv6.tmpl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/data/templates/dhcp-client/ipv6.tmpl b/data/templates/dhcp-client/ipv6.tmpl index c292664e9..348ac1f22 100644 --- a/data/templates/dhcp-client/ipv6.tmpl +++ b/data/templates/dhcp-client/ipv6.tmpl @@ -23,6 +23,7 @@ interface {{ ifname }} { send ia-pd {{ pd }}; # prefix delegation #{{ pd }} {% endfor %} {% endif %} + script "{{ dhcp6_script_file }}"; }; {% if address is defined and 'dhcpv6' in address %} |