Package org.xbill.DNS

Class MBRecord

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

public class MBRecord extends SingleNameBase
Mailbox Record - specifies a host containing a mailbox.
See Also:
  • Constructor Details

    • MBRecord

      MBRecord()
    • MBRecord

      public MBRecord(Name name, int dclass, long ttl, Name mailbox)
      Creates a new MB Record with the given data
      Parameters:
      mailbox - The host containing the mailbox for the domain.
  • Method Details

    • getMailbox

      public Name getMailbox()
      Gets the mailbox 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.