Thanks for the module. I had a task to receive DKIM customer records. As a result, I found a bug for word in domainName:gmatch("[%w%-]+") do This line does not include the "_" character. FIX for word in domainName:gmatch("[%w%-_]+") do