<-
Apache > HTTP Server > Documentation > Version 2.2 > Programs

Please note

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-주소를 호스트명으로 변환한다

가능한 언어:  en  |  ko  |  tr 

logresolve는 아파치 접근로그파일에 있는 IP-주소를 찾는 후처리 프로그램이다. 네임서버의 부하를 최소화하기위해 logresolve는 내부적으로 해쉬테이블 캐쉬를 사용한다. 즉, IP 주소가 로그파일에 처음 나올때만 찾는다.

표준입력으로 아파치 로그파일을 읽는다. 각 줄의 첫번째 항목이 IP 주소이고, 나머지 부분과 공백으로 구분되야 한다.

top

개요

logresolve [ -s filename ] [ -c ] < access_log > access_log.new

top

옵션

-s filename
통계를 기록할 파일명을 지정한다.
-c
logresolve가 몇가지 DNS 검사를 하도록 한다: IP 주소로 호스트명을 찾은후 그 호스트명으로 다시 IP 주소들을 찾아서 그중 하나가 원래 주소와 일치하는지 검사한다.

가능한 언어:  en  |  ko  |  tr 

top

Comments

Notice:
This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our mailing lists.
Comments are disabled for this page at the moment.