All database logic should be inside RubyDNS since BeEF's DNS class is mostly just a wrapper around it.