I am also interested in excluding visits by hostname. I opened an own thread on November 21, 2012 before finding the thread here.
Now i did a more thorough search on the topic, and found a few more links.
So here i summarize what i found, to help bring this forward:
July 30, 2010
Piwik Feature Suggestions > Topic
Ignore dyn IP / DynDNS
First request for the idea.
Answers:
“use cookies” >> this is not an option, it is for excluding single clients only, and not the topic here.
“could be done, it might be a performance problem” >> not sure what the performance problem would be, read more at the end of this post.
“a dyn IP server could be integrated into piwik” >> interesting. but: Maybe a lot of work, and on many routers, you can’t set custom dyndns servers.
August 24, 2011
Piwik Feature Suggestions > Topic
IP exclusion : detection via DynDNS
Answers:
Same ones as above. I don’t understand all of vipsoft’s answers about reverse lookup, but i am no expert here anyways…
September 06, 2011
trac ticket #2645 new New feature
Exclude visits by hostname
seems user vipsoft opened this after posting in the thread started on aug. 24.
He outlined the steps to be taken.
December 22, 2011
Piwik Feature Suggestions > Topic
Make Global list of Excluded IPs accept domains ?
This is the thread where we are in now. I added this post here, because the title asks for what i think would be best…
February 08, 2012
How to and tutorials > Topic from
Dirty: Script to ignore Dynamic IP Adresses
this is a (dirty) solution to the problem. A shell-script you can run by cron, that will update the IP’s to exclude directly in the piwik-Database.
Something like this i imagine would be a nice quick solution. Just, a php-script that runs with piwik’s cron-system (not sure if it exists) would be easyer for many users.
November 21, 2012
Piwik Feature Suggestions > Topic
get IP for own traffic exclusion through dynamic DNS
my thoughts about the topic (sorry for posting before doing a good search), with a link to the same topic in the google analytics forum.
December 4, 2012
trac ticket #3589 new New feature
Admin: Global list of Excluded Host names
A user named kip expressed his wish for host-name exclusion via trac.
Seems the demand for such a feature is still alive…
So, there are some outlines towards an implementation, and even a dirty solution using a shell script.
Possible performance problems are mentioned several times. I am not sure, but i guess they only refer to direct use of ip lookup, without caching.
Or are there other problems?
can someone with piwik-development experience tell how much work this could be? or point to where to start? (is there a cron-system in piwik?) could someone be payed to do it?
who wants to donate? (i do).
How should it be done?
(allow hostnames in the excluded-IP list or have an excluded-hosts list?)
(exclude the hosts from tracking, or just from regular reporting?
(This also could be asked for excluded-IP’s, so it’s a bit off topic. The ability to do reports about your own usage can be helpful too. In context with Google Analytics i once read somewhere the advice to not exclude, but give a special segment to them, so you can exclude these users in the analysis, or you can include them, depending on your needs.))
I also linked the other topics here, to pull it all together.