The use of domain fluxing for malicious purposes, such as in cyberattacks, is illegal. However, the concept itself is a technique that can be studied for developing better cybersecurity measures.