Simple DNS

Man-wai Chang mwchang at hkbn.net
Thu Feb 21 01:36:04 PST 2013


>     I have bind 9 running now, but it does not fail over. Instead it acts as the DNS server for the LAN, serving up responses for any DNS query made to it by my LAN systems. I do not like the huge traffic is has over my meager connection. I also do not like the fact that it opens a lot of connections at one time through my LAN router (up to 200 at some times).

I googled "bind 9 limit number of connection", which found this link:

http://www.zytrax.com/books/dns/ch7/hkpng.html

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.



-- 
   @~@   Remain silent. Nothing from soldiers and magicians is real!
  / v \  Simplicity is Beauty! May the Force and farces be with you!
/( _ )\ (Fedora 18 i686)  Linux 3.7.8-202.fc18.i686
   ^ ^   17:30:01 up 59 min 0 users load average: 0.00 0.01 0.05
不借貸! 不詐騙! 不援交! 不打交! 不打劫! 不自殺! 請考慮綜援 (CSSA):
http://www.swd.gov.hk/tc/index/site_pubsvc/page_socsecu/sub_addressesa


More information about the Linux-users mailing list