mirror of
https://github.com/safing/portmaster
synced 2025-09-02 02:29:12 +00:00
Set dns redirects to Internal for better UX
This commit is contained in:
parent
6e9c22d0b5
commit
c3ca0c4c84
1 changed files with 1 additions and 0 deletions
|
@ -214,6 +214,7 @@ func initialHandler(conn *network.Connection, pkt packet.Packet) {
|
|||
// reroute dns requests to nameserver
|
||||
if conn.Process().Pid != os.Getpid() && pkt.IsOutbound() && pkt.Info().DstPort == 53 && !pkt.Info().Src.Equal(pkt.Info().Dst) {
|
||||
conn.Verdict = network.VerdictRerouteToNameserver
|
||||
conn.Internal = true
|
||||
conn.StopFirewallHandler()
|
||||
issueVerdict(conn, pkt, 0, true)
|
||||
return
|
||||
|
|
Loading…
Add table
Reference in a new issue