edgemesh icon indicating copy to clipboard operation
edgemesh copied to clipboard

coredns解析外部域名使用TCP和UDP协议转发至上游dns服务器

Open cheng-hunter opened this issue 3 years ago • 1 comments

What would you like to be added/modified: 当前代码 img 修改代码 forward . {{.UpstreamServers}} { prefer_udp } 附coredns部分代码1 img 附coredns部分代码2 img

Why is this needed: dns一般开放udp 53,也有部分时tcp/udp 53, 这样优先使用udp, udp失败时使用tcp,而不是强制使用tcp

cheng-hunter avatar Sep 20 '22 04:09 cheng-hunter

这样的修改是合理的,你看能不能将你的修改提交成PR?

Poorunga avatar Sep 20 '22 06:09 Poorunga