Update example.dae

This commit is contained in:
mzz 2023-03-22 21:54:50 +08:00 committed by GitHub
parent 9e02983dd1
commit 61a27e3a4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -128,11 +128,11 @@ routing {
# If you bind to WAN and set upstream (in section "dns") to a DNS service in localhost (dnsmasq, adguard, etc.),
# to avoid loops, let them "must_direct", which makes DNS requests not redirect back to dae again.
# "pname" means process name.
#pname(dnsmasq) && l4proto(udp) && dport(53) -> must_direct
pname(dnsmasq, systemd-resolved) && l4proto(udp) && dport(53) -> must_direct
# Network managers in localhost should be direct to avoid false negative network connectivity check when binding to
# WAN.
pname(NetworkManager, systemd-resolved) -> direct
pname(NetworkManager) -> direct
# Put it in the front to prevent broadcast, multicast and other packets that should be sent to the LAN from being
# forwarded by the proxy.