Class CNAME


  • public class CNAME
    extends RRWithTarget
    CNAME payload (pointer to another domain / address).
    • Constructor Detail

      • CNAME

        public CNAME​(java.lang.String target)
      • CNAME

        public CNAME​(DnsName target)
    • Method Detail

      • parse

        public static CNAME parse​(java.io.DataInputStream dis,
                                  byte[] data)
                           throws java.io.IOException
        Throws:
        java.io.IOException
      • getType

        public Record.TYPE getType()
        Description copied from class: Data
        The payload type.
        Specified by:
        getType in class Data
        Returns:
        The payload type.