m1911
V2EX  ›  DNS

bind 如何支持 tcp

  •  
  •   m1911 · Aug 15, 2015 · 5034 views
    This topic created in 4105 days ago, the information mentioned may be changed or developed.
    bind如何支持tcp 要咋修改源码
    5 replies  •  2015-08-15 23:25:49 +08:00
    nightv2
    nightv2
    Aug 15, 2015
    1
    socket bind不就是支持么
    m1911
    m1911
    OP
    Aug 15, 2015
    2
    @nightv2 socket bind 这个是啥 没玩过
    vvvoid
    vvvoid
    Aug 15, 2015
    3
    bind 支持TCP?
    问题内容有点少不知道真正要问的是什么……
    m1911
    m1911
    OP
    Aug 15, 2015
    4
    @vvvoid 就是强制bind 用tcp去上游查询
    nadoo
    nadoo
    Aug 15, 2015
    5
    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.
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4166 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 08:43 · PVG 16:43 · LAX 00:43 · JFK 03:43
    ♥ Do have faith in what you're doing.