A port of dnsjava to Groovy