Package org.xbill.DNS

Class PTRRecord

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

public class PTRRecord extends SingleCompressedNameBase
Pointer Record - maps a domain name representing an Internet Address to a hostname.
See Also:
  • Constructor Details

    • PTRRecord

      PTRRecord()
    • PTRRecord

      public PTRRecord(Name name, int dclass, long ttl, Name target)
      Creates a new PTR Record with the given data
      Parameters:
      target - The name of the machine with this address
  • Method Details

    • getTarget

      public Name getTarget()
      Gets the target of the PTR Record