fix updating resolv.conf for IPv6 stateless DHCP6

This commit is contained in:
toby 2019-04-19 20:34:35 +00:00
parent ff5df9e336
commit d3a64d956c
2 changed files with 7 additions and 0 deletions

View File

@ -14,6 +14,7 @@ files/ips.issue etc/issue.d
files/wit-logging.conf etc/strongswan.d files/wit-logging.conf etc/strongswan.d
files/lldpd.wit etc/default files/lldpd.wit etc/default
files/timesyncd6 etc/dhcp/dhclient-exit-hooks.d 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/wit-swanctl.conf etc/swanctl/conf.d
templates/frr.conf.wit etc/frr templates/frr.conf.wit etc/frr
templates/70-persistent-net.rules etc/udev/rules.d templates/70-persistent-net.rules etc/udev/rules.d

6
files/resolv6 Normal file
View File

@ -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