# File lib/openshift-origin-dns-bind/lib/openshift/bind_plugin.rb, line 79
    def register_application(app_name, namespace, public_hostname)
      # create an A record for the application in the domain
      fqdn = "#{app_name}-#{namespace}.#{@domain_suffix}"
      # enable updates with key
      dns.tsig = @keyname, @keyvalue

      update = Dnsruby::Update.new(@zone)
      update.add(fqdn, 'CNAME', 60, public_hostname)
      dns.send_message(update)
    end