# File lib/dnsruby/message/message.rb, line 400
    def rcode
      rcode = @header.get_header_rcode
      opt = get_opt
      if opt
        rcode = rcode.code + (opt.xrcode.code << 4)
        rcode = RCode.new(rcode)
      end
      rcode
    end