Files
coredns/core/dnsserver/udp_other.go
houyuwushang 0fe7b08fbb core/dnsserver: preserve UDP packet destination addresses (#8644)
* core/dnsserver: preserve UDP packet destination addresses

Signed-off-by: houyuwushang <180804215+houyuwushang@users.noreply.github.com>

* test: modernize reverse UDP reply traversal

Signed-off-by: houyuwushang <180804215+houyuwushang@users.noreply.github.com>

* test: account for Unix IPv4 source-control capabilities

Signed-off-by: houyuwushang <180804215+houyuwushang@users.noreply.github.com>

---------

Signed-off-by: houyuwushang <180804215+houyuwushang@users.noreply.github.com>
2026-10-20 20:34:18 -07:00

12 lines
378 B
Go

//go:build !aix && !darwin && !dragonfly && !freebsd && !linux && !netbsd && !openbsd && !solaris && !windows
package dnsserver
import "net"
const udpOOBSize = 0
func enableUDPPacketInfo(*net.UDPConn) bool { return false }
func parseUDPPacketInfo([]byte, int) udpPacketInfo { return udpPacketInfo{} }
func udpSourceControl(udpPacketInfo) []byte { return nil }