# File lib/Dnsruby/dnssec.rb, line 144
    def self.load_itar
      # @TODO@ THIS IS VERY INSECURE!! WRITE THIS PROPERLY!!
      # Should really check the signatures here to make sure the keys are good!
      Net::FTP::open("ftp.iana.org") { |ftp|
        ftp.login("anonymous")
        ftp.passive = true
        ftp.chdir("/itar")
        lastname=nil
        ftp.gettextfile("anchors.mf") {|line|
          next if (line.strip.length == 0)
          first = line[0]
          if (first.class == String)
            first = first.getbyte(0) # Ruby 1.9
          end
          #            print "Reading ITAR : #{line}, first : #{first}\n"
          next if (first==59) # ";")
          if (line.strip=~(/^DS /) || line.strip=~(/^DNSKEY /))
            line = lastname.to_s + ((lastname.absolute?)?".":"") + " " + line
          end
          ds = RR.create(line)
          if ((ds.type == Types::DS) || (ds.type == Types::DNSKEY))
            #            assert(ds.name.absolute?)
            Dnssec.add_trust_anchor(ds)
          end
          lastname = ds.name
        }
      }
    end