Package org.xbill.DNS

Class DNAMERecord

All Implemented Interfaces:
Serializable, Cloneable, Comparable<Record>

public class DNAMERecord extends SingleNameBase
DNAME Record - maps a nonterminal alias (subtree) to a different domain
See Also:
  • Constructor Details

    • DNAMERecord

      DNAMERecord()
    • DNAMERecord

      public DNAMERecord(Name name, int dclass, long ttl, Name alias)
      Creates a new DNAMERecord with the given data
      Parameters:
      alias - The name to which the DNAME alias points
  • Method Details

    • getTarget

      public Name getTarget()
      Gets the target of the DNAME Record
    • getAlias

      @Deprecated public Name getAlias()
      Deprecated.
      Gets the name of this record, aka the alias or label to the delegation name specified in getTarget().