# File lib/domain_name.rb, line 150
  def ==(other)
    other = DomainName.new(other) unless DomainName === other
    other.hostname == @hostname
  end