We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9e2114 commit a5b288cCopy full SHA for a5b288c
1 file changed
daemon/References/macOS/etc/firewall.sh
@@ -305,7 +305,7 @@ function set_dns {
305
pfctl -a ${ANCHOR}/${ROUTE_SA_INIT} -t ${ROUTE_TBL_DNS} -T flush
306
fi
307
308
- if [[ -z "${DNS}" ]] ; then
+ if [[ -z "${DNS}" && -z "${DNS_LOCAL}" ]] ; then
309
# DNS not defined. Block all connections to port 53
310
pfctl -a ${ANCHOR}/${SA_BLOCK_DNS} -f - <<_EOF
311
block return out quick proto udp from any to port = 53
0 commit comments