Currently IP addresses are not supported as they don't have a domain. This PR changes that.
The filename is generated from the domain and then reversed (edjopato.de will have the filename de-edjopato) to sort by tld first. This is useless for IP addresses so the behaviour had to be different.
Also the notification template allows for singledomain and domains which is still supported but deprecated. Maybe #172 will drop notifications entirely and uses stdout so that change would be breaking too. Group them together and don't break it now.
Currently IP addresses are not supported as they don't have a domain. This PR changes that.
The filename is generated from the domain and then reversed (
edjopato.de
will have the filenamede-edjopato
) to sort by tld first. This is useless for IP addresses so the behaviour had to be different.Also the notification template allows for
singledomain
anddomains
which is still supported but deprecated. Maybe #172 will drop notifications entirely and uses stdout so that change would be breaking too. Group them together and don't break it now.