ltd-beget/dns-zone-tokenizer (packagist): tokenize dns zone files and that's all, folks.
Keywords: dns|dns zone|dns parser