Package org.xbill.DNS

Class MDRecord

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

public class MDRecord extends SingleNameBase
Mail Destination Record - specifies a mail agent which delivers mail for a domain (obsolete)
See Also:
  • Constructor Details

    • MDRecord

      MDRecord()
    • MDRecord

      public MDRecord(Name name, int dclass, long ttl, Name mailAgent)
      Creates a new MD Record with the given data
      Parameters:
      mailAgent - The mail agent that delivers mail for the domain.
  • Method Details

    • getMailAgent

      public Name getMailAgent()
      Gets the mail agent for the domain
    • getAdditionalName

      public Name getAdditionalName()
      Description copied from class: Record
      Returns the name for which additional data processing should be done for this record. This can be used both for building responses and parsing responses.
      Overrides:
      getAdditionalName in class Record
      Returns:
      The name to used for additional data processing, or null if this record type does not require additional data processing.