BIND(Berkeley Internet Name Domain)作为一款目前市面是最主流的开源DNS软件,占据了市面上DNS服务器软件的九成,目前由 互联网系统协会 ( Internet Systems Consortium ) 负责开发和维护。目前,最新的稳定版BIND已经更新到了 BIND 9 版本。
DNS ZONE
DNS Zone,DNS区域是构成DNS命名空间的一部分,可以对权威性域名服务器等DNS组件更加精细的控制。 域名空间是一个分层树,其中DNS的根域位于顶部,DNS区域始于该树中的一个域,并且可以扩展到下边的子域。
DNS Query Performance Testing Tool Version: $Id: queryperf.c, v 1. 12 2007/09/05 07:36:04 marka Exp $
Usage: queryperf [-d datafile] [-s server_addr] [-p port] [-q num_queries] [-b bufsize] [-t timeout] [-n] [-l limit] [-f family] [-1] [-i interval] [-r arraysize] [-u unit] [-H histfile] [-T qps] [-e] [-D] [-R] [-c] [-v] [-h] -d specifies the input data file ( default: stdin ) -s sets the server to query ( default: 127. 0. 0. 1 ) -p sets the port on which to query the server ( default: 53 ) -q specifies the maximum number of queries outstanding ( default: 20 ) -t specifies the timeout for query completion in seconds ( default: 5 ) -n causes configuration changes to be ignored -l specifies how a limit for how long to run tests in seconds ( no default ) -1 run through input only once ( default: multiple iff limit given ) -b set input/output buffer size in kilobytes ( default: 32 k ) -i specifies interval of intermediate outputs in seconds ( default: 0=none ) -f specify address family of DNS transport, inet or inet6 ( default: any ) -r set RTT statistics array size ( default: 50000 ) -u set RTT statistics time unit in usec ( default: 100 ) -H specifies RTT histogram data file ( default: none ) -T specify the target qps ( default: 0=unspecified ) -e enable EDNS 0 -D set the DNSSEC OK bit ( implies EDNS ) -R disable recursion -c print the number of packets with each rcode -v verbose: report the RCODE of each response on stdout -h print this usage # 创建测试文件,生成5000个域名解析请求 [root@infra ~]# cat touchdnstest.sh #!/bin/sh var=1 while [ $var -le 5000 ] do cat>>test<<EOF git.contoso.com A EOF