bind 如何支持 tcp

2015-08-15 11:15:46 +08:00
 m1911
bind如何支持tcp 要咋修改源码
3708 次点击
所在节点    DNS
5 条回复
nightv2
2015-08-15 11:26:49 +08:00
socket bind不就是支持么
m1911
2015-08-15 13:03:20 +08:00
@nightv2 socket bind 这个是啥 没玩过
vvvoid
2015-08-15 18:22:43 +08:00
bind 支持TCP?
问题内容有点少不知道真正要问的是什么……
m1911
2015-08-15 19:50:07 +08:00
@vvvoid 就是强制bind 用tcp去上游查询
nadoo
2015-08-15 23:25:49 +08:00
http://www.zytrax.com/books/dns/ch7/hkpng.html#tcp-clients

tcp-clients
tcp-clients number ;
tcp-clients 20;

By default DNS uses UDP port 53 for queries but is defined to allow both TCP and UDP. The tcp-clients allows the user to define the maximum number of TCP connections to be supported. The BIND 9 default is 100. This statement may only be used in a global options clause.

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/213370

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX