The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Awstats in cPanel ??

Discussion in 'General Discussion' started by map007, Sep 18, 2009.

  1. map007

    map007 Active Member

    Joined:
    Jun 5, 2008
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    Hi,

    I have WHM/cPanel based server...and Some IP Address show abts-north-dynamic-202.20.161.122.airtelbroadband.in. I need these types of ip to be shown as 122.161.20.202 in awstats, So please guide me how can i do this.

    Thank you.
     
  2. MattCurry

    MattCurry Well-Known Member

    Joined:
    Aug 18, 2009
    Messages:
    275
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Houston, Tx
    Awstats Lookup

    Hello,

    I do see what you are trying to do, and it can be done via a change to the following file.

    Edit this file:
    /usr/local/cpanel/etc/awstats.conf

    You will see:
    # AWStats to make reverse DNS lookup (if not already done in your log file).
    # If you set DNSLookup to 1, don't forget that reverse DNS lookup decrease
    # seriously AWStats time processing.
    # If you keep DNSLookup to 0, all hosts will be reported by the IP addresses
    # and not by the full hostname of visitors. Domain/Country chart will also
    # report all visitors from a domain/country "Unknown".
    # Possible values: 0 or 1
    # Default: 0
    #
    DNSLookup=%DNSLOOKUP%


    Setting DNSLookup to 0 should resolve your issue. Please let me know if this does not answer your question.

    Thank you,
    Matthew Curry
     
Loading...

Share This Page