# File lib/openshift-origin-dns-bind/lib/openshift/bind_plugin.rb, line 43
    def namespace_available?(namespace)
      fqdn = "#{namespace}.#{@domain_suffix}"

      # If we get a response, then the namespace is reserved
      # An exception means that it is available
      begin
        dns.query(fqdn, Dnsruby::Types::TXT)
        return false
      rescue Dnsruby::NXDomain
        return true
      end
    end