Add IPv6 for self-hosted DNS Resolver
This commit is contained in:
parent
44105eb060
commit
192fdb156c
1 changed files with 3 additions and 0 deletions
|
|
@ -760,6 +760,9 @@ ifconfig-pool-persist ipp.txt" >> /etc/openvpn/server.conf
|
|||
;;
|
||||
2)
|
||||
echo 'push "dhcp-option DNS 10.8.0.1"' >> /etc/openvpn/server.conf
|
||||
if [[ "$IPV6_SUPPORT" == 'y' ]]; then
|
||||
echo 'push "dhcp-option DNS fd42:42:42:42::1"' >> /etc/openvpn/server.conf
|
||||
fi
|
||||
;;
|
||||
3) # Cloudflare
|
||||
echo 'push "dhcp-option DNS 1.0.0.1"' >> /etc/openvpn/server.conf
|
||||
|
|
|
|||
Loading…
Reference in a new issue