AI-based detection of DNS misuse for network security