Linux ETC

1. 설치

 

# cd /usr/local/src

# wget http://ftp.isc.org/isc/bind9/9.3.6/bind-9.3.6.tar.gz

# tar xvzf bind-9.3.6.tar.gz

# cd bind-9.3.6/contrib/queryperf

# ./configure

# make

 

2. 사용 방법

- 우선 테스트 할 도메인 리스트를 만든다.

# cd utils

# chmod 755 gen--data-queryperf.py

# ./gen-data-queryperf.py -n 1000 -p 100 -t com > domains.txt

-n : 도메인 갯수

-p : 도메인 중복률 (100은 100% 다른 도메인을 만들어낸다.)

-t : 도메인 종류 (.com만 만든다.)

 

# cd..

# ./queryperf -d utils/domains.txt -s ns5.hostway.co.kr -q 1000  (예제)

-d : 질의한 도메인 리스트

-s : 네임서버 (IP로도 질의 가능)

-q : 1초당 쿼리 갯수