ruantiblock: Minor fixes.

autoinstall.sh: Dnsmasq rebind protection for .onion.
This commit is contained in:
gSpot
2021-10-14 22:43:01 +03:00
parent 00a1f01787
commit 87abb0e334
4 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -446,7 +446,7 @@ GetDataFiles() {
printf "\n" >> "$DNSMASQ_DATA_FILE"
else
### Запись для .onion в $DNSMASQ_DATA_FILE
printf "server=/onion/%s\nipset=/onion/%s\n" "${ONION_DNS_ADDR}" "${IPSET_ONION}" >> "$DNSMASQ_DATA_FILE"
printf "server=/.onion/%s\nipset=/.onion/%s\n" "${ONION_DNS_ADDR}" "${IPSET_ONION}" >> "$DNSMASQ_DATA_FILE"
fi
rm -f "$UPDATE_PID_FILE"
return $_return_code