There are many ways to trace out the place from where the spam is coming, in few cases a spammer may not have any intention to hide his information from a webmaster because he very well know that the activities he is performing are intentional. In other type spammers will take lot efforts to hide their identities and contact information as they are aware of the disadvantages of spamming in better manner than the first ones.
Email address is the basic thing to be found very first in the process of detection of a spammer. Another solution is to find out the server location or web hosting provider from where the emails and spammy activities are starting, if one succeed to track out these thing then it becomes easy to stop the spammer easily.
Using Whois Database it is possible to find web hosting server on which the domain is hosted. If the domain has different extensions like .biz, .org, .net or the very common one .com then ‘Internic.net’ is also a very good tool to check these type of domains. In case of .ca domain extensions contacting CIRA Whois Database is the recommended. In case of regional country-wise domain extensions checking with top level registries for further details is beneficial. In final once you succeed to track the the information about the web hosting services provider of the spammer then having a talk on administrative level and requesting to stop the services of these spammers becomes easy.
We all have heard about DNS(Domain name System).Let see what is DDNS
DDNS : Dynamic Domain Name System.
It is the service that maps the Internet domain names to Ip address. It serves exactly the same purpose as the DNS with some addition. It allows anyone hosting a web or FTP server to advertise a public name to prospective user. A popular application of DDNS is to provide a residential user’s Internet gateway that has a variable, often changing, IP address with a well known hostname resolvable by network applications through standard DNS queries.
DNS only works with static IP address, however DDNS is designed to work with Dynamic IP address, such as the IP address assigned by the DHCP server. This makes DDNS a good service which is good for the home networks, which often reciev dynamic public IP address from the ISP(Internet service provider) that occasionaly change.

Using DDNS is very simple. A user can sign up with the DDNS provider and install network software on HOST to monitor the IP address. Dynamic DNS providers provide a client program software that automates the discovery and registration of client’s public IP addresses. This client program is executed on a device on the network(private).It connects to the service provider’s systems and causes those systems to link the discovered public IP address of the home network with a hostname in the DNS(Domain Name System). Now, depending upon the provider the hostname is registered within the domain by the provider or to the customers domain.
For example, dyndns.com provides a free dynamic DDNS service via software that can run on Windows, Mac or Linux computers.
DDNS has a disadvantage that it needs an additional host software.