Package org.xbill.DNS

Class NXTRecord

java.lang.Object
org.xbill.DNS.Record
org.xbill.DNS.NXTRecord
All Implemented Interfaces:
Serializable, Cloneable, Comparable<Record>

public class NXTRecord extends Record
Next name - this record contains the following name in an ordered list of names in the zone, and a set of types for which records exist for this name. The presence of this record in a response signifies a failed query for data in a DNSSEC-signed zone.
Author:
Brian Wellington
See Also:
  • Constructor Details

    • NXTRecord

      public NXTRecord(Name name, int dclass, long ttl, Name next, BitSet bitmap)
      Creates an NXT Record from the given data
      Parameters:
      next - The following name in an ordered list of the zone
      bitmap - The set of type for which records exist at this name
  • Method Details

    • rrFromWire

      protected void rrFromWire(DNSInput in) throws IOException
      Description copied from class: Record
      Converts the type-specific RR to wire format - must be overridden
      Specified by:
      rrFromWire in class Record
      Throws:
      IOException
    • rdataFromString

      protected void rdataFromString(Tokenizer st, Name origin) throws IOException
      Description copied from class: Record
      Converts the text format of an RR to the internal format - must be overriden
      Specified by:
      rdataFromString in class Record
      Throws:
      IOException
    • rrToString

      protected String rrToString()
      Converts rdata to a String
      Specified by:
      rrToString in class Record
    • getNext

      public Name getNext()
      Returns the next name
    • getBitmap

      public BitSet getBitmap()
      Returns the set of types defined for this name
    • rrToWire

      protected void rrToWire(DNSOutput out, Compression c, boolean canonical)
      Description copied from class: Record
      Converts the type-specific RR to wire format - must be overridden.
      Specified by:
      rrToWire in class Record