Merge pull request #1718 from pi-hole/tweak/VPNhostnames

Append ".vpn" TLD for OpenVPN host names
pull/1729/head
DL6ER 7 years ago committed by GitHub
commit 3578a3e311

@ -503,7 +503,7 @@ gravity_ParseLocalDomains() {
# Add additional LAN hosts provided by OpenVPN (if available)
if [[ -f "${VPNList}" ]]; then
awk -F, '{printf $2"\t"$1"\n"}' "${VPNList}" >> "${localList}"
awk -F, '{printf $2"\t"$1".vpn\n"}' "${VPNList}" >> "${localList}"
fi
}

Loading…
Cancel
Save