luadjbdns is a Lua interface to the djbdns and skadns DNS client libraries. See http://pobox.com/~taj.khattra/luadjbdns.html if you're interested.