Let's be realistic here, there are only two ways to stay safe from the law;
1. No one knows where you are, in which case even if they take down your DNS. You create another and people follow you. But you stay out of jail.
2. There are too many law breakers.
Bitcoin Miners for example use the second approach (pools are irrelevant as they are hot swappable).
If your application is serving 100s of users instead of millions, and there are 100s of alternatives... you are practically unstoppable because the cost of prosecution is not worth it.