• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

Disable reverse dns lookup

did you edit the conf for the domain and the model one?
 
Code:
#!/bin/bash
## 
#  This just changes DNSLookup=2 to DNSLookup=0 in the stats files
## 
pushd /usr/local/psa/etc/awstats >/dev/null
echo Statistics fix initiated
for eaFile in `ls .`
do
	sed -i -e "s;DNSLookup=2;DNSLookup=0;" /usr/local/psa/etc/awstats/$eaFile
done
echo Completed statistics fix.
popd >/dev/null
 
Back
Top