Apache HTTP Server Version 2.2
This document refers to a legacy release (2.2) of Apache httpd. The active release (2.4) is documented here. If you have not already upgraded, please follow this link for more information.
You may follow this link to go to the current version of this document.
logresolve
는 아파치 접근로그파일에 있는
IP-주소를 찾는 후처리 프로그램이다. 네임서버의 부하를
최소화하기위해 logresolve는 내부적으로 해쉬테이블 캐쉬를
사용한다. 즉, IP 주소가 로그파일에 처음 나올때만 찾는다.
표준입력으로 아파치 로그파일을 읽는다. 각 줄의 첫번째 항목이 IP 주소이고, 나머지 부분과 공백으로 구분되야 한다.
logresolve [ -s
filename ] [ -c ] <
access_log > access_log.new
-s filename
-c
logresolve
가 몇가지 DNS 검사를 하도록 한다:
IP 주소로 호스트명을 찾은후 그 호스트명으로 다시 IP 주소들을
찾아서 그중 하나가 원래 주소와 일치하는지 검사한다.