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

Append ".vpn" TLD for OpenVPN host names
This commit is contained in:
DL6ER 2017-10-03 21:32:36 +02:00 committed by GitHub
commit 3578a3e311
1 changed files with 1 additions and 1 deletions

View File

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