chore(pmtud/tcp): add :53 TCP servers to the default list

This commit is contained in:
Quentin McGaw
2026-02-19 16:46:48 +00:00
parent 67b66bba9e
commit 56b9e108be
3 changed files with 5 additions and 3 deletions
+3 -1
View File
@@ -64,8 +64,10 @@ func (p *PMTUD) setDefaults() {
}
p.ICMPAddresses = gosettings.DefaultSlice(p.ICMPAddresses, defaultICMPAddresses)
const tlsPort = 443
const dnsPort, tlsPort = 53, 443
defaultTCPAddresses := []netip.AddrPort{
netip.AddrPortFrom(netip.AddrFrom4([4]byte{1, 1, 1, 1}), dnsPort),
netip.AddrPortFrom(netip.AddrFrom4([4]byte{8, 8, 8, 8}), dnsPort),
netip.AddrPortFrom(netip.AddrFrom4([4]byte{1, 1, 1, 1}), tlsPort),
netip.AddrPortFrom(netip.AddrFrom4([4]byte{8, 8, 8, 8}), tlsPort),
}