V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
m1911
V2EX  ›  DNS

bind 如何支持 tcp

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