diff --git a/debian/wit-network-config.install b/debian/wit-network-config.install index f1dd242..42d43fc 100644 --- a/debian/wit-network-config.install +++ b/debian/wit-network-config.install @@ -14,6 +14,7 @@ files/ips.issue etc/issue.d files/wit-logging.conf etc/strongswan.d files/lldpd.wit etc/default files/timesyncd6 etc/dhcp/dhclient-exit-hooks.d +files/resolv6 etc/dhcp/dhclient-exit-hooks.d templates/wit-swanctl.conf etc/swanctl/conf.d templates/frr.conf.wit etc/frr templates/70-persistent-net.rules etc/udev/rules.d diff --git a/files/resolv6 b/files/resolv6 new file mode 100644 index 0000000..99d95ed --- /dev/null +++ b/files/resolv6 @@ -0,0 +1,6 @@ +# Wit - on DHCP6 just always run make_resolv_conf .. otherwise stateless dhcp doesn't set DNS since old and new_dhcp6_server are always the same +case $reason in + BOUND6|RENEW6|REBIND6|REBOOT6) + make_resolv_conf + ;; +esac