# File lib/Dnsruby/update.rb, line 98
    def initialize(zone=nil, klass=nil)
      
      # sort out the zone section (RFC2136, section 2.3)

      if (zone==nil)
        config = Config.new
        zone = (config.search)[0]
        return unless zone
      end
      
      type  = 'SOA'
      klass  ||= 'IN'
      
      super(zone, type, klass) || return
      
      @header.opcode=('UPDATE')
      @header.rd=(0)
    end