Package org.xbill.DNS

Class SPFRecord

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

public class SPFRecord extends TXTBase
Sender Policy Framework (discontinued in RFC 7208)
See Also:
  • Constructor Details

    • SPFRecord

      SPFRecord()
    • SPFRecord

      public SPFRecord(Name name, int dclass, long ttl, List<String> strings)
      Creates a SPF Record from the given data
      Parameters:
      strings - The text strings
      Throws:
      IllegalArgumentException - One of the strings has invalid escapes
    • SPFRecord

      public SPFRecord(Name name, int dclass, long ttl, String string)
      Creates a SPF Record from the given data
      Parameters:
      string - One text string
      Throws:
      IllegalArgumentException - The string has invalid escapes