Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Apr 2007
    Posts
    5

    Default RESOLVED: Domain access logs stopped resolving IP addresses

    Ages ago when I got my server, I set up the domain access logs in /home/domlogs to resolve IP addresses to domain names so that I could tell, sort of, who was accessing each website. This would be like this:

    This:
    111.222.333.444 - - [31/May/2010:08:11:32 -0400]

    gets resolved to this:
    cpe-111-222-333-444.carolina.res.rr.com - - [31/May/2010:08:11:32 -0400]

    But recently, some but not all of the domain logs are no longer getting resolved to domain names.

    Unfortunately, I'm not sure how or where I originally set this up (nor why some, but not all, of the domain logs are no longer resolving), and staring for hours at the WHM Tweak Settings and other settings has not enlightened me.

    Can anyone share a tip here?
    Last edited by DianeV; 06-02-2010 at 09:43 AM.

  2. #2
    Member
    Join Date
    Apr 2007
    Posts
    5

    Default

    If anyone cares, I finally remembered how I got the IP addresses to resolve. Originally, I was hand-editing the httpd.conf but cPanel doesn't make that too easy or too viable a practice, so I gave that up. But my hosting provider distilled my old httpd.conf into the new one some time back. That worked, but got wiped out by a recent cPanel update. So he just did it again, and all is solved. The line is below; just change HostnameLooksup to On.

    LINE 59 of httpd.conf:
    ---
    # HostnameLookups: Log the names of clients or just their IP addresses
    # e.g., Welcome! - The Apache Software Foundation (on) or 204.62.129.132 (off).
    # The default is off because it'd be overall better for the net if people
    # had to knowingly turn this feature on, since enabling it means that
    # each client request will result in AT LEAST one lookup request to the
    # nameserver.
    #
    HostnameLookups Off

Similar Threads & Tags
Similar threads

  1. Is there a way to have domain access logs (domlogs) archived every month?
    By johnburk in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-08-2010, 08:25 PM
  2. IP Stopped Resolving
    By GoWilkes in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-01-2007, 01:26 AM
  3. IP addresses are not resolving
    By royli57 in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 03-09-2005, 05:57 PM
  4. Delete each domain's access logs after stats run
    By purplepaws in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-18-2003, 10:41 AM
  5. Customer has access to all domain logs ??
    By tmellon in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 01-24-2003, 09:27 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube